Skip to content

Here is source code for an example of hand tracking application (Virtual calculator) using openCV and mediapipe. It is a project for practicing skills in using openCV and image processing in computer vision. With this code, you can create a Virtual calculator and do basic mathematical calculation.

Notifications You must be signed in to change notification settings

jibby2803/Virtual-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual-Calculator

Introduction:

Here is source code for an example of hand tracking application (Virtual calculator) using openCV and mediapipe. It is a project for practicing skills in using openCV and image processing in computer vision. With this code, you can create a Virtual calculator and do basic mathematical calculation.


Result

How to use:

I track index finger tip and middle finger tip if the distance between these tracking points is less than 35px then it is considered as a click. For more details about hand tracking, you can refer to the following links: https://mediapipe.readthedocs.io/en/latest/solutions/hands.html


Hand landmarks

Run the following command

  • Install modules
pip install -r requirements.txt
  • Run project
python app.py

About

Here is source code for an example of hand tracking application (Virtual calculator) using openCV and mediapipe. It is a project for practicing skills in using openCV and image processing in computer vision. With this code, you can create a Virtual calculator and do basic mathematical calculation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages