Skip to main content

Monocular Path Predition for Exosuits

Project description

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.

Description

Install

To install the library run: pip install monocular-path-prediction

Download the pre-trained models from Depth-Anything-V2.

Development

  1. Install Poetry
  2. make init to create the virtual environment and install dependencies
  3. make format to format the code and check for errors
  4. make test to run the test suite
  5. make clean to delete the temporary files and directories
  6. make deploy to build and publish to https://pypi.org/project/monocular-path-prediction
  7. make imu to test the IMU device
  8. make camera to test the camera
  9. make app to run the application in a loop
  10. make serial to test a serial device
  11. make calibration to run the camera calibration

Usage

# example usage of the module
 python src/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

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

monocular_path_prediction-0.2.1.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

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

monocular_path_prediction-0.2.1-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file monocular_path_prediction-0.2.1.tar.gz.

File metadata

  • Download URL: monocular_path_prediction-0.2.1.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/25.2.0

File hashes

Hashes for monocular_path_prediction-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f4032cb852d8059d28e26d436944792d8e4d2a56793b3893965f88ab60e77cb1
MD5 2c5b9b72d3d841120edf8e807b98e7d3
BLAKE2b-256 6c169764570fc8de7c22108443cb03fc53afd2c186c87d9c79929320167108b1

See more details on using hashes here.

File details

Details for the file monocular_path_prediction-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for monocular_path_prediction-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e6365c7300124af179359c80b609a798c3ed21c696282640419e3233d1fe69
MD5 b547c8d5979ab6ee7db414b69e178a62
BLAKE2b-256 0788df6ec2e9dd572edb31618acbd103bf4c32194b735199e58dc01a8c2a0c4e

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