How ajanthadevi2012/hand-gesture-2-hands---roi works
This is a notebook-based, real-time two-hand gesture application for selecting and displaying a webcam Region of Interest. Its documented workflow captures and mirrors frames, uses MediaPipe hand landmarks to interpret left- and right-hand pinches as ROI corners, then displays the annotated frame and extracted region while recording processed video. The notebook is the only source file in the tree; relationships below are based on README documentation, not inspected implementation excerpts. The README also names a Python entry point that is absent from the supplied tree.
Main entry points: Hand Gesture 2 hands - ROI.ipynb Frame Annotation · two_hand_roi_selection_output.mp4 Saved Output Video
Components 16
Input and Tracking
- Frame Capture
Hand Gesture 2 hands - ROI.ipynb - Frame Preparation
Hand Gesture 2 hands - ROI.ipynb - MediaPipe Hands
- Landmark Detection
Hand Gesture 2 hands - ROI.ipynb
Gesture and ROI
- Pinch Detection
Hand Gesture 2 hands - ROI.ipynb - Hand Point Selection
Hand Gesture 2 hands - ROI.ipynb - ROI Creation
Hand Gesture 2 hands - ROI.ipynb - ROI Extraction
Hand Gesture 2 hands - ROI.ipynb
Display and Recording
- Frame Annotation
Hand Gesture 2 hands - ROI.ipynb - Live Display
Hand Gesture 2 hands - ROI.ipynb - ROI Display
Hand Gesture 2 hands - ROI.ipynb - Video Recording
Hand Gesture 2 hands - ROI.ipynb - Saved Output Video
two_hand_roi_selection_output.mp4 - Keyboard Controls
Hand Gesture 2 hands - ROI.ipynb
Other components
- Operator
- System Webcam
Connections 18
- Operator → System Webcam: provides input
README.md - System Webcam → Frame Capture: supplies frames
README.md - Frame Capture → Frame Preparation: passes frames
README.md - Frame Preparation → MediaPipe Hands: processes frames
README.md - MediaPipe Hands → Landmark Detection: detects landmarks
README.md - Landmark Detection → Pinch Detection: provides hand landmarks
README.md - Pinch Detection → Hand Point Selection: signals pinches
README.md - Hand Point Selection → ROI Creation: sets two points
README.md - ROI Creation → ROI Extraction: defines bounds
README.md - ROI Creation → Frame Annotation: draws rectangle
README.md - Landmark Detection → Frame Annotation: draws landmarks
README.md - Frame Annotation → Live Display: displays frame
README.md - ROI Extraction → ROI Display: displays region
README.md - Frame Annotation → Video Recording: records processed frame
README.md - Video Recording → Saved Output Video: saves video
README.md - Operator → Keyboard Controls: presses keys
README.md - Keyboard Controls → Hand Point Selection: resets points
README.md - Keyboard Controls → Video Recording: quits and saves
README.md