Gesture Control with MMPose is a project that enables controlling your mouse cursor and performing mouse clicks using hand gestures detected through MMPose, a pose estimation library., with the help of OpenCV and PyAutoGUI,
MMPose is a critical component of this project, and it needs to be installed separately. Follow the steps on the MMPose website to install it correctly. https://mmpose.readthedocs.io/en/latest/
- Clone the repository:
git clone https://github.com/namas191297/mouse_gesture_control
- Install the required dependencies:
pip install -r requirements.txt
- Set the MMPose path in
inference.py
on line 1 to line 3.
import sys
MMPOSE_PATH = '/path/to/mmpose/'
sys.path.append(MMPOSE_PATH)
- Run the main script.
python gesture_control.py
- Follow the instructions displayed on the screen to enable or disable gesture control.
Before running the script, download the required MMPose models and move them into the saved_checkpoints
folder. You can find the models here.
- Python 3.x
- OpenCV
- NumPy
- MMPose
- PyAutoGUI
This project is licensed under the MIT License.