Skip to main content

A smart pose detection package for movement analysis using OpenCV and Mediapipe

Project description

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.

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

smart_detect-0.2.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

smart_detect-0.2.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file smart_detect-0.2.4.tar.gz.

File metadata

  • Download URL: smart_detect-0.2.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for smart_detect-0.2.4.tar.gz
Algorithm Hash digest
SHA256 8385957ca7dbc58a410a7691689cf5747e9cb7ff91061323b2f25424d6d5ba0c
MD5 e4f1fee9279de5fb67595d4ca06a0d0e
BLAKE2b-256 6fbd435280a3f3f49be5ea55100717bac00b1e6d2c94efc831b2d4f1bb504a0c

See more details on using hashes here.

File details

Details for the file smart_detect-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: smart_detect-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for smart_detect-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce9a5372beb38652ee4f95c845ff23732e1ef7ad4904e55838477ed4f1cdd713
MD5 d85a7af0a502a634061dc292590f1535
BLAKE2b-256 c9c2bca39f35b891a061757eea52aa96f94e2d02db739f085e8b6f6568fb0f57

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