Skip to main content

3D human pose visualizer with multi-person, multi-view support, built on Mayavi.

Project description

PoseViz – 3D Human Pose Visualizer

Multi-person, multi-camera 3D human pose visualization tool built using Mayavi. As used in MeTRAbs visualizations.

This repo does not contain pose estimation code, only the visualization part.

Gist of Usage

import poseviz
import cameravision

camera = cameravision.Camera(...)

with poseviz.PoseViz(...) as viz:
    for frame in frames:
        bounding_boxes, poses3d = run_pose_estimation_model(frame)
        viz.update(frame=frame, boxes=bounding_boxes, poses=poses3d, camera=camera)

See also demo.py.

The main feature of this tool is that the graphical event loop is hidden from the library user. We want to write code in terms of the prediction loop of the human pose estimator, not from the point of view of the visualizer tool.

Behind the scenes, this is achieved through forking a dedicated visualization process and passing new scene information via multiprocessing queues.

Installation

PoseViz is released as a conda package (experimental, tested only on Linux):

conda install poseviz -c isarandi

Alternatively, in case the above doesn't work, install Mayavi via conda (the Mayavi pip package has compilation problems), clone this repo and install PoseViz via pip:

conda install mayavi -c conda-forge
pip install git+https://github.com/isarandi/poseviz.git

Then run demo.py to test if installation was successful.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poseviz-0.0.0.tar.gz (436.1 kB view details)

Uploaded Source

File details

Details for the file poseviz-0.0.0.tar.gz.

File metadata

  • Download URL: poseviz-0.0.0.tar.gz
  • Upload date:
  • Size: 436.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for poseviz-0.0.0.tar.gz
Algorithm Hash digest
SHA256 41469929a9ca3f95b93be852ec0457653690a4f0fa93e33a98fb179621fff10d
MD5 37c98c51c3f5f3e6f3125e67ad1320db
BLAKE2b-256 6672b5f4e64f43198ab1d27b734b0b06f57666a5854dd94960942081336349bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for poseviz-0.0.0.tar.gz:

Publisher: python-publish.yml on isarandi/poseviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page