Face Traking Eyes using the RPI3 + NCS1/2(Intel Movidius Neural Compute Stick) based on OpenVINO Toolkit
This project using the NCS with openvino and ServoBlaster to drive
multiple servos via the GPIO pins
to face tracking
Pan-and-tilt bracket - (3D printer)
[GPIO 4 -> PanMotor] [GPIO 17 -> TiltMotor]
The code defaults to driving 8 servos, the control signals of which should be
connected to P1 header pins as follows:
Servo number GPIO number Pin in P1 header Pan-Tilt Motor
0 4 P1-7 Pan-Motor
1 17 P1-11 Tilt-Motor
2 18 P1-12
3 21/27 P1-13
4 22 P1-15
5 23 P1-16
6 24 P1-18
7 25 P1-22
Face detector based on SqueezeNet light (half-channels) as a backbone with a single SSD for indoor/outdoor scenes shot by a front-facing camera.
[setupvars.sh] OpenVINO environment initialized
git clone git@github.com:yehengchen/FaceTracking-RPI3-NCS.git
cd FaceTracking-RPI3-NCS/ServoBlaster/user
sudo ./servod
echo 0=+10 > /dev/servoblaster
echo 1=+10 > /dev/servoblaster
raspistill -o image.jpg
python3 pi_NCS_face_traking.py