User avatar
mjrobot
Posts: 7
Joined: Fri Dec 29, 2017 2:03 pm
Location: Santiago, Chile
Contact: Website Facebook Skype Twitter YouTube

Projects with OpenCV and Python

Sun Feb 25, 2018 3:16 pm

Recently I have been working on Python/OpenCV projects that can on Real-time Tracking Objects and Recognize Faces. It is amazing what this fantastic Raspberry Pi is capable! ;-) Hope you like them!

Object Tracking (by Color)
Image
https://www.instructables.com/id/Automa ... -Tracking/

Face Recognition
Image
Image
https://www.instructables.com/id/Real-t ... d-Project/

Thanks
Marcelo
Engineer, writer and forever student. Passionate to share knowledge of electronics with a focus on IoT and Robotics.

Guneshs
Posts: 48
Joined: Sun Jun 25, 2017 4:18 pm

Re: Projects with OpenCV and Python

Sun Feb 25, 2018 5:02 pm

Hi friend how many fps do you get with video stream?

User avatar
mjrobot
Posts: 7
Joined: Fri Dec 29, 2017 2:03 pm
Location: Santiago, Chile
Contact: Website Facebook Skype Twitter YouTube

Re: Projects with OpenCV and Python

Sun Feb 25, 2018 5:08 pm

Hi. I am using 30 frames per second.
Regards
Engineer, writer and forever student. Passionate to share knowledge of electronics with a focus on IoT and Robotics.

Guneshs
Posts: 48
Joined: Sun Jun 25, 2017 4:18 pm

Re: Projects with OpenCV and Python

Sun Feb 25, 2018 5:26 pm

Nice....
Recently I came across this.
Pls give it a look if u r interested. :D

https://www.pyimagesearch.com/2015/12/2 ... nd-opencv/
Regards

User avatar
mjrobot
Posts: 7
Joined: Fri Dec 29, 2017 2:03 pm
Location: Santiago, Chile
Contact: Website Facebook Skype Twitter YouTube

Re: Projects with OpenCV and Python

Sun Feb 25, 2018 6:50 pm

Thanks a lot! Adrian has great tutorials! ;-)
On my "Face Recognition Project", I really keep the 30 FPS (and not use threads) because I used for video capturing the standard videoCapture() (from cv2) to better explain the overall concept of Facial Recognition. But, for example on the project: "Object detection and tracking with OpenCV"', I have used the Adrian's Imutils library, where he has already optimized the FPS. But the final result should be only a little bit better because I am using imshow() to show the result, what decreases the fps optimation that was got using videoStream() (from Imutils) for video capturing instead of the standard videoCapture () (from cv2). And the 1ms delay that we should wait for program termination also complicates the overall optimization. As Adrian commented on the tutorial that you sent me, in the case a real project, we always can take out imshow() and waitKey(1), what should improve the performance and so reducing the latency a lot!
Thanks
Marcelo
Engineer, writer and forever student. Passionate to share knowledge of electronics with a focus on IoT and Robotics.

Return to “Python”