How arezyhs/cv-final-project works
This repository runs a reproducible BDD100K road-object detection experiment, comparing Selective Search + HOG + Linear SVM with a HOG-LBP variant. The main workflow is dataset preparation, manifest splitting, crop generation, feature/model training, inference, validation threshold selection, and evaluation; optional download and test stages are also documented. The graph includes EDA and experiment reporting as supporting capabilities. Relationships follow the sampled orchestrator and source references; unsampled implementation details are not assumed.
Main entry points: run_pipeline.py Pipeline runner · train_svm.py SVM training · predict.py Selective Search inference · build_training_data.py Training crops
Components 17
Dataset preparation
- Dataset download
src/download_dataset.py - Manifest and splits
src/make_manifest.py - Training crops
src/build_training_data.py
Modeling and inference
- HOG / LBP features
src/features.py - SVM training
src/train_svm.py - Saved models
models - Selective Search inference
src/predict.py
Analysis and evaluation
- Data analysis
src/eda.py - Threshold tuning
src/tune_inference.py - Detection evaluation
src/evaluate.py - Detection visualization
src/visualize_detections.py - Result summaries
src/summarize_results.py - Experiment log
src/experiment_log.py
Experiment orchestration
- Experiment config
configs/project_config.yaml - Pipeline runner
src/run_pipeline.py
Other components
- Researcher
- BDD100K / KaggleHub
Connections 24
- Researcher → Pipeline runner: runs experiment
README.md - Pipeline runner → Experiment config: loads settings
src/run_pipeline.py - Pipeline runner → Dataset download: optionally downloads
src/run_pipeline.py - Dataset download → BDD100K / KaggleHub: fetches subset
- Pipeline runner → Manifest and splits: creates splits
src/run_pipeline.py - Dataset download → Manifest and splits: builds manifests
src/download_dataset.py - Pipeline runner → Training crops: builds crops
src/run_pipeline.py - Training crops → Manifest and splits: reads annotations
src/build_training_data.py - Pipeline runner → Data analysis: analyzes data
src/run_pipeline.py - Pipeline runner → SVM training: trains models
src/run_pipeline.py - SVM training → HOG / LBP features: extracts features
src/train_svm.py - SVM training → Training crops: reads crop samples
- SVM training → Saved models: saves models
- Pipeline runner → Selective Search inference: runs inference
src/run_pipeline.py - Selective Search inference → HOG / LBP features: extracts features
src/predict.py - Selective Search inference → Saved models: loads models
- Pipeline runner → Threshold tuning: tunes thresholds
src/run_pipeline.py - Threshold tuning → Detection evaluation: scores candidates
src/tune_inference.py - Pipeline runner → Detection evaluation: evaluates detections
src/run_pipeline.py - Detection evaluation → Training crops: uses IoU
src/evaluate.py - Pipeline runner → Detection visualization: renders detections
src/run_pipeline.py - Pipeline runner → Result summaries: summarizes results
src/run_pipeline.py - Pipeline runner → Experiment log: records runs
src/run_pipeline.py - Pipeline runner → Selective Search inference: optionally tests
README.md