Welcome to Jetson Orin NANO Developer Kit repository
06.Virtual brush
Virtual Painter
MediaPipe is a cross-platform machine learning framework that can detect keypoints of hands, faces, poses, and more in video and images in real time.
1. Virtual Painter
The MediaPipe virtual painter can track finger states through hand detection and switch between different modes according to the finger states:
When the index and middle fingers of the right hand are together, it is the selection mode, and a color selection box pops up at the same time; when the two fingertips move to the position of the corresponding color, that color is selected (black is the eraser);
When the index and middle fingers are separated, it is the drawing mode, and you can draw freely on the canvas.
2. Effect Preview
2.1. USB Camera
cd ~/mediapipe
xxxxxxxxxxpython3 05.virtual_brush_usb.py
Note: Select the camera window and press q to exit the program!

2.2. CSI Camera
xxxxxxxxxxcd ~/mediapipe
xxxxxxxxxxpython3 05.virtual_brush_csi.py
Note: Select the camera window and press q to exit the program!
