← Back to search

Face Landmark Detection & Pose Estimation With Raspberry Pi + OpenCV + Python

Core Electronics 8:24

22,452 views · 527 likes Watch on YouTube ↗

Full Article - https://core-electronics.com.au/guides/pose-and-face-landmark-raspberry-pi/
Face Masking uses computer vision to exactly map the geometry of your face, overlaying 468 dots and segments across all of your features. Pose Estimation expands on this by identifying the key location of every major part of your body. I'm going to show you exactly how to run and pull data from these types of computer vision using a Raspberry Pi Single Board Computer.

Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide.

Related Information
Flashing 'Buster' OS onto a Raspberry Pi - https://core-electronics.com.au/tutorials/flash-buster-os-pi.html
Setting Up a Raspberry Pi as a Desktop - https://core-electronics.com.au/tutorials/dual-monitors-raspberry-pi-4.html
Setting Up Raspberry PI with High Quality Camera - https://core-electronics.com.au/tutorials/raspberry-pi-high-quality-camera.html
Hand Tracking & Gesture Control with Raspberry Pi - https://core-electronics.com.au/tutorials/hand-identification-raspberry-pi.html
Face Tracking with Pan-Tilt Hat - https://core-electronics.com.au/tutorials/Face-Tracking-Raspberry-Pi.html
Facial Recognition Raspberry Pi - https://core-electronics.com.au/tutorials/face-identify-raspberry-pi.html
Speed Camera with Raspberry Pi - https://core-electronics.com.au/tutorials/detect-speed-raspberry-pi.html
Object and Animal Recognition with Raspberry Pi - https://core-electronics.com.au/tutorials/object-identify-raspberry-pi.html
How To Use Your Phone to Control Your Raspberry Pi - https://core-electronics.com.au/tutorials/raspcontrol-raspberry-pi.html
Python Workshop for Beginners - https://core-electronics.com.au/tutorials/python-workshop.html

Furthering my quest for complete knowledge on artificial intelligence with Raspberry Pi the natural next step was to investigate Pose Recognition (Human Keypoint Detection) and Face Masking (Facial Landmark Recognition) with the formidable Raspberry Pi single-board computer. Machine and deep learning has never been more accessible as this video will demonstrate. Cameras in combination with machine learning create the most powerful sensor you can ever put on a Raspberry Pi Single Board Computer. Face Masking is a computer vision method that will exactly identify and map the geometry of your face which can then be represented by dots and segments across all your features. Doing this means it will know exactly where your eyes are in relation to your eyebrows or your nose in relation to your lips. Using very similar geometry mapping principles, Pose estimation expands on this by identifying the location of every key part of your body. These two topics are not exactly the same, but I thought we could combine them together into this one video. Were just using computer vision to accurately pinpoint dots on the human body after all. All the scripts are fully open-source and can readily be expanded taking your projects to amazing places.

If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - http://coreelec.io/forum

Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:

Raspberry Pi 4 Model B (4GB) Ultimate Kit Bundle (AVALIABLE!) - https://core-electronics.com.au/raspberry-pi-4-4gb-ultimate-kit.html

Raspberry Pi 4 Model B 4GB (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06425

Raspberry Pi High Quality Camera (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06935

Raspberry Pi 6mm Wide Angle Camera Lens: https://core-electronics.com.au/catalog/product/view/sku/CE06937

Raspberry Pi Official Camera Module V2: https://core-electronics.com.au/catalog/product/view/sku/CE04421

Raspberry Pi 4 Power Supply: https://core-electronics.com.au/catalog/product/view/sku/CE06427

0:00 Intro
0:55 What You Need
1:13 Hardware Build Process
1:46 Download the Scripts
2:05 Face Mesh Script
2:20 First Pay Off
2:53 Snapchat-Filter-Esque Inspiration
3:11 Face Mesh Script Explanation
5:05 Pose Identification Script
5:16 Second Pay Off
5:50 Pose Script Explanation
6:28 X-Y Location of Single Body Point
7:30 Where to Now
7:54 Outro

The following trademarks are owned by Core Electronics Pty Ltd:
"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo

Category (YouTube): Education

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.