Real-Time Finger Tip Distance Measurement using
OpenCV and MediaPipe
Introduction
This project measures the distance between fingertips in real time using computer vision.
Objectives
Detect fingertips, extract coordinates, calculate distance, and display results.
Libraries Used
OpenCV (cv2)
MediaPipe
NumPy
Math
Methodology
Capture webcam frames, detect hand landmarks, identify thumb tip (ID 4) and index tip (ID 8),
compute Euclidean distance, visualize results.
Applications
Gesture recognition, virtual ruler, volume control, human-computer interaction.
Conclusion
The project demonstrates practical applications of OpenCV and MediaPipe in real-time hand
tracking.