pyw-motion 🏃
Motion detection e tracking utilities per il pythonWoods ecosystem.
(algoritmi real-time, OpenCV integration, type-safe APIs).
Installation (nothing to use yet)
pip install pyw-motion
Usage
from pyw.motion import MotionDetector, OpticalFlow
detector = MotionDetector()
frames = detector.detect_motion(video_source)
Questo installerà automaticamente:
pyw-core(namespace comune)opencv-python(computer vision base)numpy(array processing)
Extras per algoritmi avanzati:
pip install pyw-motion[advanced] # + scikit-image, scipy
pip install pyw-motion[gpu] # + OpenCV GPU acceleration
pip install pyw-motion[full] # tutto incluso
Philosophy
- Real-time ready – algoritmi ottimizzati per streaming video.
- Multiple backends – OpenCV, scikit-image, custom implementations.
- Type-safe APIs – Pydantic models per bounding boxes, tracks.
- Lightweight core – dipendenze pesanti come extras opzionali.
Roadmap
- 🎯 Motion detection: Background subtraction, frame differencing
- 📹 Object tracking: Kalman filter, particle filter, deep SORT
- 🌊 Optical flow: Lucas-Kanade, Farneback, deep learning methods
- 📊 Analytics: Trajectory analysis, heat maps, statistics
- ⚡ Performance: GPU acceleration, multi-threading, async processing
Contributing
- Fork il repo:
pyw-motion. - Crea virtual-env via Poetry:
poetry install && poetry shell. - Lancia linter e mypy:
ruff check . && mypy. - Apri la PR: CI esegue lint, type-check, build.
Felice tracking nella foresta di pythonWoods! 🌲🏃
Links utili
Documentazione dev (work-in-progress) → https://pythonwoods.dev/docs/pyw-motion/latest/
Issue tracker → https://github.com/pythonWoods/pyw-motion/issues
Changelog → https://github.com/pythonWoods/pyw-motion/releases
© pythonWoods — MIT License
Metadata
Release files for pyw-motion 0.0.0.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyw_motion-0.0.0.post2.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyw_motion-0.0.0.post2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / pyw_motion-0.0.0.post2.tar.gz
| Download URL | pyw_motion-0.0.0.post2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92aa50a72627c34cae24942eb5f46cd593b81a2dc1061faf9d73cf71807da00
|
|
BLAKE2b-256 checksum How to use checksums |
f3d985e58c4625a82c662bb8aca74aa9a60949e355606147a796fefa43ceeadd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / pyw_motion-0.0.0.post2-py3-none-any.whl
| Download URL | pyw_motion-0.0.0.post2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df1b1fe48a529050bfdb6528f113c6dc96d68d812011ba6d97660bb004b26dea
|
|
BLAKE2b-256 checksum How to use checksums |
edaffd681bd5e41e6e50fcfba7166a345df3d06104a81b140b5ed3bcca61c0b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|