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

preview_player
Показать описание
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 YouTube Channel 🚀🚀

Download Code:

Premium Courses:
✔️ Computer Vision Game Development Course:
✔️ Computer Vision with Arduino Course:
✔️ Advanced Drone Programming Course:
✔️ Learn to Build Computer Vision Mobile Apps:
✔️ Jetson Nano Premium Course:

⚙️⚙️⚙️—-My Gear — ⚙️⚙️⚙️

Follow Me:

#ComputerVision
#OpenCV
#CVZone
Рекомендации по теме
Комментарии
Автор

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.

BrandonJacobson
Автор

By far the best channel on youtube to learn opencv
You are an absolute legend.

rakshitacharya
Автор

I love what you are creating. Thank you for all of your videos-tutorials..!!

ahmetcihatboz
Автор

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 = - 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)

nocultist
Автор

i took the ratio between the length between the index and the thumb and the diagonal length of the bonding box, and then use the ratio value to scale it to the desired range. works quite consistently across different distances of the hand from the camera

muqtasidtashfin
Автор

this literally is the first video I have seen with 0 dislikes ever in youtube
true good content indeed

quarkblue
Автор

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

ferdyg
Автор

Murtaza's Workshop - Robotics and AI

actionkey
Автор

Am i the only one whoo noticed that you can move your pinky without moving your ring finger. Great video!

karamsahoo
Автор

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.

OZtwo
Автор

help. When I run program I get this error:
Traceback (most recent call last):
File line 19, in <module>
detector =
File 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 <dictcomp>
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_' +
TypeError: create_int(): incompatible function arguments. The following argument types are supported:
1. (arg0: int) ->

Invoked with: 0.7

Process finished with exit code 1

astroxxie
Автор

Is it a god, is it a coder? Oh wait, its murtazas workshop, the legend

sakethgupta
Автор

this man doesn't get enough of it

__
Автор

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?

SuperDarcy
Автор

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.

NishantKhaladkar
Автор

, line 49, in <module>
fingers = detector.fingersUp()
line 82, in fingersUp
if < self.lmList[self.tipIds[0]- 1][1]:
AttributeError: 'handDetector' object has no attribute 'tipIds'

im getting this error please help

theprocode
Автор

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.

kingshukmukherjee
Автор

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

nagarajaprabhu
Автор

can we do this to like show some hand gestures or sign to activate and deactivate volume changing mode

rushangkasundra
Автор

Which is software to use coding for python

PavanSonwalkar-nk
visit shbcf.ru