Тёмный

Hand Tracking 30 FPS using CPU | OpenCV Python (2021) | Computer Vision 

Murtaza's Workshop - Robotics and AI
Подписаться 402 тыс.
Просмотров 962 тыс.
50% 1

In this tutorial we will learn Hand Tracking in real-time. We will first write the bare minimum code to run and then learn how to convert it into a module so we don't have to write it again and again for different projects. The best part is we don’t have to configure 100 parameters along with 20 installs to make it run. Within 10 to 15 mins you will have your model working.
🚀🚀 My Urdu/Hindi AI RU-vid Channel 🚀🚀
/ @murtazahassan01
Download Code:
www.computervision.zone/cours...
Premium Courses:
✔️ Computer Vision Game Development Course:
bit.ly/3ttLZ2s
✔️ Computer Vision with Arduino Course:
bit.ly/3wzLB4m
✔️ Advanced Drone Programming Course:
bit.ly/3qs3v5g
✔️ Learn to Build Computer Vision Mobile Apps:
bit.ly/3uioY1J
✔️ Jetson Nano Premium Course:
bit.ly/3L8uIlF
⚙️⚙️⚙️--My Gear - ⚙️⚙️⚙️
👉 Complete Gear 💈: www.computervision.zone/tech-...
👉 My PC Specs 🖥️: www.computervision.zone/tech-...
👉 My Video Shooting Gear📽️ : www.computervision.zone/tech-...
👉 My Laptops 💻: www.computervision.zone/tech-...
👉 Educational Products🧑‍🎓: www.computervision.zone/tech-...
👉 RU-vid Starter Kit 🔴: www.computervision.zone/tech-...
Follow Me:
TikTok: bit.ly/3Vo76OQ
Facebook Group: bit.ly/3irDcb7
Discord: bit.ly/3JvyxAM
Facebook Page: bit.ly/3IvpU7W
Instagram : bit.ly/3NdGME3
Website: bit.ly/3ICFTS0
Github: bit.ly/3woU6PS
#ComputerVision
#OpenCV
#CVZone

Опубликовано:

 

