Welcome to Jetson Orin NX Developer Kit repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
06.Virtual brush
Virtual brush
MediaPipe is a cross-platform machine learning framework that can process key point detection such as hands, faces, and poses in videos and images in real time.
1. Virtual brush
MediaPipe virtual brush can track the state of the fingers through hand detection, and switch between different modes according to the finger state:
When the index finger and the middle finger of the right hand are held together, it is in the selection state, and a color palette 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 finger and the middle finger are separated, it is in the drawing state, and you can draw freely on the canvas.
2. Preview of the effect
2.1. The USB camera
cd ~/mediapipe
xxxxxxxxxxpython3 05.virtual_brush_usb.py
Note: click the camera window and press q to exit the program!

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