How hidedabush/autonomous-inspection-platform works
AIP is a Phase 1 autonomous visual-inspection station, but the checked-in runtime is currently a grayscale CPU/CUDA smoke test rather than the README’s complete inspection line. The graph shows the implemented path and preserves documented future capabilities—camera/sensor capture, ML classification, dashboard, reject actuation, and logging—as distinct, unsampled subsystems. Their relationships are documented at a high level in README; implementation details and wiring are not evidenced in the sampled source.
Main entry points: app/main.cpp Smoke-test app · image.hpp Host image · src/main.cpp ESP32 trigger and response · ml Part classification
Components 15
C++ Runtime
- Smoke-test app
src/app/main.cpp - Pipeline contracts
include/aip/pipeline.hpp - Verdict formatting
src/core/pipeline.cpp
Image Compute
- Host image
include/aip/image.hpp - Kernel interface
include/aip/kernels.hpp - CPU grayscale
src/cpu/grayscale_cpu.cpp - CUDA preprocessing
src/cuda
Inspection Station
- Sensor and camera
- ESP32 trigger and response
firmware/esp32/src/main.cpp - Inspection dashboard
- Reject actuator
hardware - Inspection log
data
ML Workflow
- Part classification
ml - Model training and export
ml/training
Other components
- Station operator
Connections 19
- Smoke-test app → Host image: creates
src/app/main.cpp - Smoke-test app → Kernel interface: calls grayscale
src/app/main.cpp - Smoke-test app → CPU grayscale: runs baseline
src/app/main.cpp - Kernel interface → Host image: uses image
include/aip/kernels.hpp - CPU grayscale → Host image: reads and returns
- Smoke-test app → CUDA preprocessing: optionally runs
src/app/main.cpp - Smoke-test app → Pipeline contracts: includes contracts
src/app/main.cpp - Pipeline contracts → Host image: uses image
include/aip/pipeline.hpp - Station operator → Sensor and camera: starts inspection
README.md - Sensor and camera → ESP32 trigger and response: triggers station
README.md - ESP32 trigger and response → Sensor and camera: sends trigger
firmware/esp32/src/main.cpp - Sensor and camera → Smoke-test app: provides capture
README.md - Smoke-test app → Part classification: requests classification
README.md - Part classification → Inspection dashboard: provides verdict
README.md - Inspection dashboard → Reject actuator: routes rejects
README.md - Smoke-test app → Inspection log: records inspection
README.md - Model training and export → Part classification: exports model
README.md - ESP32 trigger and response → Reject actuator: signals reject
firmware/esp32/src/main.cpp - Smoke-test app → Verdict formatting: uses verdict format