Count and display number of squat excercises during workout using Jetson Nano and compatible USB Webcam.
This app is designed to help count squat exercises using Jetson Nano and compatible USB Webcam. It uses trt_pose to detect body keypoints and then processes their relative position.
The keypoints are visualised and displayed, along with the excercise count and warning messages (in case the body is not properly positioned in the frame).
The app operates at about 12 FPS of Jetson Nano.
Jetson Nano and Jetson Nano compatible USB camera.
- Installed NVIDIA JetPack
- Installed trt_pose with all prerequisites
- Installed Jetcam
$ git clone [email protected]:hsheimbuch/workout_squat_counter.git
Download the weights and place them in 'model/'.
The camera should be placed on the floor at ~2m distance from the the person. Only one person must be in frame!
Loading takes about 1 minute.
Pressing ESC key closes the program.
$ python3 workout_squat_counter.py
Heinrich Heimbuch @hsheimbuch
Heinrich Heimbuch @hsheimbuch
Free for non-commercial usage