24 мар 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 559   
@simonhafner4750
@simonhafner4750 3 года назад
Brilliant! Thank you so much for sharing this topic. The way you explain this topic is very professional and accessible. Keep up your good work!
@varunittigi9288
@varunittigi9288 2 года назад
Not many people do such video... That too with so much detail and explanation.. You have my subscription 👍🏻
@ibrahemtaha8177
@ibrahemtaha8177 3 года назад
amazing tutorial brother!!! OMG from start to finish with detailed explination!! You're AMAZING brother!! plz continue sharing with us more amazing projects and videos like that all the time!
@shreeharjoshi6143
@shreeharjoshi6143 2 года назад
Best ever explanation. Specially while explaining the parameters and not simply writing them out.
@joetkeshub
@joetkeshub 3 года назад
Great pedagogy! Instructive and helpful. Thank you Murtaza!
@shihabshohaul2469
@shihabshohaul2469 3 года назад
This channel is so underrated!! I'm sure this channel will hit 1 million within short time if other coders know about it.
@johannesalbrecht4705
@johannesalbrecht4705 3 года назад
I agree :-) !
@murtazasworkshop
@murtazasworkshop 3 года назад
Thank you for your kind words. Keep Spreading the word and by you help I will be there in no time.
@CodeWithJoe
@CodeWithJoe 3 года назад
@@murtazasworkshop please update your github, following your video gives me error- cTime = time.time() fps = 1 / (cTime - pTime) pTime = cTime this gives me an error saying pTime is not defined
@sivakrishna1682
@sivakrishna1682 3 года назад
you need to set pTime to 0 for the purpose of initialization: pTime = 0 hope this solves your error
@mygametyms
@mygametyms 2 года назад
joke of the day lol..
@sohorabhossain4615
@sohorabhossain4615 3 года назад
What a fabulous channel ! Keep up the good works brother.
@rudiklein
@rudiklein 3 года назад
Seen this channel for the first time. I love it already!
@amicableami87
@amicableami87 Год назад
For anyone who may be looking at this video recently, it looks as though you may need to add a new parameter to the .Hands method. "model_complexity", otherwise you may get an error. (I was), after maxHands just add 1 as an extra parameter (Unless you need to modify this)
@mrruchirgupta
@mrruchirgupta Год назад
Error resolved after adding model Complexity. Thanks.
@zachytg4227
@zachytg4227 Год назад
can u please explain more cause ive been trying to and nothing is working
@animeshbiswas2967
@animeshbiswas2967 Год назад
@@zachytg4227 add extra parameter in _ _init_ _ put “model_complexity”. Then your problem will be solved. Thank You….
@blackberryjam2211
@blackberryjam2211 Год назад
@@zachytg4227 man
@blackberryjam2211
@blackberryjam2211 Год назад
@@zachytg4227 same here man
@shahrulgw
@shahrulgw 3 года назад
Thank you so much for this wonderful project!! Please keep on posting such content, you are really talented! :D
@TauheedKhanMohd
@TauheedKhanMohd 2 года назад
I would be able to follow the tutorial and gets the exact same result as yours. Hats of to you man.
@CHITUS
@CHITUS 2 года назад
Amazing video. Loved your clarity and procedure of teaching. Subscribed
@yaronbarlevy8588
@yaronbarlevy8588 3 года назад
Awesome video as always. Love this channel
@sampaksasa3756
@sampaksasa3756 3 года назад
bro i have learned a lot of great things from this video, thankyou so much brother, pls keep uploading such kinds of videos
@nabeast1980
@nabeast1980 3 года назад
excellent, practical tutorial! I've subscribed :)
@pinorinaudo2479
@pinorinaudo2479 3 года назад
Oh my God. Amazing video!!! You're the best
@josephdreamz
@josephdreamz 3 года назад
This is the right tutorial I was expecting... Thank you so much👍👍👍👍👍
@mrCetus
@mrCetus 2 года назад
professional explanation at its peak. thank you so much teacher
@cesarramoncantoecobar643
@cesarramoncantoecobar643 2 года назад
You, Mr. Murtaza, you are my idol for doing this kind of videos. Thank you.
@xplorecoding2748
@xplorecoding2748 2 года назад
you are very talented...keep making more videos...i watched more than 10 videos in 2 days
@byxlettera1452
@byxlettera1452 3 года назад
Dear Murtaza perfect tutorial. I have found everything I was looking for. Thanks
@murtazasworkshop
@murtazasworkshop 3 года назад
Glad to hear that
@samauto69
@samauto69 Месяц назад
Absolutely love your videos, cannot have enough of them. I am working on my project and your tutorial is essential for me. A BIG THANK YOU
@ilanpeer2116
@ilanpeer2116 2 года назад
First part was a great intro 👍 The second "module" was a good idea but please try sticking with python's code conventions. Thanks and keep making more videos like this!
@lusher00
@lusher00 2 года назад
what don't you like? I'm learning python from these videos as much as I'm learning openCV. I don't want to pick up bad habits. I grew up on C (and still wish every language was C)
@winstonyeung1461
@winstonyeung1461 3 года назад
Thank you sir. I am working on a small project exactly on this. Your tutorial helps a lot.
@murtazasworkshop
@murtazasworkshop 3 года назад
Glad it helped
@NonnofYobiznes
@NonnofYobiznes 3 года назад
You're amazing my man!
@jihunbae4795
@jihunbae4795 3 года назад
Wow . I`m really appreciated for you to upload these wonderful video thx !
@Jhorel.93gs
@Jhorel.93gs 2 года назад
I from Brazilian and a start learning Lange progamation on 2021 and I love It. Thanks
@trr3576
@trr3576 3 года назад
What a useful content Appreciate your work sir Thank you very much
@Maertaugh
@Maertaugh 3 года назад
I'm a beginer and your tutorials are greats and so explicite. Thank's a lot.
@murtazasworkshop
@murtazasworkshop 3 года назад
Glad you like them!
@Abcsciencemusic
@Abcsciencemusic 3 года назад
@@murtazasworkshop HELP ! .....not able to install mediapipe ERROR: Could not find a version that satisfies the requirement mediapipe ERROR: No matching distribution found for mediapipe
@Abcsciencemusic
@Abcsciencemusic 3 года назад
@@theryze. I am also using 3.7 ..... already checked.
@gorkemkacakgil7141
@gorkemkacakgil7141 Год назад
For people getting errors from module and not running, you need to add 1 more parameter to self.mpHands.Hands to fix the issue. It changed with new framework in last update in init add complexity = 0 parameter (if you want better detection make = 1) add under other self parameters self.complexity = complexity lastly self.hands = self.mpHands.Hands(self.mode, self.maxHands, self.complexity, self.detectionCon, self.trackCon)
@jazztyanatandroid4909
@jazztyanatandroid4909 Год назад
Thanks so much, it works
@manishkumar-vz6bw
@manishkumar-vz6bw Год назад
@@jazztyanatandroid4909 bro can you please share the file link here its not working
@jazztyanatandroid4909
@jazztyanatandroid4909 Год назад
@@manishkumar-vz6bw There's no any link bro, you just need to add the code like mentioned above
@subhadeeppaul4869
@subhadeeppaul4869 Год назад
Thank you, it works
@toetoeag
@toetoeag 2 года назад
Excellent explanation and understandable content. Thanks.
@youtubeyoutube6205
@youtubeyoutube6205 3 года назад
I really liked this video, thank you!
@actionkey8042
@actionkey8042 3 года назад
Murtaza's Workshop - Robotics and AI -awesomee
@JaredTilston
@JaredTilston 2 года назад
Great tutorial!! Thank you!!
@Memeistan-ei9ws
@Memeistan-ei9ws 2 месяца назад
I have watched the whole playlist, Kepp up the Good work sir Thank you so much
@kalyanirajalingham1286
@kalyanirajalingham1286 3 года назад
You're a fantastic genius!
@adriandonca3273
@adriandonca3273 2 года назад
Creative and sincere, thank you! I will follow you.
@vishwas5344
@vishwas5344 9 месяцев назад
I don't know about opencv Library but i could understand everything. Wow how you are good at teaching ❤❤
@koraksengupta3554
@koraksengupta3554 2 года назад
Sir, it would be highly beneficial, if you explain the image stacking function you personally made, in the "open cv in 3 hrs" video.
@kunalsoni7681
@kunalsoni7681 3 года назад
really very nice and amazing tutorial 😍❤💕
@OnePunchHeizou
@OnePunchHeizou 2 года назад
This tutorial was really helpful, can u do one for stereoscopic cameras as well.
@premprasad3511
@premprasad3511 2 года назад
Excellent content. Thanks for sharing
@antospin4004
@antospin4004 3 года назад
Fantastic tutorial!! Do you happen to know why the main function is executed on one hand only?
@fernandocanepari3795
@fernandocanepari3795 3 года назад
Great video! Thanks,
@ezzeldin101
@ezzeldin101 3 года назад
Thanks Hassan u r awesome dude!!!
@yashjha7152
@yashjha7152 Месяц назад
Absolute Legend!
@Suman-zm7wx
@Suman-zm7wx 3 года назад
Really man great job, and thanks a lot for this enthralling tutorial
@murtazasworkshop
@murtazasworkshop 3 года назад
You’re welcome
@melocovers007
@melocovers007 9 месяцев назад
​@@murtazasworkshopI have error in hand tracking module
@anmolpunetha3994
@anmolpunetha3994 3 года назад
Awesome🔥
@foralianachawla8771
@foralianachawla8771 3 года назад
Thanks for sharing your work.
@davidallan6036
@davidallan6036 3 года назад
Excellent video, very well explained
@murtazasworkshop
@murtazasworkshop 3 года назад
Glad you liked it
@Bianchi77
@Bianchi77 2 года назад
Nice video, thanks :)
@justus6899
@justus6899 2 года назад
Hello, love the channel from Kenya, quick question though....at 9:40 when testing if the image is being processed, why didn't you pass variable results into cv2.imshow() function instead of variable img???
@2.adityachouksey285
@2.adityachouksey285 3 года назад
brother thank you soo much with your help i am able to use opencv and hand gesture like a pro thank you soo much bro you will hit 10 million till 2023 i am sure (not writing so i can get a heart my heart voice say this about the chanell
@sarthakpatelia9888
@sarthakpatelia9888 3 года назад
This blowed my mind, Absolutely stunning!! Thanks lot sir for sharing your knowledge.
@jucano
@jucano 3 года назад
Very nice tutorial .What is the use of Z coordinates that appear in each point ?
@aloksheth7477
@aloksheth7477 3 года назад
Very nice tutorial
@shaweewishissime6718
@shaweewishissime6718 3 года назад
Really truly top video ! I wonder how to use it as a Leap motion alternative. Hassan you're a killer. ;)
@murtazasworkshop
@murtazasworkshop 3 года назад
Put the camera upside down on a table, and you get a cheap leap motion controller 😂
@g.s.3389
@g.s.3389 3 года назад
very interesting and useful, it is also quite fast.
@KrishuBrawlStars
@KrishuBrawlStars 3 года назад
You are pro mam 🔥🔥🔥🔥🔥
@stefanogrillo6040
@stefanogrillo6040 3 года назад
Greeeeat. It works.
@kkhyyyz6535
@kkhyyyz6535 2 года назад
Thanks much Murtaza...thinking about making a Magic Mirror and adding all this automation...i guess you should be able to select stuff on the screen with gestures ?
@Nulamir-ot6nf
@Nulamir-ot6nf 3 года назад
Hi, amazing project, and that about capture from more than one cameras for more beatiful results?
@AbdulMajeed-sk1kf
@AbdulMajeed-sk1kf 2 года назад
Can you make a project in which physical contact is detected such as if 2 people make a handshake or hug each other then it detects it and shows it with a red bounding box. Very good tutorial, subscribed
@TheRealFrankWizza
@TheRealFrankWizza 3 года назад
FYI, I found someone who kindly packaged this for jetson nano and raspberry pi. I get a couple of errors, but it seems to work. I just got to the point of the video where we draw the lines to connect the landmarks, and it seems to be working perfectly. Thanks a lot for the lessons!
@murtazasworkshop
@murtazasworkshop 3 года назад
Great share your results on the Discord Channel
@TheRealFrankWizza
@TheRealFrankWizza 3 года назад
@@murtazasworkshop Sure, I will get around to signing up soon.
@__3093
@__3093 3 года назад
gj! do more on C++
@ahmedadel-uv9sj
@ahmedadel-uv9sj 2 года назад
you might have saved my graduation project damn
@mankybrains
@mankybrains Год назад
Thanks to all for pointing out the 'model_complexity' issue. I added it to the method __init__ and was able to get it to work now.
@belcamara4874
@belcamara4874 Год назад
I added modelcomplexity in __init__ but still not working for me
@mankybrains
@mankybrains Год назад
@@belcamara4874 oh sorry, for init it's double under. Like this "__init__" . Not single _init_. For some reason RU-vid isn't showing the first underscore. So two underscores in front and back..... Now it shows... Hope you understood.
@user-kd1kb6fk1e
@user-kd1kb6fk1e 2 года назад
Thank you for the good video! I have a question sir How can we enhance the detecting accuracy of the fingertip?? Most of the times it finds the fingertip well, but sometimes it doesn't I would appreciate if you tell me the solutions
@haidyelnagdy2423
@haidyelnagdy2423 3 года назад
Greate video, helped me a lot. I am trying to crop the hand after detecting it ( if one hand crop it if 2 hands crop both hands as one image) any idea how to do this?
@akashhebsur4248
@akashhebsur4248 Год назад
if any one is getting error in detectionCon then change its value from 0.75 to 1, it will work
@TheRealFrankWizza
@TheRealFrankWizza 3 года назад
Cool, I will try this out tonight. Nevermind, mediapipe is too complicated to get working in python on the jetson nano.
@murtazasworkshop
@murtazasworkshop 3 года назад
Lol
@amashi6091
@amashi6091 2 года назад
thank you so much! I've been trying to make it to where I could memify my webcam by making it so that i could teach a very simple model the substitution naruto jutsu and make it so when i did the hand signs it would make me dissapear from camera. Thank you so much
@ErCapoAlex
@ErCapoAlex 2 года назад
Lol
@kevinflanigan8653
@kevinflanigan8653 2 года назад
Enjoying this tutorial. For some reason, my version of hands.py has a fifth parameter called "model_complexity" after "max_num_hands". I had to insert that into the class handDetector and in the self.hands definition.
@elizabethmathew3400
@elizabethmathew3400 2 года назад
thankyou this helped!❤️
@lusher00
@lusher00 2 года назад
that took me a hot minute to figure out. I'm here to figure out how to mirror the whole thing now so my display matches my gestures. I figured that answer must be in the comments somewhere.
@UltraSolarGod
@UltraSolarGod 2 года назад
that helped me with my error thanks
@harisreesa
@harisreesa Год назад
For those who are getting error on inits in module creation....add model_complexity to the parameters and the error will be solved
@dreamwork69
@dreamwork69 Год назад
Thank u
@chayanmondal3661
@chayanmondal3661 Год назад
@@dreamwork69 Bro Code Please
@harppadabhishek3295
@harppadabhishek3295 2 года назад
Thank You bro!😊
@Mohta69
@Mohta69 3 года назад
Hello sir, great video btw i wanted to ask if u are into game development or not. If yes then pls make a video or a course on game development. Request from a small fan❤️
@luminouseducare9086
@luminouseducare9086 3 года назад
Nice video! Please, make a video on real time human pose estimation too.
@murtazasworkshop
@murtazasworkshop 3 года назад
Coming up next ...
@ahmarhussain8720
@ahmarhussain8720 Год назад
great video
@phee3D
@phee3D 3 года назад
Hey, great video. I'm using this tutorial to figure out how to move the cursor using finger tracking. Right now I'm using the index finger to move the cursor and it works fine, I'm using pywin32 module to set the cursor using the index finger's tip landmark. One thing I'm not being able to figure out is how do I manipulate the sensitivity of the cursor. I don't want to move my finger across the whole screen to move the cursor from one edge to the other. This is how I set the cursor: landmark ratio (for example 0.5 if at middle of screen) multiplied by 1920 (width of my screen). I feel like I'm missing something really obvious and simple but after a few hours of trying to manipulate the sensitivity, I thought perhaps you have an idea about how to achieve this.
@rehankhan456
@rehankhan456 2 года назад
If you still haven't found something I think this may help. Find an optimal constant and multiply the cursor distance traveled with your finger distance traveled that may solve the problem Optimal_constant_x = screen_resolution_x/cam_resolution_x Same for "y" also
@binhthuan7901
@binhthuan7901 Год назад
before 1 day looking for a app that work, finally i found
@wouterbrand2826
@wouterbrand2826 3 года назад
awsome! how about using this to teach kids typewriting skils. example if you type the q with your index it does not print the character but complain that you mist use your pinkie
@nguyenangthang7473
@nguyenangthang7473 3 года назад
thank you teacher :D
@statusworld-hj5jj
@statusworld-hj5jj 2 года назад
It's amazing 🤟
@clickhere6677
@clickhere6677 3 года назад
Can we save inputs for gestures like I can command python to do something when my index finger is up?
@KSATica
@KSATica Год назад
Your the MAN!!!!!
@hackerbot9123
@hackerbot9123 3 года назад
there are more than 1 lakh people in a single programming channel that means competition is tough phew..
@thunderstack5365
@thunderstack5365 3 года назад
Cool stuff
@oskarzyg
@oskarzyg 2 года назад
Great video, however, I would stick with python naming convention.
@KSATica
@KSATica Год назад
AMAZING!!!!!!!!!!!!!!!!!!!!!!!!
@valela6333
@valela6333 2 года назад
4:10 - amazing coming out
@HariPrasad-ht3tk
@HariPrasad-ht3tk 2 года назад
Hi sir the video was very useful. Can you also tell how to run it through a Gpu for increased performance
@tobia_scivoletto
@tobia_scivoletto 2 года назад
great channel
@nivitus9037
@nivitus9037 2 года назад
You are really amazing & motivating bro! No words to say 😊😊😊
@mmostafa4699
@mmostafa4699 3 года назад
thanks for this video
@mracipayam
@mracipayam 3 года назад
Murtaza you are awesome! Do you have any udemy course ?
@amitdutta3875
@amitdutta3875 3 года назад
can you make a video about sign language detection..
@eranfeit
@eranfeit 3 года назад
Great !!!!
@mehdirahali8767
@mehdirahali8767 3 года назад
Awesome !! pls could u do more Projects in c++
@ramonpaolomaran2253
@ramonpaolomaran2253 3 года назад
Up
@nguyenvu6371
@nguyenvu6371 3 года назад
Up
@muhammad_talha
@muhammad_talha 3 года назад
Up
@qymyz_shubat
@qymyz_shubat 3 года назад
thank you very much!
@murtazasworkshop
@murtazasworkshop 3 года назад
Welcome!
@kevineleven3379
@kevineleven3379 3 года назад
Sir we need you're help we use you're project volume gesture control but sir we confused when run handtracking module why it is say created tensorflow lite using xnnn delegate ?is tensorflow lite is backend ???we are confused what is front and back end of this project .
Далее
Object Detection OpenCV Python | Easy and Fast (2020)
29:06
Я ТВОЙ ОТЕЦ #большоешоу
01:01
Просмотров 290 тыс.
Google Data Center 360° Tour
8:29
Просмотров 5 млн
I Made a Neural Network with just Redstone!
17:23
Просмотров 559 тыс.
Top 25 Computer Vision Projects 2021
6:01
Просмотров 193 тыс.
All Rust string types explained
22:13
Просмотров 148 тыс.