![]() Hence, inorder for the project to run smoothly, you need to degrade the Python version to 3.8 How to Degrade Python Version: webcam not opening: It was a bug in mediapipe and was fixed in latest python versions.autopy not installing: This is because autopy currently doesn't support Python versions above 3.8.Some of the issues and their solutions are as follows: I faced alot of dependency issues throughout this project. It can be installed using "pip install autopy" Important Note: It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts. ![]() It can be installed using "pip install mediapipe" Autopy:ĪutoPy is a simple, cross-platform GUI automation library for Python. video, audio, any time series data), cross platform (i.e Android, iOS, web, edge devices) applied ML pipelines. MediaPipe is a framework for building multimodal (eg. It can be installed using "pip install opencv-python" Mediapipe: It can process images and videos to identify objects, faces, or even the handwriting of a human. OpenCV supports a wide variety of programming languages like Python, C++, Java, etc. OpenCV is a huge open-source library for computer vision, machine learning, and image processing. If they are joined together, then it will perform a click.įurthermore, a smoothness factor was added as the movement was really shaky.įollowing modules need to be installed for it to work properly: Now, inorder to successfully click using hand tracking, it is detecting the distance between the fore finger and the middle finger. The fore finger will act as a cursor and moving it around, we will be moving the cursor around. It will then create a bounding box around my hand and focus on two fingers: The fore finger and the middle finger. I am using the webcam of my system to detect my hands. In this project, I am using my hand as a virtual mouse than can do everything that a mouse does without even touching your system. In this project we will be using the live feed coming from the webcam to create a virtual mouse using hand tracking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |