Extracting Faces with MediaPipe in Python

  Рет қаралды 6,342

Sefik Ilkin Serengil

Sefik Ilkin Serengil

Жыл бұрын

In this video, we demonstrate how to extract the facial area from an image using the Google empowered Mediapipe library and its facial landmark detection module in Python. This technique is important for facial recognition studies, as it provides clear inputs to face recognition models, and is also commonly used in deepfake studies.
Facial recognition models require clear and accurate inputs to perform effectively. By extracting the facial area from an image, we can ensure that the face recognition model is fed with high-quality inputs, resulting in better accuracy and performance.
In this study, we use the Mediapipe library to detect the facial landmarks in an image, and we use these landmarks to extract the facial area. We also showcase how this technique can be used to enhance the quality of inputs for deepfake studies, where the goal is to create realistic fake videos by swapping faces.
Our video highlights the importance of accurate inputs in facial recognition studies and showcases the power of the Mediapipe library and its facial landmark detection module in achieving this goal.
If you're interested in the world of facial recognition and deepfake studies, and want to learn how to extract the facial area from an image using the Mediapipe library, then this video is for you.
Tutorial: sefiks.com/2022/05/29/normali...
Please Subscribe! That's what keeps me going ► bit.ly/40NfIS7
Want more? Connect with me here:
Blog: sefiks.com/
Twitter: / serengil
Instagram: / serengil
Facebook: / sefikscom
Linkedin: / serengil
If you do like my videos, you can support my effort with your financial contributions on
- Patreon: www.patreon.com/serengil?sour...
- GitHub Sponsors: github.com/sponsors/serengil
- Buy Me a Coffee: buymeacoffee.com/serengil

Пікірлер: 29
@cemsirubertike6310
@cemsirubertike6310 Жыл бұрын
a very nice video, simple and clear expression
@g.s.3389
@g.s.3389 Жыл бұрын
ok, but among all your videos is still not clear which is the most precise face recognition or the fastest face recognition , which needs GPU or which can be used on CPU with good performance. can you make a video that manages all those aspects, an update video I mean. thx
@lucianogomide2972
@lucianogomide2972
How do i use my own photo ? Can u answer
@MotuDaaduBhai
@MotuDaaduBhai Жыл бұрын
Awesome tutorial! What if I want to extract face from a video or jpg sequence? From my understanding your tutorial does one image at a time. Thanks in advance.
@idkname
@idkname Жыл бұрын
have a good time
@alishadman6131
@alishadman6131 Жыл бұрын
Can you help that if its possible how can I extract a 3D model of the face? from the 2D image?? like to have a volume of the face!
@KrdDeveloper
@KrdDeveloper Жыл бұрын
Bro I'm have mobile how i can change face
@nathansuarez5543
@nathansuarez5543 Жыл бұрын
How to save the extracted image? if possible with a transparent background or png type
@ahmadkemalalizzi8465
@ahmadkemalalizzi8465
sorry sir, how to extract nose, mouth cheek, jaw etc.?
@parulchoudhary629
@parulchoudhary629
its better for me.. if you provide code
@BulentSiyah
@BulentSiyah Жыл бұрын
I learned the mediapipe library from this video, thank you very much.
@nesliserengil
@nesliserengil Жыл бұрын
💛💙
@EnesCanErkan
@EnesCanErkan 14 сағат бұрын
bir sorum var yüzün maskesini alabiliyoruz ancak kafanın tamamını almak istersek yalnızca kafa gözüksün maske şeklinde nasıl yapabiliriz ben sadece yüzü yapabildim ?
@tunateke9806
@tunateke9806 Жыл бұрын
🙏🙏🙏🙏
Open Source Face Analysis with Python
15:07
Rob Mulla
Рет қаралды 49 М.
Face Anti-Spoofing for Facial Recognition in Python
10:03
Sefik Ilkin Serengil
Рет қаралды 1,8 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 64 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН
Face Recognition in Python |Real-time |  Part 2 | FaceNet, MTCNN, SVM
21:53
3D Face Reconstruction with Dense Landmarks
5:43
Microsoft Research
Рет қаралды 35 М.
Code with me using Python and AI to build a face detection app
10:55
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 142 М.
Python Face Recognition (Beginner Tutorial)
12:36
Matthew Berman
Рет қаралды 49 М.
Facial Landmark Detection with MediaPipe in Python
14:41
Sefik Ilkin Serengil
Рет қаралды 5 М.
AI Face Body and Hand Pose Detection with Python and Mediapipe
42:55
Nicholas Renotte
Рет қаралды 138 М.