No project description provided
Project description
amr_x2_pose
amr_x2_pose is a Python package for robust human pose estimation, featuring adaptive frame preprocessing and occlusion-aware landmark recovery to enhance accuracy in real-time applications.
Features
- Real-time 3D Pose Estimation – Enables accurate tracking of human posture.
- Advanced Occlusion Handling – Recovers hidden landmarks with intelligent interpolation.
- Multi-Hypothesis Tracking – Improves stability by evaluating multiple pose possibilities.
- Adaptive Image Preprocessing – Enhances frames dynamically for better pose detection.
- Anatomical Constraints Enforcement – Ensures natural movement and joint positioning.
- Temporal Smoothing & Consistency Checks – Reduces flickering and ensures smooth tracking.
Installation
To install amr_x2_pose, simply use:
pip install amr_x2_pose
Usage
Initialize pose estimation
from amr_x2_pose import occluded_landmarks_handler
Basic usage with webcam
occluded_landmarks_handler( use_webcam=True, camera_index=0, show_pose=True )
Advanced usage with custom settings
from amr_x2_pose import occluded_landmarks_handler
# Basic usage with webcam
occluded_landmarks_handler(
use_webcam=True,
camera_index=0,
show_pose=True
)
# Advanced usage with custom settings
occluded_landmarks_handler(
use_webcam=False,
video_path="path/to/video.mp4",
device='gpu',
target_fps=30,
enable_adaptive_preprocessing=True,
output_video_path="output.mp4",
extract_landmarks=True,
save_landmarks_to_file="landmarks.json"
)
Configuration
amr_x2_pose provides a flexible configuration file (settings.py) where you can customize:
- Image Processing Parameters – Adjust brightness, contrast, and sharpening.
- Tracking Settings – Modify visibility thresholds and confidence decay rates.
- Occlusion Handling Thresholds – Fine-tune how the model deals with missing landmarks.
- Visualization Options – Enable or disable 2D/3D rendering.
Documentation
For a detailed API reference and additional usage examples, please visit our [Documentation](Replace with actual link).
Performance Optimization
- CPU Mode – Suitable for standard applications, maintaining 30 FPS with minimal requirements.
- GPU Mode – Recommended for high-resolution video processing and multi-person tracking.
- Adaptive Preprocessing – Dynamically adjusts image settings to improve tracking accuracy.
Common Use Cases
- Real-Time Motion Capture – Track human movements with webcam-based pose detection.
- Video Analysis – Process pre-recorded videos for in-depth pose analytics.
- Research Applications – Extract landmark data for AI models and biomechanical studies.
Troubleshooting
Common Issues & Solutions
Poor Tracking Quality
- Ensure proper lighting.
- Adjust
VISIBILITY_THRESHOLDin settings. - Enable adaptive preprocessing.
Performance Lag
- Switch to GPU mode if available.
- Reduce target FPS or resolution.
- Optimize image preprocessing settings.
Contributing
We welcome contributions! Please see our contribution guidelines for more details.
Rendered Output (Python Syntax Highlighting):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amr_x2_pose-0.1.1.tar.gz.
File metadata
- Download URL: amr_x2_pose-0.1.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0ddaca91c7c78349ab8ed98efead4718a21ebbab42586e1ca59163903466980
|
|
| MD5 |
7b5cc452c8e82d0a47350ecfdca5f997
|
|
| BLAKE2b-256 |
15f563bc132a13559cd0a58651b85ea6a9fc71e295d71ba48f8fa9e0a07e24e4
|
File details
Details for the file amr_x2_pose-0.1.1-py3-none-any.whl.
File metadata
- Download URL: amr_x2_pose-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e01cd19599ef6517371fa7c0f2be921f3f2b0a7fbf0c0b9f38f3bdbabab39760
|
|
| MD5 |
02cee287b84abe167472b34bd228a333
|
|
| BLAKE2b-256 |
dc95b24f447674b071775f81156de6753385e5436ef0fc8abdc7f278f71741de
|