Closed baqwas closed 2 years ago
This is due to syntax changes between openCV 2 and 3 versions. Code was fixed in the gpiozero version but did not get a chance to change in the pi-pan version before our trip. I have updated the code with version .63 on github. This was tested and works on gpiozero version so it should work without problems on pi-pan version. Let me know if you have problems since I have not actually tested these changes yet.
You can reinstall or just do a wget for new version
wget -O face-track.py https://raw.github.com/pageauc/face-track-demo/master/face-track.py
Hello Claude,
Thanks for the quick reply. Yes, I fixed it for my use by adding the third parameter but being a novice with GitHub I did not feel brave enough to submit a pull request. I have not tried the gpiozero version but that direction is my strategic goal since I have personal issues with the mechanical design of the pan/tilt kit by mindsensors (not a complaint though).
Since I am using a Raspberry Pi Model B, I am tweaking several parts of PiCamera configuration and the mapping of the CV image window and pan/tilt window for my personal tastes. Thanks for the great work on your part.
Regards.
From: Claude Pageau [mailto:notifications@github.com] Sent: Monday, February 27, 2017 07:09 To: pageauc/face-track-demo face-track-demo@noreply.github.com Cc: Matha Goram baqwas@gmail.com; Author author@noreply.github.com Subject: Re: [pageauc/face-track-demo] Teething Issue (#1)
This is due to syntax changes between openCV 2 and 3 versions. Code was fixed in the gpiozero version but did not get a chance to change in the pi-pan version before our trip. I have updated the code with version .63 on github. This was tested and works on gpiozero version so I should work without problems on pi-pan version. Let me know if you have problems since I have not actually tested these changes yet. You can reinstall or just do a wget for new version
wget -O face-track.py https://raw.github.com/pageauc/face-track-demo/master/face-track.py
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/face-track-demo/issues/1#issuecomment-282715279 , or mute the thread https://github.com/notifications/unsubscribe-auth/AGvmF_29od7DSB1E0Ygb2zMQZGzJ6wStks5rgsrzgaJpZM4MLgYI . https://github.com/notifications/beacon/AGvmFzb518ej53hEKF1pcf1_zSkPKja9ks5rgsrzgaJpZM4MLgYI.gif
I have a few issues with the pi-pan design the gpiozero only controls the pan/tilt directly via RPI gpio pins and not through a controller board. It does not remove issues with the openelectrons pan/tilt camera hardware. I still believe a hardware servo controller is better than pwm via gpio pins.
On Mon, Feb 27, 2017 at 10:18 AM, Matha Goram notifications@github.com wrote:
Hello Claude,
Thanks for the quick reply. Yes, I fixed it for my use by adding the third parameter but being a novice with GitHub I did not feel brave enough to submit a pull request. I have not tried the gpiozero version but that direction is my strategic goal since I have personal issues with the mechanical design of the pan/tilt kit by mindsensors (not a complaint though).
Since I am using a Raspberry Pi Model B, I am tweaking several parts of PiCamera configuration and the mapping of the CV image window and pan/tilt window for my personal tastes. Thanks for the great work on your part.
Regards.
From: Claude Pageau [mailto:notifications@github.com] Sent: Monday, February 27, 2017 07:09 To: pageauc/face-track-demo face-track-demo@noreply.github.com Cc: Matha Goram baqwas@gmail.com; Author author@noreply.github.com Subject: Re: [pageauc/face-track-demo] Teething Issue (#1)
This is due to syntax changes between openCV 2 and 3 versions. Code was fixed in the gpiozero version but did not get a chance to change in the pi-pan version before our trip. I have updated the code with version .63 on github. This was tested and works on gpiozero version so I should work without problems on pi-pan version. Let me know if you have problems since I have not actually tested these changes yet. You can reinstall or just do a wget for new version
wget -O face-track.py https://raw.github.com/pageauc/face-track-demo/ master/face-track.py
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/pageauc/face-track-demo/issues/1#issuecomment-282715279> , or mute the thread https://github.com/notifications/unsubscribe- auth/AGvmF_29od7DSB1E0Ygb2zMQZGzJ6wStks5rgsrzgaJpZM4MLgYI . < https://github.com/notifications/beacon/AGvmFzb518ej53hEKF1pcf1_ zSkPKja9ks5rgsrzgaJpZM4MLgYI.gif>
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pageauc/face-track-demo/issues/1#issuecomment-282768000, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZITwRbf-bCr_VuRCzab9nq7gIG5Lks5rgvdtgaJpZM4MLgYI .
-- See my YouTube Channel at http://www.youtube.com/user/pageaucp
Installation worked without a hitch. Pi-Pan (and PiLight) installed separately and the respective demo programs are working fine. OpenCV compiled and tested with elementary open/save image tutorials.
Unfortunately, could run the your demo sample, face-track.py, owing to the error in the attached screenshot. An guidance on troubleshooting would be sincerely appreciated.
A+.