Smart Detect: Pose and Movement Analysis
smart_detect is a Python package that uses OpenCV and Mediapipe to detect poses, analyze joint angles, and monitor irregular movements. It can be used for applications like posture correction, exercise tracking, and more.
Features
- Detects body poses in real time using Mediapipe.
- Calculates joint angles (e.g., knees) for movement analysis.
- Alerts users about irregular movements based on thresholds.
Installation
Install the package using pip:
bash pip install smart_detect
Usage
Here's a quick example to start tracking movement:
from smart_detect import start_tracking
start_tracking()
Parameters for start_tracking
irregular_threshold (int, default=15): Number of consecutive frames of irregular movement required to trigger an alert. normal_threshold (int, default=15): Number of consecutive frames of normal movement required to reset the alert.
Dependencies
OpenCV Mediapipe NumPy
These are automatically installed when you install the package.
Contributing
Feel free to contribute to the project by submitting pull requests or reporting issues on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Release files for smart-detect 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smart_detect-0.2.4.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smart_detect-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / smart_detect-0.2.4.tar.gz
| Download URL | smart_detect-0.2.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8385957ca7dbc58a410a7691689cf5747e9cb7ff91061323b2f25424d6d5ba0c
|
|
BLAKE2b-256 checksum How to use checksums |
6fbd435280a3f3f49be5ea55100717bac00b1e6d2c94efc831b2d4f1bb504a0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / smart_detect-0.2.4-py3-none-any.whl
| Download URL | smart_detect-0.2.4-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce9a5372beb38652ee4f95c845ff23732e1ef7ad4904e55838477ed4f1cdd713
|
|
BLAKE2b-256 checksum How to use checksums |
c9c2bca39f35b891a061757eea52aa96f94e2d02db739f085e8b6f6568fb0f57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|