Skip to content
aswath8 edited this page Jun 12, 2020 · 2 revisions

Welcome to the Potholes wiki!

Realtime Pothole Detection

Idea

  • Mobile phone centric detection
  • With accelerometer and gyroscope data
  • 50Hz, 20ms sensor refresh rate

Architecture

alt Architecture

Data Acquisition

Format: Time-stamp, Accel X, Accel y, Accel Z, Gyro X, Gyro y, Gyro z alt Data Acquisition

Data modeling

Accelerometer data plot Raw data plot, Mean, Standard Deviation alt Accelerometer data plot

Gyroscope data plot Raw data plot, Mean, Standard Deviation alt Gyroscope data plot

Confusion matrix alt Confusion matrix

Export model from MATLAB to C code

Export trained model to C code using MATLAB coder

Import model C code in Android Studio

Use JNI to access the svmPredict() function.

TODO

  • Calibration for running the trained model based on the initial orientation of the smartphone.
  • Calibration shall provide a rotation matrix for coordinate transformation between the orientation used while obtaining the data and the orientation of the phone during the detection.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Presentation slides: Access PPT