AutoAssist is an end-to-end vehicle telemetry analytics platform that uses OBD-II sensor data, machine learning, and interactive visualizations to detect abnormal vehicle behavior, assess vehicle health, and provide actionable insights through a modern web dashboard.
The project combines data engineering, anomaly detection, health scoring, backend APIs, and frontend analytics into a complete vehicle monitoring system.
- Vehicle health score generation
- Risk level classification
- Session-level vehicle assessment
- Health trend analysis
- Isolation Forest based anomaly detection
- Sensor behavior analysis
- Per-record anomaly scoring
- Binary anomaly classification
- Session anomaly summaries
Automatically classifies telemetry into:
- Idle
- Traffic
- Cruising
- Acceleration
- Deceleration
- Health overview
- Telemetry visualization
- Sensor exploration
- Anomaly investigation
- Session reports
- Correlation analysis
- Upload vehicle telemetry datasets
- Automatic preprocessing
- Feature engineering
- Anomaly analysis
- Health assessment generation
CSV Upload
│
▼
Preprocessing Pipeline
│
▼
State Classification
│
▼
Feature Engineering
│
▼
Isolation Forest Model
│
▼
Anomaly Detection
│
▼
Health Score Engine
│
▼
FastAPI Backend
│
▼
React Dashboard
The platform generates engineered features from raw OBD-II telemetry:
- RPM Delta
- Speed Delta
- MAF Delta
- MAP Delta
- Throttle Delta
rpm
speed
maf
map
throttle_pos
rpm_delta
speed_delta
maf_delta
map_delta
throttle_delta
Algorithm:
IsolationForest(
n_estimators=200,
contamination="auto",
random_state=42
)models/
├── isolation_forest.pkl
├── scaler.pkl
└── feature_config.json
Validation performed on:
2,693,087 telemetry records
| Metric | Value |
|---|---|
| Total Records | 2,693,087 |
| Total Anomalies | 82,823 |
| Overall Anomaly Rate | 3.08% |
| Driving State | Anomaly Rate |
|---|---|
| Idle | 2.86% |
| Traffic | 2.47% |
| Cruising | 2.70% |
| Acceleration | 17.81% |
| Deceleration | 12.28% |
- Acceleration and deceleration states exhibit significantly higher anomaly rates due to transient vehicle dynamics.
- Steady-state driving (traffic, cruising, idle) maintains consistent low anomaly rates.
- The model learned a compact normal driving region with minimal anomaly inflation.
- Python 3.11+
- FastAPI
- Pandas
- NumPy
- Scikit-Learn
- Joblib
- Pydantic
- React
- TypeScript
- TanStack Start
- TanStack Router
- React Query
- Tailwind CSS
- Recharts
- Isolation Forest
- StandardScaler
- Custom Feature Engineering Pipeline
OBDAnomalyDetector/
│
├── client/
│ ├── routes/
│ ├── components/
│ ├── hooks/
│ └── api/
│
├── server/
│ ├── preprocessing/
│ ├── analytics/
│ ├── ml/
│ └── api/
│
├── models/
│
├── data/
│
├── reports/
│
├── docs/
│
└── README.md
git clone https://github.com/AadilSandeep/OBDAnomalyDetector.git
cd OBDAnomalyDetectorInstall dependencies:
pip install -r requirements.txtRun FastAPI:
uvicorn server.api.main:app --reloadBackend URL:
http://localhost:8000
Swagger Documentation:
http://localhost:8000/docs
cd client
npm install
npm run devFrontend URL:
http://localhost:3000
The current version expects telemetry containing the following core signals:
RPM
Vehicle Speed
Mass Air Flow (MAF)
Manifold Absolute Pressure (MAP)
Throttle Position
Datasets using different column names may require updates to the preprocessing mapping configuration.
- Requires a supported OBD-II telemetry schema
- Designed for offline CSV analysis
- No direct OBD-II hardware integration yet
- No fault-code (DTC) interpretation
- No real-time telemetry streaming
- Automatic schema detection
- Alias-based column mapping
- Support for multiple OBD-II dataset formats
Planned support for:
- ELM327 Bluetooth Dongles
- ELM327 Wi-Fi Dongles
- Live vehicle telemetry streaming
Vehicle
│
▼
OBD-II Dongle
│
▼
Live Telemetry Stream
│
▼
AutoAssist
│
▼
Real-Time Health Monitoring
Future versions aim to provide:
- Live anomaly detection
- Streaming health scores
- Driver alerts
- Continuous health tracking
Future research direction:
Anomaly Detection
│
▼
Diagnostic Engine
│
▼
Root Cause Suggestions
Potential capabilities:
- Airflow anomaly detection
- Sensor drift identification
- Intake system monitoring
- Early fault prediction
v1.0 MVP
- Data preprocessing pipeline
- Driving state classification
- Feature engineering
- Model training
- Anomaly detection
- Health score engine
- Validation pipeline
- FastAPI backend
- React frontend
- End-to-end CSV analysis workflow
This project was developed for academic, research, and educational purposes.
Aadil Sandeep
Computer Science Engineering
Vehicle Analytics • Machine Learning • Automotive AI



