tensorflow_Realtime_Multi-Person_Pose_Estimation icon indicating copy to clipboard operation
tensorflow_Realtime_Multi-Person_Pose_Estimation copied to clipboard

Pose detection using live cam feed

Open gautamw3 opened this issue 3 years ago • 1 comments

Hi @michalfaber Can you please provide an insight of how we can detect co-ordinate of key joint locations using live camera. In the older version of this project you have provided this one but not here. Can you help me with this please?

Thanks

gautamw3 avatar Jul 19 '20 20:07 gautamw3

Hi @gautamw3 You can adapt the demo_video.py file. Just change the parser using @click.option('--video', default=0, type=int, help='Path to the input video file') instead of @click.option('--video', required=True, help='Path to the input video file')

Then, you can use your computer camera by calling: python demo_video.py --video=0 --output-video=sample.mp4 --create-model-fn=create_openpose_singlenet --input-size=224 --output-resize-factor=8 --paf-idx=2 --heatmap-idx=3

Hope it helps.

AlexandrineRibeiro avatar Mar 09 '21 15:03 AlexandrineRibeiro