Practical overview
When it fits
Use it when a local Python/PyTorch implementation and its image-folder or webcam examples fit the pose-estimation task.
Who it is for
- Python developers adding human-pose estimation to image-processing applications.
- Developers building a webcam-based pose demonstration.
- Practitioners who want to run the included image inference benchmark locally.
Documented uses
- Annotate a folder of images with detected pose keypoints and skeletons.
- Display pose overlays from webcam frames.
- Measure inference throughput on preloaded images without drawing overlays.
Requirements & limits
- Requires a Python environment with a recent PyTorch version; the README's example uses CUDA through Conda.
- The webcam demo has specific OpenCV installation and video-capture requirements.
- Weights are downloaded and converted on first use.
- The repository README says this version is no longer maintained.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run pose estimation on an image folder
Generate images annotated with pose keypoints and skeletons.
Before you start
- Python 3.x and a recent PyTorch version.
- The README's example installs are PyTorch with CUDA through Conda, plus Requests and OpenCV.
- A folder containing input images.
Steps
Set up the Python environment and install the listed dependencies.
Run image_demo.py with --image_dir pointing to the input folder and --output_dir pointing to the desired output folder.
Optionally choose a model depth multiplier with --model; the README lists 50, 75, 100 and 101, with 101 as the default.
Expected outcome
The demo writes input images with pose keypoints and skeleton overlays to the output folder.
Guide limitations
- The README describes the demo as basic and lists batch inference as unfinished.
- The first run downloads model weights from the TensorFlow.js version and converts them.
Set up the webcam pose demo
Prepare the documented environment for capturing webcam frames and displaying pose overlays.
Before you start
- Python 3.x and a recent PyTorch version.
- A connected webcam.
- The README recommends pip-installed OpenCV 3.4.x for webcam capture and keypoint drawing.
Steps
Install the Python and PyTorch dependencies.
Install the pip OpenCV version specified in the README instead of relying on the default Anaconda OpenCV build.
Use webcam_demo.py to capture frames through OpenCV and render pose keypoints and skeletons.
Expected outcome
The documented demo captures webcam images and displays them with pose overlays.
Guide limitations
- The default demo settings assume camera device_id=0 and that 1280x720 resolution is available.
- The README identifies video-capture support as a requirement and cautions against its described OpenCV 4.0 Python bindings.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026
- Original website title
- rwightman/posenet-pytorch · Official homepage title · retained in its source language

