Read the statement by Michael Teeuw here.
Upload and view photos on Google Drive/Google Photos taken by camera
-
@tuxx1112 interesting, but you don’t “start the module” just anytime you want… modules only start when MagicMirror starts… and they never stop…
-
@sdetweil I expressed myself a bit faulty. I meant that there are two buttons ‘take picture’ and ‘view picture’ that can be clicked/selected.
-
My personal view - without wishing to dent your enthusiasm - is that a MagicMirror module probably isn’t the way to go.
When you are starting out writing a module/add on for software you always have to ask “what is this software intended for”? With MM it is to display jnformation. You can get some interactivity, but as @tuxx1112 it isn’t really setup that way. Add to that you are combining it with an API to Google, so an added layer of complication beyond just storing the images locally.
You also need to ask what you want the software to do for your business. Do you just want the images, or do you want the promotion as well? If so, do you not want the images to be on Facebook/Twitter/Instagram rather than Google.
Personally, my first choice would be to separate out taking the photo, and the display. 99.9% of your customers will have a smart phone and already take a photo of their new hair cut themselves. So, you could ask them to tweet them to you or similar and scrape the details from there onto MagicMirror, where you could categorise them by Twitter handle.
If you are wedded to the idea of having this as an “all in one” type thing I would use an Android tablet and run MM in server mode. Display the MM on the tablet but set it up so if you press a button it takes the photo, then pops up for a name and you can use the touch screen keyboard to type it in. Android tablets are already plugged into Google and it eliminates the need for a physical keyboard which IMO are never desirable for a MM installation. That way you are separating out the display - MM - and the photo taking/uploading - Android.
I think what you want is possible as a MM module just as it is possible to wash your dishes in your washing machine. It’s just that it’s much better to use two machines that are designed for the purpose than one trying to do two jobs.
Hope that helps.
-
Oh, also, forget facial recognition for the moment. FR works if you have a small number of faces, or a large number of faces and a sodding huge computer to do the maths. If you can make FR with hair salon customers on a rPi… dude, pick up the phone to the FBi/MI5, they have a huge salary for you :winking_face:
-
Hi @TipsyNurse!
Thanks so much for the feedback on this idea. I have had doubts about the interface too.
I did consider the smartphone, but I wanted the Magicmirror to be a replacement for a smartphone in the salon instead of an addition, preferably. Also, this might make it more complicating sometimes because the customer would have to do it himself and the pictures would not be as consistent as they would be using a fixed camera.The tablet is kind of the same ‘problem’. Since the Magicmirror would be used for playing very basic games using a controller like this one, a keyboard isn’t an issue.
I know I might sound stubborn on this one, but would love to try it on the Magicmirror itself at first and was wondering if anyone was interested in helping on this module. Maybe there could be some computer that runs a website doing the difficult Google Photos-tasks, to relieve the Pi from his duty a bit? It would be run in different salons so the cost of this computer will be less than having to buy tablets for each mirror, too.
The Facial Recognition might indeed be too demanding, especially since it isn’t that much of an improvement. This will be moved to the long-term idea section ;)
Anyway, thanks so much for the critical feedback. I didn’t even think about the workload for the Pi.