Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pose detection using live cam feed #17

Open
gautamw3 opened this issue Jul 19, 2020 · 1 comment
Open

Pose detection using live cam feed #17

gautamw3 opened this issue Jul 19, 2020 · 1 comment

Comments

@gautamw3
Copy link

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

@AlexandrineRibeiro
Copy link

AlexandrineRibeiro commented Mar 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants