Skip to content

Project Pertama Machine Learning Menggunakan Mediapipe dan OpenCV

Notifications You must be signed in to change notification settings

4mirfor3v3r/MouseAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MouseAI

Future Mouse Controller with Hand

Preview

Controller

  • ForeFinger == Pointer Mouse
  • Thumb == Left Click
  • Little Finger == Right Click
  • Expand ForeFinger and Middle Finger == Left Drag
  • Expand Thumb and ForeFinger == Click Space (For Playing dino :)

Builded With

- OpenCV
- Numpy
- Autopy
- Keyboard
- Mediapipe

Prerequisite

  • Python 3.7.9
  • Webcam or VideoCam

How to install

  1. Install python (you can refer to Python site)
  2. (Optional) Initiate venv by running python -m venv mouse_env
  3. Install library via pip from requirements.txt by running python -m pip install -r requirements.txt
  4. Run with python main.py

Notes for installation

Windows

You are good to go by just following the installation, no need for additional works

Linux

Makesure to use XOrg for the display server (Ubuntu 21.04 use wayland, you need to change it first) to enable the mouse library

Other OS (Including Mac)

Not yet tested

About

Project Pertama Machine Learning Menggunakan Mediapipe dan OpenCV

Topics

Resources

Stars

Watchers

Forks

Languages