Advance Gesture Volume Control [Part 2] | OpenCV Python | Computer Vision

  Рет қаралды 50,384

Murtaza's Workshop - Robotics and AI

Murtaza's Workshop - Robotics and AI

3 жыл бұрын

In this video will create an Advance Gesture Volume Controller using Computer vision. This is the second part of the gesture volume control project. Here we are going to make the system smoother and use the pinky finger to set the final volume. We will also add some filtrations to make it more stable and usable in real-world applications.
🚀🚀 My Urdu/Hindi AI KZbin 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-...
👉 KZbin 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

Пікірлер: 68
@ahmetcihatboz
@ahmetcihatboz 3 жыл бұрын
I love what you are creating. Thank you for all of your videos-tutorials..!!
@BrandonJacobson
@BrandonJacobson 3 жыл бұрын
I used a version of your code to do some hand detection and then shouted you out on my video. Then I took it a step further and used the landmarks to detect my fist. Thank you so much for the clear explanations.
@nocultist7050
@nocultist7050 2 жыл бұрын
Cool tutorials! Got me to finally try some computer vision stuff. Just figured that thumb part of fingersUp is dependent on using a certain hand... My solution for people in need: # Thumb # distance of tip to wrist vs root to wrist tip2wristX = abs(self.lmList[self.tipIds[0]][1] - self.lmList[0][1]) root2wristX = abs(self.lmList[2][1] - self.lmList[0][1]) if tip2wristX - root2wristX > 0: fingers.append(1) else: fingers.append(0)
@ferdyg3520
@ferdyg3520 2 жыл бұрын
with the new findDistance function I made a new fingersUp function that is based on the distance between the tips and the 0 point in relation to the tip-2 and the 0 point so it works regardless of the orientation of the Hand great video btw
@rakshitacharya630
@rakshitacharya630 3 жыл бұрын
By far the best channel on youtube to learn opencv You are an absolute legend.
@karthikkeyan2590
@karthikkeyan2590 2 жыл бұрын
You are the OpenCV God bro..
@OZtwo
@OZtwo 3 жыл бұрын
Looks great I hope at some point you train it to train and merge the new data with the current data so it gets smarter automatically.
@user-bt4mj7hw4m
@user-bt4mj7hw4m 3 жыл бұрын
Thank you, Keep going!.
@thespirit3676
@thespirit3676 2 жыл бұрын
Very good video! Thank you
@yeo-nyu
@yeo-nyu 3 жыл бұрын
Thank you for your video!
@quarkblue
@quarkblue 3 жыл бұрын
this literally is the first video I have seen with 0 dislikes ever in youtube true good content indeed
@actionkey8042
@actionkey8042 3 жыл бұрын
Murtaza's Workshop - Robotics and AI NICEEEEE
@pamarthikanakaraja9812
@pamarthikanakaraja9812 3 жыл бұрын
I love it very nice tutorial sir
@kingshukmukherjee5864
@kingshukmukherjee5864 3 жыл бұрын
really great project 👍👍 , I have been following you for some time. Can you please tell me or make a video on how we can make these projects more presentable like a application or web app.
@carciogarul73
@carciogarul73 Жыл бұрын
super GREAT WORK
@anjalik6524
@anjalik6524 3 жыл бұрын
Great work 👍 Can you do feature detection and texture detection of an object in real time moving object
@its_nihar
@its_nihar 3 жыл бұрын
Yes I learned New
@__3093
@__3093 3 жыл бұрын
this man doesn't get enough of it
@karamsahoo6852
@karamsahoo6852 2 жыл бұрын
Am i the only one whoo noticed that you can move your pinky without moving your ring finger. Great video!
@sakethgupta2885
@sakethgupta2885 2 жыл бұрын
Is it a god, is it a coder? Oh wait, its murtazas workshop, the legend
@SuperDarcy2008
@SuperDarcy2008 8 ай бұрын
Is he using a different hand module from his previous one I don't remember building something for fingers up in the hand module video before?
@rushangkasundra3956
@rushangkasundra3956 3 жыл бұрын
can we do this to like show some hand gestures or sign to activate and deactivate volume changing mode
@shadowace2813
@shadowace2813 Жыл бұрын
is there a way to integrate this file with the computer itself? , so you don't need to run the application selectively to change volume via hand control, so the videocapture doesn't need to show up either
@juliam.lampreajulian.lampr5318
@juliam.lampreajulian.lampr5318 3 жыл бұрын
Hi, I wonder, could be installed mediapipe library in raspberry pi?. Thanks for the great video.
@murtazasworkshop
@murtazasworkshop 3 жыл бұрын
I can be, but its quiet slow.
@sy-gamer9556
@sy-gamer9556 3 жыл бұрын
Can we create using tenserflow
@harshmirdhwal
@harshmirdhwal 3 жыл бұрын
You're so great, by the way I need your help, by the things that you taught, I somehow managed to make a hand gesture program that controls the cursor and precisely the mouse, but I am not able to make it accurate, you are an opencv champion, please help me on that
@user-cz3ct3ri7o
@user-cz3ct3ri7o 8 ай бұрын
Which is software to use coding for python
@da-wah
@da-wah 3 жыл бұрын
Can I make an article about this project?
@theprocode4394
@theprocode4394 2 жыл бұрын
, line 49, in fingers = detector.fingersUp() line 82, in fingersUp if self.lmList[self.tipIds[0]][1] < self.lmList[self.tipIds[0]- 1][1]: AttributeError: 'handDetector' object has no attribute 'tipIds' im getting this error please help
@herobrineminecraft1579
@herobrineminecraft1579 2 жыл бұрын
I assume you're getting this error becuz you did not add the tipIds list to your module. You can refer the Virtual Painter Video in which he adds the Fingers Up Function in the Hand Tracking Module.
@NishantKhaladkar
@NishantKhaladkar 3 жыл бұрын
I am getting cvtcolor source empty error for this advanced one..The basic version works fine....Also in the handtracking module, the success variable "success, img = cap.read()" is not accessed by pylance.Somebody pls help me with it.
@rishabhrawat7856
@rishabhrawat7856 2 жыл бұрын
you should give the whole error... Only them can someone help. But its been more than a month so you probably don't need it anymore...
@NishantKhaladkar
@NishantKhaladkar 2 жыл бұрын
@@rishabhrawat7856 Pylint : Code ia not accessed is the error... And I am still looking for solution
@SwastikSaha1204
@SwastikSaha1204 Жыл бұрын
How can I make this into a mobile app using kivy
@vishnugupta7113
@vishnugupta7113 2 жыл бұрын
Hii were to get HandDectionModule
@nomaannafi7561
@nomaannafi7561 3 жыл бұрын
!!!!! NEED HELP !!!!!!!!! from comtypes import CLSCTX_ALL from _ctypes import COMError ImportError: cannot import name 'COMError' from '_ctypes' I am getting this error. My operating system is Ubuntu 20.04. How could I fix it? Thank you!
@AstroShibaOfficial
@AstroShibaOfficial 11 ай бұрын
help. When I run program I get this error: Traceback (most recent call last): File "C:\Users\Bartek\Documents\!!kodziki\python aukaaaaaaaaaa\volumeControll\VolumeHandControl.py", line 19, in detector = htm.handDetector(detectionCon=0.7) File "C:\Users\Bartek\Documents\!!kodziki\python aukaaaaaaaaaa\volumeControll\HandTrackingModule.py", line 22, in __init__ self.hands = self.mpHands.Hands(self.mode, self.maxHands, File "C:\Users\Bartek\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solutions\hands.py", line 114, in __init__ super().__init__( File "C:\Users\Bartek\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solution_base.py", line 289, in __init__ self._input_side_packets = { File "C:\Users\Bartek\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solution_base.py", line 290, in name: self._make_packet(self._side_input_type_info[name], data) File "C:\Users\Bartek\AppData\Local\Programs\Python\Python310\lib\site-packages\mediapipe\python\solution_base.py", line 592, in _make_packet return getattr(packet_creator, 'create_' + packet_data_type.value)(data) TypeError: create_int(): incompatible function arguments. The following argument types are supported: 1. (arg0: int) -> mediapipe.python._framework_bindings.packet.Packet Invoked with: 0.7 Process finished with exit code 1
@OZtwo
@OZtwo 3 жыл бұрын
Also sorry, I'm using the Linux version of the Jetson Nano on Linux and Code-oss wasn't able to find mediapip
@reactninja6567
@reactninja6567 3 жыл бұрын
Will that work with mac?
@anthony6841
@anthony6841 3 жыл бұрын
Yes it did for me
@hackergod1360
@hackergod1360 3 жыл бұрын
I wonder how he able to move his little finger with thumb and index fingers together
@anthony6841
@anthony6841 3 жыл бұрын
I was going to comment this
@nagarajaprabhu5595
@nagarajaprabhu5595 2 жыл бұрын
File "D:\myData\Personal\myPy\edith\HandTrackingModule.py", line 45, in findPosition for id, lm in enumerate(myHand.landmark): UnboundLocalError: local variable 'myHand' referenced before assignment Am facing this error, need your suggestion
@aarondichoso6557
@aarondichoso6557 2 жыл бұрын
did you define the myHand variable first before using it?
@sezermezgil9304
@sezermezgil9304 2 жыл бұрын
sometimes i also get this error im facing that when i close my hand
@evertondev
@evertondev 2 жыл бұрын
did you get a solution?
@hflail3570
@hflail3570 2 жыл бұрын
same mouse with mine
@spandanmanna4028
@spandanmanna4028 3 жыл бұрын
85th viewer
@evertondev
@evertondev 2 жыл бұрын
File "d:\Eve\Sistem 2\map.py", line 41, in lmList, bbox = detector.findPosition(img, draw=True) File "d:\Eve\Sistem 2\HandTrackingModule.py", line 37, in findPosition for id, lm in enumerate(myHand.landmark): UnboundLocalError: local variable 'myHand' referenced before assignment Can someone help me with this error?
@ik1bdimassalahuddin946
@ik1bdimassalahuddin946 2 жыл бұрын
same problem
@lyliandubost2491
@lyliandubost2491 Жыл бұрын
You copied the file from the website. The for-loop in the function has to go inside the first if-loop (if self.results .......). Same goes for these lines: xmin, xmax = min(xList), max(xList) ymin, ymax = min(yList), max(yList) bbox = xmin, ymin, xmax, ymax if draw: cv2.rectangle(img, (bbox[0] - 20, bbox[1] - 20), (bbox[2] + 20, bbox[3] + 20), (0, 255, 0), 2) Just put all of these and the for-loop inside the first if-loop. Hope I could help
@mutaherkhan2161
@mutaherkhan2161 3 жыл бұрын
I love your work,sir but I am working on AI for mobile app.sir I want to access your AI course that you make for Android but don't have enough resource :(
@murtazasworkshop
@murtazasworkshop 3 жыл бұрын
Send us an email
@utsavaddy
@utsavaddy 2 жыл бұрын
I am getting this error can someone help me out with this x1, y1 = self.lmList[p1][1], self.lmList[p1][2] AttributeError: 'handDetector' object has no attribute 'lmList'
@pedronicory9481
@pedronicory9481 2 жыл бұрын
@milan. thanks, i had the same issue
@vibhorejain6687
@vibhorejain6687 Жыл бұрын
@@pedronicory9481 what's the solution to this issue?
@pedronicory9481
@pedronicory9481 Жыл бұрын
​@@vibhorejain6687 buddy , i don't remember exactly was the solution, but i think it's someting related to the __init__ variables, names etc. The version in the video do not have the same variables today's labrary variables.. So my advice is, look into the variables name, study them and compare to others scripts to see if u can find any solution. I dont have my script here to help u better. Hope u can do it!
@paraschaurs
@paraschaurs 2 жыл бұрын
Everything was fine in the first part but in this part it made me so confused.that I started searching for another tutorial
@singamsurya399
@singamsurya399 3 жыл бұрын
1st like 1st comment
@nabinkc3847
@nabinkc3847 Жыл бұрын
anyone who knows how to fix this error x1, y1 = self.lmList[p1][1], self.lmList[p1][2] AttributeError: 'handDetector' object has no attribute 'lmList'
@sociabletech2199
@sociabletech2199 2 жыл бұрын
This is some Tony Stark top level shit.
@johnigata794
@johnigata794 2 жыл бұрын
how can i deploy this application real time without having to run this code all the time
@dhanushzuse9533
@dhanushzuse9533 2 жыл бұрын
How to convert it to exe
@rahulranjan7004
@rahulranjan7004 3 жыл бұрын
HEY !! I AM GETTING AN ERROR LIKE THIS " handDetector doesnt have attribute of lmList " IN fingersUp() FUNTION........I ALSO TRIED TO CHECK MY MISTAKE MORE PRECISELY BY YOUR GIVEN CODES IN UR SITE... BUT NO LUCK... IF YOU KNOW WHAT I AM DOING WRONG.. OR ANYTHING I SUPPOSED TO DO PLEASE TELL ME .. I ALSO TRIED TO RUN YOUR GIVEN CODES ENTIRELY.. BUT STILL THE SAME UPPER ERROR.. PEACE ✌
@rajjitlaishram8282
@rajjitlaishram8282 3 жыл бұрын
🙋🙋
@spandanmanna4028
@spandanmanna4028 3 жыл бұрын
1 st liker
@aaryansarat4513
@aaryansarat4513 3 жыл бұрын
bro i get some errors please help me with that please