Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
readme | 2017-03-03 | 939 Bytes | |
xyz_servos_serial_controler.ino | 2017-03-02 | 3.6 kB | |
frontface.xml | 2017-03-02 | 930.1 kB | |
webcam_face_tracking.py | 2017-03-02 | 5.2 kB | |
Totals: 4 Items | 939.9 kB | 0 |
JP Redonnet - Feb 2017 Python program: webcam_face_tracking.py ======================================= Tested on Orange Pi PC Plus and armbian Legacy 3.4.113 Desktop should work on Raspberry Pi (not tested yet) python-opencv is required: sudo apt-get install python-opencv Orange Pi: uart3 -ttyS3 have to be configured (fex file) to check the serial port available, type: dmesg | grep -i uart To use another serial port, edit the line 19 and replace /dev/ttyS3 with the port available /dev/ttyS2 for example. line 19 => ser = serial.Serial("/dev/ttyS3", baudrate=9600) When ready, to run the program, open terminal and type: python webcam_face_tracking.py frontface.xml Arduino like program: xyz_servos_serial_controler.ino ========================================================= Tested on MSP430G2553 (Launchpad - Texas Instrument) Programing environment: Energia (Arduino fork) should work on Arduino Uno (not tested yet)