Open Source Face Analysis with Python

  Рет қаралды 45,642

Rob Mulla

Rob Mulla

Күн бұрын

In this tutorial we go over how to use DeepFace. Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. Hope you learn something new!
Timeline:
00:00 Intro
00:45 Setup
03:21 Face Detection
06:18 Face Verification
10:11 Face Recognition
11:39 Facial Attribute Analysis
12:24 Streaming API
Follow me on twitch for live coding streams: / medallionstallion_
My other videos:
Speed Up Your Pandas Code: • Make Your Pandas Code ...
Intro to Pandas video: • A Gentle Introduction ...
Exploratory Data Analysis Video: • Exploratory Data Analy...
Working with Audio data in Python: • Audio Data Processing ...
Efficient Pandas Dataframes: • Speed Up Your Pandas D...
* KZbin: youtube.com/@robmulla?sub_con...
* Discord: / discord
* Twitch: / medallionstallion_
* Twitter: / rob_mulla
* Kaggle: www.kaggle.com/robikscube
#python #datascience #facedetection

Пікірлер: 70
@sefiks
@sefiks Жыл бұрын
Hey 👋 I'm the creator of DeepFace. Thank you for sharing this to the community 🙏
@EssaAlshammri
@EssaAlshammri Жыл бұрын
thank you for putting all of those together :)
@mignacio79
@mignacio79 Жыл бұрын
Maybe my question is very naive, but is it possible to train this model to use this tool with the find option to detect animal species? Either in an online camera or from drones or camera traps? Thank you very much for this development.
@rex-up9ln
@rex-up9ln 5 ай бұрын
Managed to bypass using a 2d photo. Its extremely finicky
@Jipzorowns
@Jipzorowns Жыл бұрын
I don't comment much on your video's and in general. Though, I've watched many of your video's and streams and learned so darn much from you. Thank you so much, Rob! Wishing you and your channel all the best in 2023. Again, thanks!
@robmulla
@robmulla Жыл бұрын
Thanks so much for commenting! Its great to know there are people like you out there learning from these videos. It encourages me to keep making them.
@niealex4299
@niealex4299 10 ай бұрын
look forward to more content.. love all the content in your channel.. really praticale in a way demotrate the power of AI/ python... and great eye opener as what AI is capable of
@Infinitay
@Infinitay Жыл бұрын
I’ve been following DeepFace for a while. Thanks for covering it. I’ve been interested in FD and FR and DeepFace made using SOTA models much easier.
@robmulla
@robmulla Жыл бұрын
Glad it was helpful! Having a single package that works with all the SOTA model is super handy.
@ruanwannenburg5471
@ruanwannenburg5471 Жыл бұрын
Great video. Thanks Rob!
@robmulla
@robmulla Жыл бұрын
Thanks for watching Ruan, hope you learned something new.
@dataflex4440
@dataflex4440 Жыл бұрын
Best Channel for data Science Period!.
@robmulla
@robmulla Жыл бұрын
I appreciate that you think so!
@textpower3050
@textpower3050 Жыл бұрын
Thanks for this video. I was confused by all the different models but after watching this video I have a much better understanding now. Is it possible to download the whole final script? I would love to try it out on my machine. Thanks again you are the best.
@tsaashik8048
@tsaashik8048 11 ай бұрын
great job keep grinding👌👌
@TheShox79
@TheShox79 Жыл бұрын
Well done! Thank you!
@robmulla
@robmulla Жыл бұрын
Glad it was helpful!
@henkhbit5748
@henkhbit5748 Жыл бұрын
Great, thanks for sharing Rob. For similarity detection, did u try lowering the threshold or use a different function instead of the cosine function for comparing with and without glasses?
@robmulla
@robmulla Жыл бұрын
Thanks for watching Henk. I didn't try much other than using the defaults but those are definately parameters that you can try and adjusting to see if the results are better for you.
@GPHReviews
@GPHReviews Жыл бұрын
Hey rob, I am getting the type as list for result 12:20, but as u r using keys to index, how u got the dict in return from deep face ? Thankyou
@robmulla
@robmulla Жыл бұрын
Thanks for the feedback. It's been some time since I created the video. It's possible the api has changed. You can check the github repo to see if they've made major changes and let me know. Hope that helps.
@xpinchx
@xpinchx Жыл бұрын
Do you think you'll ever do an MBA? (Market basket analysis) e.g. what e-commerce stores use to group "other people also bought..." lists. I've followed along with a few other text-based tutorials and haven't been able to implement a solution using my own dataset.
@robmulla
@robmulla Жыл бұрын
Great question. I’m not familiar with that so I doubt it. But I might look into it because it sounds really interesting
@xpinchx
@xpinchx Жыл бұрын
@@robmulla you're the best, thanks for considering!
@phattruong7472
@phattruong7472 Жыл бұрын
Hello Rob Mulla, I wonder if you could share some courses data beginner should take, especially about statistics, maths, and machine learning courses. Thanks a lot.
@robmulla
@robmulla Жыл бұрын
There are a lot out there. Check udamy or edx. Or just watch KZbin and streams!
@PapiJack
@PapiJack 6 ай бұрын
Does anyone know what loss functions these backends are using. Or could you point me to them? I'm new to computeer vision. Thanks.
@jdmeyer05
@jdmeyer05 Жыл бұрын
Where did you get that T-shirt?
@irfanjaafar3570
@irfanjaafar3570 Жыл бұрын
VGG-Face is pretty slow, I would recoment using SFace if anyone want a faster recognition. Great video
@robmulla
@robmulla Жыл бұрын
Hey thanks for the comment. I’ll check VGG Face out.
@phattruong7472
@phattruong7472 Жыл бұрын
Could you make video review the laptop you're using and give us any advice on choosing the laptop for data science? Thanks in advance.
@robmulla
@robmulla Жыл бұрын
My laptop is nothing special actually, but I really like my desktop that I built myself with custom parts.
@resresres1
@resresres1 Жыл бұрын
I'd like to request a video. Can you make a video on reducing .exe file size (either with one file or one directory) when converting .py to .exe? With it being more in depth than simply a generic, "use a clean virtual environment and pyinstaller" and with using some of the popular libraries like pandas/numpy/etc. It's honestly extremely difficult to get any good information regarding this and there are not really any good tutorials on accomplishing this on how to create the smallest exe.
@robmulla
@robmulla Жыл бұрын
Hmm. Good suggestion. I don’t know much about exe files but I can try to learn and will let you know.
@rathgrams
@rathgrams 4 ай бұрын
Do data scientists only use ipynb and not py files?
@muskanadwani8111
@muskanadwani8111 Жыл бұрын
I am getting output of facial analysis as type "list" instead of "dictionary" pls help me
@syahrulmaulanaw6965
@syahrulmaulanaw6965 Жыл бұрын
Hi Rob, do you think people can land a job as a data analyst or data scientist without data science degree? I'm currently pursuing my Electrical Engineering degree (Control system eng) but got interested in data science field :)
@robmulla
@robmulla Жыл бұрын
Great question. I think that working to build up a resume showing your skills in data science is important. Kaggle, projects on github, etc. But also if you are in school try seeing if minoring in computer science is an option. IMO if you have a technical degree like EE it will be helpful to land a job even if it's not specifically in CS/data science. Just my experience though.
@syahrulmaulanaw6965
@syahrulmaulanaw6965 Жыл бұрын
@@robmulla thanks for the advice Rob. Actually my degree itself is close to CS in some topics (since i take the concentration in CSE), thats why I have a thought to take the data science more serious. But, Im gonna think about what you've said, cheers
@user-ld5dn3fv4m
@user-ld5dn3fv4m Жыл бұрын
Hello. You don't have video streaming data. I think it will be good if you shoot a video on the topic of streaming data in pandas with a binance stream. Next, we use any model on streaming data.
@robmulla
@robmulla Жыл бұрын
Thanks for the suggestion. That's a good idea. I don't know much about streaming data yet, but I think it could potentially make a really interesting video.
@SamsungJ-hi5gb
@SamsungJ-hi5gb Жыл бұрын
Can you make video tutorial about implementation of DeepFace using Raspberry Pi for Door Lock? Thanks Mr.Rob.
@SamsungJ-hi5gb
@SamsungJ-hi5gb Жыл бұрын
I'm from indonesia
@robmulla
@robmulla Жыл бұрын
Hey! That’s a very specific request. I can’t guarantee I will make that video but hopefully my videos will help you get started!
@r3yjt
@r3yjt 11 ай бұрын
Is it also for Mac?
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
Please make a video on ANPR using Yolo.
@robmulla
@robmulla Жыл бұрын
Thanks for posting! I might do something like that but I think there are already some pretty good videos on youtube about it.
@neeraj.kumar.1
@neeraj.kumar.1 Жыл бұрын
@@robmulla I think you can explain it in more better way.
@tatelangdon4809
@tatelangdon4809 5 ай бұрын
Hi, I followed ur tutorial to instal and use deepfake, everything else worked perfectly, however for the streaming about, it just outputs db path not detected, am not a professional, can anyone just explain what does that mean, and like how to I fix it?? thanks!!
@sidarth404
@sidarth404 Жыл бұрын
Can you pls make video on " speech to text and back to speech instantly" with gtts free neural voice.
@robmulla
@robmulla Жыл бұрын
Oh, that would be a good video. I have one on speed to text using OpenAI whisper: kzbin.info/www/bejne/fpO8ZmSji7Clmac I don't have anything on text to speech yet though. Maybe in the future.
@bagusandrewijaya
@bagusandrewijaya 7 ай бұрын
how to make deepface.find result as json response?
@zac_vaughn
@zac_vaughn Ай бұрын
To be fair... You do genuinely look like two different people in those images.
@us30legendfx15
@us30legendfx15 Жыл бұрын
how can i import the pictures using googlecollab ?
@robmulla
@robmulla Жыл бұрын
You could upload them or try linking to your google drive?
@user-in7bf1fq4r
@user-in7bf1fq4r Жыл бұрын
great video! Can you please share the code?
@robmulla
@robmulla Жыл бұрын
Hey! I’ll try to find it and post. Thanks for watching.
@raczyk
@raczyk Жыл бұрын
Can DeepFace do race recognition?
@macemastalerz
@macemastalerz Жыл бұрын
How can we give this information to a conversational ai?
@robmulla
@robmulla Жыл бұрын
You can do anything you want with the outputs, but I'm not sure the best way to feed it to an AI would be. Copy/pase the results :D ChatGPT is only accessable via the browser right now.
@ThatWeirdKiidOnYT
@ThatWeirdKiidOnYT 6 ай бұрын
The key to defeating the state sponsored state of the art facial tracking is..Glasses
@CaribouDataScience
@CaribouDataScience Жыл бұрын
Wow! I never would guess that you were of Asian decent?
@robmulla
@robmulla Жыл бұрын
Haha. I'm half Indian so technically it's not wrong.
@RAZZKIRAN
@RAZZKIRAN Жыл бұрын
please share the code
@robmulla
@robmulla Жыл бұрын
I believe most of the code was taken directly from the DeepFace docs.
@benkhemismarwen2431
@benkhemismarwen2431 Жыл бұрын
its unlucky that the accuracy of face recognition is nothing near what big company achieved.
@robmulla
@robmulla Жыл бұрын
Yes, but they can be improved!
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 258 М.
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 30 МЛН
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
BongBee Family
Рет қаралды 11 МЛН
DeepFace: A Facial Recognition Library for Python
14:12
Sefik Ilkin Serengil
Рет қаралды 122 М.
Face Comparison in Python | Face Comparison in 5 lines | Data Magic
4:51
Data Magic (by Sunny Kusawa)
Рет қаралды 14 М.
Real-Time face recognition on CPU with Python
20:49
Python Lessons
Рет қаралды 6 М.
Exploratory Data Analysis with Pandas Python
40:22
Rob Mulla
Рет қаралды 421 М.
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН