Gesture Volume Control | OpenCV Python | Computer Vision
HTML-код
- Опубликовано: 29 мар 2021
- In this tutorial, we are going to learn how to use Gesture Control to change the volume of a computer. We first look into hand tracking and then we will use the hand landmarks to find gestures of our hand to change the volume. This project is module-based which means we will be using a previously created hand module which makes hand tracking very easy.
🚀🚀 My Urdu/Hindi AI RUclips Channel 🚀🚀
/ @murtazahassan01
Download Code:
www.computervision.zone/cours...
Hand Tracking Bare Min Code and Module Video:
• Hand Tracking 30 FPS u...
Gesture Volume Control [Part 2]
• Advance Gesture Volume...
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-...
👉 RUclips 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
You need a medal, because no one on youtube uploads such videos.🙏
that is depressingly not true
@Mynk FF Thank you for your kind words
@@Skisful link for others plz ???
Everyone is busy in predicting house priceeeee
@@Enjoyurlife1789 this is hilarious! 😅😅
You're an absolute open source software contributor. Thanks for the effort and the video. Keep going !!
Did you get it this courses?
I see great potential in this idea, especially for phones, perfect self-explanatory code, thank you :)
I am actually suprised that I understood everything that you were doing, and it means you explained it well
Hello Sir, your videos have added so much character and life to my projects. Thank you. I was wondering if you could make a tutorial on full body tracking. Thanks again !
What a time to be alive. Only legends will understand 😁
Which IDE is he using? Looks like VS Code thou
@@GenAIWithNandakishor thank you
@@samuelscheit correct
Dear fellow schoolers
Two minute paper those who are confused
You are the awesome one who I have ever seen . I can understand all you said. I can't belive my self. You're speeking chrystal clear. brilant. So I think to myself we are speeking the same language. You made me love the OPENCV. Good to see you are, good to here you are. God bless you and those like you.
The best minutes I have spent in the internet!! So interesting video by all means!!
Thank you very much! Helped me in a gesture detection project. You are a legend
Someone had the same idea back in college but their advisors told them this is a long term project. They still passed but dialed down to ASL interpretation. That's still alot of work done
People in the future:
'Pass me that bottle'
'i can't, I don't want to mess up my volume'
This was an amazing tutorial. I'm having a lot of fun learning these computer vision applications. Thank You @Murtaza's Workshop. See you in AI virtual Mouse Video set tomorrow.
Thank u for creating and sharing this type of content!
Interesting, currently learning python and hope to be able to do this one day. You are an inspiration
Have you done it friend?
Did you complete this now?????????????
You are lit seriously🔥💥....you are the only youtuber I believe who isn't money minded....you deserve a lot more ❤️❤️❤️
Cool, one small suggestion as the hand distance length is also going to depend upon the distance of the hand from the camera may be this needs to be combined with the hand distance measurement to set the value range instead of hardcoded 50 to 300. Also the volume will continuously vary as we move the hand across. May be we need some way to freeze the volume.
I was watching you everyday and didn't realized I wasn't subscribed thanks !
For people working on Linux use:
from subprocess import call
volume = int(volume)
call(["amixer", "-D", "pulse", "sset", "Master", str(volume)+"%"])
Hope that helps!
Thx
Thanks
ну ты даешь старичок, годный туториал забабахал, по красоте да то есть
заделал себе такую, теперь перед телками могу понтоваться
ну всё, я погнал, всех обнял
Im subs! This channel is hidden gem to be sure : ), i would share this to my community, thanks for making this tutorial video, very educate alot of people!
Thanks for your awesome and more importantly "without loophole" tutorial
This is amazing. You deserve a nobel prize.
That's impressive. I made a few changes where the program calculates the hand's distance from the camera that way when it's far away since the numbers will change, it can perform more adequately
Hi Murat, I noticed the same issue. Since the vol is calculated upon the line length, it also changes when you get closer or far away from the camera keeping the same distance between fingers (index and thumb9. How did you manage to calculate the distance from the camera to introduce a correction to the algorithm?
Bro seriously
Its awesome
I got much to learn and u teached it seriously in an easier way
Thanks bro
You are doing well Murtaza. I am benefiting myself by watching you. One day you will get 1000k subscribers.
The best 36 minutes I've spent on RUclips
you are the best teacher , one in a million , thanku helped a lot
Thanks again, it helps a lot; really usefull.
Btw, I allways write the code as I watch your videos to add my comments to it, but i've seen that code file is wrong uploaded at your blog (it is previous lesson's one)
Amazing work
I'm not able to open the code in this link www.murtazahassan.com/courses/opencv-projects/
please tell me how to access the code
yes it's wrong actually
Hello! can i get the right code?
I'm really blown away by how you explained it 😍😍. Bro which version of pycharm, Python and anaconda are you using?
If you are getting an error getting the x and y value using hand['lmList'][8] then use hand['lmList'][8][:2] instead.
This is because the latest version of cvzone consists of x,y,z values instead of only x,y. So you have to define that you only need the first two elements by adding [:2]
could there be a way to normalize the length based on the distance of the hand to the camera using this z value? Thanks for the vid!
can you please provide handtracking code
Cool tutorial Murtaza! I'm going to implement this myself.
It lacks one thing though: There needs to be a way to confirm the final volume. In 35:45, while moving your hand out of the cam's view, you change the volume from 0% to 60% unintentionally.
I'm not able to open the code in this link www.murtazahassan.com/courses/opencv-projects/
please tell me how to access the code
@@affanskm3530 i did not try it yet, but my guess is that you have to enroll first into the course on his website before you can access the code.
Or just watch the video and cppy it by typinh yourself
Also there is need some kind of normalization, because length range depends on distance from camera to hand
You are the best teacher i had seen
I looked into your code and highly suggest that you handel the instance when you need to stop adjusting the volumeand save it. I tried it by calculating the distance between the rest fingers to the bottom landmark near the wrist. Good video btw
How, whats the syntax
Awesome , this is what I was looking for, thanks
Thank you so much for these tutorials
Murtaza's Workshop - Robotics and AI
- awesomEE!!
amazing tutorial. do more like these
You do such great videos! This is exactly what I was looking for. Thank you!
This is really. helpful. You are genius man keep it up....Thanks alot..
Thanks for sharing. It is very comprehensive.
this content is goood..
i finished this project now...
This is so freaking cool man!
Dammmmmmmmmmmmm. This is ridiculously cool!
underrated channel
Nice tutorial... But can you make a tutorial showing how to know the positions of the hand (up, down, right, and left)?
This is impressive.Congrats
Thank you for your precious knowledge :)
Great job once again buddy
Thank you for this fantastic content, can we used this type of repo with kinect v2 device ?
thank you man , you are best creature tutorial i see. i kneel in front of you.
You have one new subscriber, thanks for the video!!!!
Great work man...keep it up❤️❤️❤️❤️
Quite nice project! 👏
Great tutorial keep it up 💯
Excelente logré hacerlo está muy divertido e interesante me tiene en shock
Truely underrated content....bro you are the best
Great video, like always..!! THX
You are very good teacher!
you are a very good man, thank you :)
This technique will be even better two more papers down the line!
really nice video, i have learn a lot thank you
Nice video. Found it very helpful.
You always doing the best because you are the best 😎
Thank you for your effort and great value videos!
pyautogui is also a module which can be used for this. Great video!
Thank you sir for this tutorial.
Bhai gjb ka series ❤️❤️😂
Thank you so much for your great video!
At the end you should perform a linear to log conversion, because sound scales are logarithmic
yo he dicho lo mismo XD
Thank you, didn't know that. Is that truth for this library or is this common thing?
@@mr_sugarcube It's a common thing (at least in Windows AFAIK)
You're a legend ! Thank you
Woow it's amazing 🔥🔥🔥
Ok am subbing u. Worth it.
This was amazing
Thanks for this amazing video
excellent !!
To be honest, this is really cool.
Your videos are awesome!!!!!!
first of all thanks sir for this great idea and It is daaaammmmm super cool
Awesome tutorial ❤️
Amazing tutorial sir
Wow I liked your video.Good job
Fantastic, tks for share!!
This was my final year project here in India. Thank you so much for this.
So you plagiarized your work. Do you also provide Microsoft support by phone as well?
@@annakquinn7084 shit I laughed at this for longer than I should've
very cool video keep it up👍
Congrate! Very good video brother.
My problem is that pyCaw works only on Windows. I have to look for an other library who works on Linux.
Thank you very much for those tutorials.
mine too found any solution?
you'r the best Murtaza
Thanks for this wonderful video
All this other bloggers making todo apps, congrats on such rich content
you are awesome bhai.....
este es otro nivel de programación
Such a cool project
Well done!
Does the difficulty of the videos increase from the beginning? And do we have to watch it in order, starting from the 1st video? Thank you.
Ahhhh i love this video 🔥🔥🔥❤
Great video i just went to the bathroom watching this and stayed in the bathroom until i finished watching this video great explanation! 😊😊😊😊😊😊
This is rockstar level!
We can also initialize the volBar and volPerc with current system volumes:
curr_vol = volume.GetMasterVolumeLevel()
vol_perc = np.interp(curr_vol, [-65, 0], [0, 100])
vol_bar = np.interp(curr_vol, [-65, 0], [400, 150])
Hope it helps....
Buddy can you help me with this if I am working on mac, how to get volume details on mac, on windows it is being done by pycaw.
You are Genius
Thank you so much!
Nice Man. That amazing it