Monocular Camera Path Prediction for Exosuits
The Python modules use a monocular camera to predict the user's movements to better inform the control algorithm.
Install
To install the library run: pip install monocular-path-prediction
Download the pre-trained models from Depth-Anything-V2.
Development
- Install uv from Astral.
- Setup your computer to run Makefiles (not CMake).
make initto create the virtual environment and install dependenciesmake formatto format the code and check for errorsmake testto run the test suitemake cleanto delete the temporary files and directoriesmake deployto build and publish to https://pypi.org/project/monocular-path-predictionmake imuto test the IMU devicemake camerato test the cameramake appto run the application in a loopmake serialto test a serial devicemake calibrationto run the camera calibration
Usage
# example usage of the module
python src/monocular_path_prediction/__main__.py --help
Microcontrollers
The microcontroller code can be found inside src/microcontroller/.
Repo Structure
├── docs
│ ├── camera-calibration-checker-board_9x7.pdf
│ └── exosuit_anticipation.png
├── src
│ ├── microcontroller
│ │ └── adafruit_main.py
│ └── monocular_path_prediction
│ ├── config
│ │ ├── __init__.py
│ │ ├── definitions.py
│ │ └── setup_logger.py
│ ├── sensors
│ │ ├── camera
│ │ │ ├── calibration
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __main__.py
│ │ │ │ ├── calibration.py
│ │ │ │ ├── detector.py
│ │ │ │ └── results.py
│ │ │ ├── images
│ │ │ │ ├── __init__.py
│ │ │ │ └── images.py
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── camera.py
│ │ │ ├── camera_intrinsics.py
│ │ │ ├── display.py
│ │ │ └── utils.py
│ │ ├── device
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── arduino.py
│ │ │ ├── device_info.py
│ │ │ ├── device_selector.py
│ │ │ └── serial_device.py
│ │ ├── imu
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── calibration.py
│ │ │ ├── data_classes.py
│ │ │ ├── filter.py
│ │ │ ├── imu_device.py
│ │ │ ├── plotter.py
│ │ │ ├── reader.py
│ │ │ └── writer.py
│ │ ├── __init__.py
│ │ └── setup.py
│ ├── __init__.py
│ ├── __main__.py
│ ├── depth_estimator.py
│ ├── path_planner.py
│ ├── pipeline.py
│ └── utils.py
├── tests
│ ├── core_test
│ │ └── timer_test.py
│ ├── sensors
│ │ ├── camera
│ │ │ └── calibration
│ │ │ └── calibration_test.py
│ │ ├── device
│ │ │ └── serial_device_test.py
│ │ └── imu
│ │ ├── gyro_calibration_test.py
│ │ ├── imu_test.py
│ │ └── reader_test.py
│ ├── __init__.py
│ ├── conftest.py
│ ├── estimators_test.py
│ ├── main_test.py
│ └── pipeline_test.py
├── .coverage
├── .gitignore
├── .pre-commit-config.yaml
├── .python-version
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── README.md
├── poetry.lock
├── pyproject.toml
├── repo_tree.py
└── uv.lock
Metadata
Release files for monocular-path-prediction 0.2.2
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 |
|---|---|---|---|---|
| monocular_path_prediction-0.2.2.tar.gz | 35.1 kB | Without provenance | Details for monocular_path_prediction-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monocular_path_prediction-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for monocular_path_prediction-0.2.2-py3-none-any.whl |
Total release size: 86.2 kB
Release files / monocular_path_prediction-0.2.2.tar.gz
| Download URL | monocular_path_prediction-0.2.2.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1f1ad778b01f8c9fe303b423104ddf805def975dfd16ce1f2f68fd5fa345119
|
|
BLAKE2b-256 checksum How to use checksums |
d17461b25e90219d760f6d4508cd06127ec67b7c7ce2cdd63c092c986909430e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.2 Darwin/25.2.0
|
Release files / monocular_path_prediction-0.2.2-py3-none-any.whl
| Download URL | monocular_path_prediction-0.2.2-py3-none-any.whl |
|---|---|
| Size | 51.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e2666cf41b30502c8b66ffb968139137aea733267971d7877bbde7b6c87a787
|
|
BLAKE2b-256 checksum How to use checksums |
16676ec1797f1f5c0a92a729e587dec53a3797a02d1a21fc0b00f91c7678bdcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.2 Darwin/25.2.0
|
Security for monocular-path-prediction 0.2.2
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.