Skip to content

rhenerose/mediapipe_pose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8bcbfbc · Apr 5, 2022

History

8 Commits
Apr 4, 2022
Apr 4, 2022
Apr 4, 2022
Apr 4, 2022
Apr 4, 2022
Apr 4, 2022
Apr 5, 2022
Apr 4, 2022

Repository files navigation

Mediapipe Pose Sample

Requirements

Python 3.7 or later is required.

Setup

pip install -r requirements.txt

Usage

usage: pose.py [-h] [--device DEVICE] [--width WIDTH] [--height HEIGHT] [--model_complexity MODEL_COMPLEXITY] [--plot_landmark]

optional arguments:
  -h, --help            show this help message and exit
  --device DEVICE       Camera device index or video file
  --width WIDTH         Camera width
  --height HEIGHT       Camera height
  --model_complexity MODEL_COMPLEXITY
                        model complexity (0:lite, 1:full(default), 2:heavy)
  --plot_landmark       plot 3d landmarks
# Camera Device
python pose.py --device 0 --width 640 --height 480 --model_complexity 1 --plot_landmark
# Video media file
python pose.py --device ./media/dance.mp4 --model_complexity 1 --plot_landmark

image view

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages