Open petrella56 opened 3 years ago
I took a look at the pca9865 python library https://learn.adafruit.com/16-channel-pwm-servo-driver?view=all#python-circuitpython and https://circuitpython.readthedocs.io/projects/servokit/en/latest/
It is possible to add the pca9865 servo control to the code. I did modify to use GPIOZero and you can see separate implementations for openelectrons and gpiozero servo libraries. Could also add pimoroni and waveshare pantilt per https://github.com/pageauc/waveshare.pantilthat .
pac9865 python library must use python3 and you will need opencv3 as well. The face tracking demo has not been touched for quite a while and like anything the code is a snapshot in my programming skill timeline.
This code looks like it would need a good overhaul and I will think about visiting it in the future. I do not have a pca9865 board as well. Depending on your skill level you should be able to add pca9685 support. Claude ...
Hey thanks for the quick reply! Honestly I'm pretty new with python I mean I have a basic understanding but this is a tough one for me is there any way u can help me out? Or reference me to someone that has done this ? Thanks for taking the time to read this :)
The main program logic would remain the same. Just the code to load the required python libraries and move the servos would need to be modified. This code was written a while back and could be written better to allow swapping out the servo implementation in a more generic way. I do not have the adafruit 16 channel servo controller https://www.amazon.ca/dp/B00EIB0U7A/?coliid=I2W380IA7V2H67&colid=1HPBO3AH0W9I9&psc=1&ref_=lv_ov_lig_dp_it but I can order one. It would be sometime in the new year before I could get one.. I have a bunch of servos that I bought in bulk and I have an old metal pantilt assembly that I can use.
Will see what I can do but it would be next year.
On Fri, Dec 18, 2020 at 2:18 PM petrella56 notifications@github.com wrote:
Hey thanks for the quick reply! Honestly I'm pretty new with python I mean I have a basic understanding but this is a tough one for me is there any way u can help me out? Or reference me to someone that has done this ? Thanks for taking the time to read this :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pageauc/face-track-demo/issues/3#issuecomment-748273984, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZBRIIKSP3FTAWJDZGDSVOTHZANCNFSM4VA5PDNA .
-- See my YouTube Channel at http://www.youtube.com/user/pageaucp
Thank you pageauc for the quick reply i really appreciate it and just wanna say your awesome, also I'm gonna try making it work in the mean time but definitely interested in seeing the project 😃
FYI. I found this github project that might be of interest to you https://github.com/allmyservos/allmyservos BTW I am still looking at rewriting face tracking demo so it can use dagu, pimoroni, waveshare, gpiozero or PCA9685 pantilt servo control. It will take a while. Regards Claude ...
Hey I've been looking all over to get face tracking servos on pca9865 16 servo driver but can't seem to find any projects that work is there any way that I can modify this one or can anyone help me??