Vanity: The Automatic Selfie Stick

About the project

I was asked to put together a vanity project that expresses how much people can be engulfed by social media and the automatic. This selfie stick targets faces and tracks them to periodically take snapshots. Portable power and RealVNC for a totally wireless set up.

Project info

Difficulty: Moderate

Platforms: AdafruitRaspberry Pi

Estimated time: 2 days

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Hitachi standard servo Hitachi standard servo x 1
Tower pro 9g servos Tower pro 9g servos x 5
2327 Channel PWM / Servo HAT for Raspberry Pi - Mini Kit 2327 Channel PWM / Servo HAT for Raspberry Pi - Mini Kit x 1
Raspberry Pi 1 Model B+ Starter Pack - Includes a Raspberry Pi 1 Raspberry Pi 1 Model B+ Starter Pack - Includes a Raspberry Pi 1 x 1
Webcam/spycam Webcam/spycam x 1

Software apps and online services

Raspian Jessie(pixel) Raspian Jessie(pixel)
Realvnc Realvnc

Hand tools and fabrication machines

M2.5 screws M2.5 screws x 1
M3 screws M3 screws x 1
Philips screwdriver Philips screwdriver x 1
Robo3D r1+ 3d printer Robo3D r1+ 3d printer x 1

Story

At this point, I was pretty confident  in what I could do with the Raspberry Pi and AdaFruit 16 Channel Servo Hat and using the myo armband, a modded Adafruit servo code merged with dzhu's famous myo_raw python code which allows you to program the armband to control your Raspberry pi gadgets with a gesture, I figured I'd try for a bionic prosthetic. So with that in mind I 3d printed Hatsyflatsy's servo powered hand on thingiverse to come up with this:


And was later asked to modify it for an artsy, vanity project to showcase humanity's reliance on technology on a social level. I couldn't resist the chance to expand the hands functionality so i slapped a pan/tilt (wrist)mechanism to it and applied  some OpenCV with face recognition and tracking..


To finally come up with what we refer to as "Vanity" the automatic selfie stick ;)


Cheers!

CAD, enclosures and custom parts

Hatsyflatsy Servo Powered Hand

The designer of the physical hand

Go to download

Code

Vanity Selfie Code

Credits

Leave your feedback...