Skip to content

Commit 8ab61a7

Browse files
authored
Create README.md
1 parent e6090a1 commit 8ab61a7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<h1>Hand Tracking Mouse</h1>
2+
3+
This project is a simple demonstration of using hand tracking to control the computer mouse. It uses OpenCV and MediaPipe for hand detection and tracking, and PyAutoGUI to control the mouse cursor.
4+
<h2>Requirements</h2>
5+
6+
This project requires the following libraries:
7+
<ul>
8+
<li>OpenCV</li>
9+
<li>MediaPipe</li>
10+
<li>PyAutoGUI</li>
11+
</ul>
12+
13+
You can install these libraries using pip:
14+
15+
<code>pip install opencv-python mediapipe pyautogui</code>
16+
17+
<h2>Usage</h2>
18+
19+
To use this program, simply run the hand_tracking_mouse.py file:
20+
21+
<code>python hand_tracking_mouse.py</code>
22+
23+
Once the program is running, it will use your computer's webcam to detect and track your hand movements. You can move your hand around to control the mouse cursor. To click, make a fist with your hand.
24+
25+
Press the 'q' key to quit the program.
26+
<h2>Credits</h2>
27+
28+
This project was created by XNCoders. It uses the following libraries:
29+
<ul>
30+
<li>OpenCV: https://opencv.org/</li>
31+
<li>MediaPipe: https://mediapipe.dev/</li>
32+
<li>PyAutoGUI: https://pyautogui.readthedocs.io/en/latest/</li>
33+
</ul>
34+
<h2>License</h2>
35+
36+
This project is licensed under the MIT License. See the <b>LICENSE</b> file for more information.

0 commit comments

Comments
 (0)