Inspiration
I was inspired by the challenge of creating a more intuitive, accessible, and contact-free navigation system. With the rise of touchless interfaces, I wanted to explore how hand gestures alone could control website navigation seamlessly, eliminating the need for traditional buttons.
What it does
HandNav uses your camera to automatically detect hand gestures in real-time. It counts extended fingers to determine the intended command, then confirms your gesture with a smart 2-second hold before instantly navigating to a corresponding website — fully hands-free!
How we built it
I built HandNav with MediaPipe Hands for robust finger and hand tracking. I implemented a finger counting algorithm to interpret gestures (1-5 fingers) and created a live countdown confirmation system to reduce false positives. Visual overlays (green skeleton and red dots) help provide intuitive feedback, and a smooth real-time redirect finalizes the gesture-based navigation.
Challenges we ran into
- Achieving consistent gesture detection under different lighting conditions
- Preventing false positives when the hand was briefly moving
- Integrating the countdown and redirect logic smoothly with the detection loop
- Optimizing the frame rate for low-latency tracking
Accomplishments that we're proud of
- Fully hands-free navigation with no need for buttons or clicks
- Stable and accurate gesture recognition using MediaPipe
- A clean, intuitive visual feedback system to build user trust
- Building an entirely seamless experience from detection to navigation
What we learned
- How to integrate MediaPipe Hands into a real-time web app
- The importance of confirmation periods to avoid misinterpretation
- Best practices for user feedback in gesture-based interfaces
- How to handle edge cases in computer vision projects
What's next for HandNav
- Expanding the gesture vocabulary to more complex symbols
- Supporting customizable websites and gesture mappings
- Adding a training mode to teach the system new gestures
- Improving low-light detection performance
- Packaging it as a plug-and-play JavaScript library for other developers
Built With
- html
- javascript
- mediapipe
Log in or sign up for Devpost to join the conversation.