Skip to main content

Library to use pose estimation in your projects easily

Project description

AIPOSE

Downloads Stars Documentation Status

Library to use pose estimation in your projects easily.

Installation PyPI

You can install aipose from Pypi. It's going to install the library itself and its prerequisites as well.

pip install aipose

You can install aipose from its source code.

git clone https://github.com/Tlaloc-Es/aipose.git
cd aipose
pip install -e .

Run demo

Use the following command to run a demo with your cam and YOLOv7 pose estimator,

posewebcam

Testing without a physical webcam (Linux)

You can simulate a webcam using v4l2loopback and ffmpeg:

1. Install dependencies:

sudo apt install v4l2loopback-dkms ffmpeg

2. Load the virtual device:

sudo modprobe v4l2loopback devices=1 video_nr=0 card_label="FakeWebcam" exclusive_caps=1

3. Feed it with a video or image (in a separate terminal):

# Loop a video file
ffmpeg -re -stream_loop -1 -i your_video.mp4 -vf format=yuv420p -f v4l2 /dev/video0

# Or use a static image
ffmpeg -re -loop 1 -i your_image.jpg -vf format=yuv420p -f v4l2 /dev/video0

4. Run the demo in another terminal:

posewebcam

5. Unload the virtual device when done:

sudo modprobe -r v4l2loopback

Running over a video results

How to use

You can check the section notebooks in the repository to check the usage of the library or you can ask in the Issues section.

The examples are:

References

Support

You can do a donation with the following link.

Buy Me A Coffee

Or you can try to make a pull request with your improvements to the repo.

Source of videos and images

Images (Pexels)

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

aipose-3.2.0.tar.gz (71.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aipose-3.2.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file aipose-3.2.0.tar.gz.

File metadata

  • Download URL: aipose-3.2.0.tar.gz
  • Upload date:
  • Size: 71.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aipose-3.2.0.tar.gz
Algorithm Hash digest
SHA256 60f0ba5093e4f45e504c2decedd44176c6016d59d27c0e6d959a80363fa36c7c
MD5 e792757d27759b152f0791d25358b4a6
BLAKE2b-256 f552b61766228ebd4e882b336b53d45b72f82d3b0e5bca87d4876182d8f08b6e

See more details on using hashes here.

File details

Details for the file aipose-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: aipose-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aipose-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36be02f812602a3d19d1fe97246bb3523868897a4782a900f78a3b11c5e11f30
MD5 bd19d95f9a3a63a5a0ce2f0398b09a1b
BLAKE2b-256 3ea7e3afbe9938a6cfacba01befe05030cd2f774796cbbf5efd3f4827fb6c09d

See more details on using hashes here.

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