This release is a pre-release and may not be stable for production use.
Introduction
PocketPose is an open-source library that facilitates fast and efficient pose estimation on mobile and edge devices. It supports TensorFlow Lite (TFLite) models and provides a collection of pre-trained models ready to use out of the box.
Features
- High-performance pose estimation on mobile devices
- Support for TensorFlow Lite models
- Collection of pre-trained models for various use-cases
- Easy-to-use API for custom model deployment
Installation
PocketPose can be installed from source:
pip install pocketpose
This installs the CPU-only version of PocketPose. To install the GPU version, use:
pip install pocketpose-gpu
Please refer to the installation guide for detailed installation instructions.
Quick Start
Running pose estimation on an image is as simple as:
import pocketpose as pp
# Initialize the image inferencer
inferencer = pp.ImageInferencer(
pose_model="pose-model-alias",
det_model="detection-model-alias",
device="cpu",
)
# Estimate keypoints from the image
image_path = "path/to/image.jpg" # JPEG or PNG
keypoints = inferencer.infer(image_path)
# Visualize and save the keypoints
inferencer.visualize(image_path, keypoints, save_path="path/to/save.jpg")
# Alternatively, visualize directly during inference
# inferencer.infer(image_path, visualize=True, save_path="path/to/save.jpg")
# If save_path is omitted, visualization is displayed on screen
For more detailed usage and a list of all available models, check out our usage guide.
License
PocketPose is released under the CC BY-NC 4.0 license. See the LICENSE for more details.
Metadata
Release files for pocketpose 1.0.0a2.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pocketpose-1.0.0a2.post0.tar.gz | 2.5 MB | Without provenance | Details for pocketpose-1.0.0a2.post0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pocketpose-1.0.0a2.post0-py3-none-any.whl | Python 3 | none | any | Details for pocketpose-1.0.0a2.post0-py3-none-any.whl |
Total release size: 3.4 MB
Release files / pocketpose-1.0.0a2.post0.tar.gz
| Download URL | pocketpose-1.0.0a2.post0.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
318a227c8d9d432ed9a02561972efb6927d785353754289a36f77364a3ac717e
|
|
BLAKE2b-256 checksum How to use checksums |
809494fe6bfda627086c45c93251f08d628bb764094e97c58b7cfcc36264f77a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / pocketpose-1.0.0a2.post0-py3-none-any.whl
| Download URL | pocketpose-1.0.0a2.post0-py3-none-any.whl |
|---|---|
| Size | 931.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5d431f434a62aabf5e54f4d26dfd5ddbab958633330ca62fa85dc0cf0ec9f69
|
|
BLAKE2b-256 checksum How to use checksums |
746079e798e8a8b9ece7b8662695424d9975066230bbd31ef389b5fe483d8554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for pocketpose 1.0.0a2.post0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.