filmov
tv
Face & Movement Tracking System Using a Raspberry Pi + OpenCV + Pan-Tilt HAT + Python

Показать описание
Utilise computer vision systems to always keep your face in the centre of the frame. Then add a movement detection and a patrol layer to make finding faces easier (just like a portal turret!)
Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide.
Related Information
Cameras in combination with machine learning create the most powerful sensor you can ever put on a Raspberry Pi Single Board Computer. And now we are making them smart and mobile with artificial intelligence! The intention here is to not only create an easy-to-use face-tracking system with a Pan-Tilt Hat but also do so in a way that can be readily expanded upon no matter what systems or code additions you choose to use. All code utilised is open-source and fully commented. We are going to control a Pan and Tilt system with a Raspberry Pi so that it keeps your face (and the action) in the centre of the frame. I also demonstrate in the Full Article how to control the speed of rotation either making it very smooth or very fast. After achieving the above the next step is to code a patrol phase for the Pan-Tilt system. So, when it does not see a face, the system moves around its degrees of freedom logically to search for one. Then to aid this patrol phase further we can add in the code the ability to automatically turn towards any moving objects that it identifies. Open-CV is a huge resource that we use here to help solve the real-time computer vision and image processing problems.
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
0:00 Intro
0:23 Tracking System Overview
0:55 Open-CV
1:01 What You Need and Terminal Commands
2:01 Simple Face Tracking Code
2:35 First Pay Off
3:10 Specifics on this Face Recognition
3:29 Patrol, Movement and Face Tracking Code
4:32 Second Pay Off
5:30 Code Adjustments
6:10 Acknowledgment
6:24 Where To Now
7:08 Outro
Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide.
Related Information
Cameras in combination with machine learning create the most powerful sensor you can ever put on a Raspberry Pi Single Board Computer. And now we are making them smart and mobile with artificial intelligence! The intention here is to not only create an easy-to-use face-tracking system with a Pan-Tilt Hat but also do so in a way that can be readily expanded upon no matter what systems or code additions you choose to use. All code utilised is open-source and fully commented. We are going to control a Pan and Tilt system with a Raspberry Pi so that it keeps your face (and the action) in the centre of the frame. I also demonstrate in the Full Article how to control the speed of rotation either making it very smooth or very fast. After achieving the above the next step is to code a patrol phase for the Pan-Tilt system. So, when it does not see a face, the system moves around its degrees of freedom logically to search for one. Then to aid this patrol phase further we can add in the code the ability to automatically turn towards any moving objects that it identifies. Open-CV is a huge resource that we use here to help solve the real-time computer vision and image processing problems.
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
0:00 Intro
0:23 Tracking System Overview
0:55 Open-CV
1:01 What You Need and Terminal Commands
2:01 Simple Face Tracking Code
2:35 First Pay Off
3:10 Specifics on this Face Recognition
3:29 Patrol, Movement and Face Tracking Code
4:32 Second Pay Off
5:30 Code Adjustments
6:10 Acknowledgment
6:24 Where To Now
7:08 Outro
Комментарии