Pose Estimation using PoseNet model with Tensorflow and Python
Code based on Tensorflow guide.
There are two files in the directory:
- posenet_mobilenet.tflite - The actual Tensorflow Lite model;
- tf-PoseNet.py - The code.
Inside the tf-PoseNet.py file you will find the following line:
cap = cv2.VideoCapture('test6.mp4')
Just replace 'test6.mp4' with your video file or 0 to use webcam.
Run the code.