A 300-line self-driving car demo that sells Streamlit without selling it
Streamlit's own demo app wraps YOLO object detection around the Udacity dataset to show what its framework can do in a browser.

What it does
This is Streamlit’s official demo: an interactive image browser for the Udacity self-driving car dataset, with YOLO running object detection in real time. You pick an image, it draws bounding boxes. The whole thing fits in under 300 lines of Python.
The interesting bit
It’s not really about self-driving cars. It’s a polished, live-running advertisement for Streamlit’s building blocks — caching, sliders, image display, remote code execution — disguised as a computer-vision toy. The README even lets you streamlit run straight from a raw GitHub URL, which is a neat trick for zero-install demos.
Key highlights
- Under 300 lines of Python, per the README’s own boast
- Runs entirely in a browser via Streamlit’s hosted sharing
- Uses OpenCV and YOLO (Darknet) for detection, not training
- Demonstrates caching, UI widgets, and image manipulation in one file
- One-liner install:
pip install streamlit opencv-python
Caveats
- The README is sparse: no mention of YOLO version, model size, or inference speed
- “Real-time” is claimed but undefined; likely means “interactive” rather than video-rate
- The GIF is a making-of animation, not a screenshot of the actual UI
Verdict
Grab this if you’re evaluating Streamlit and want a working reference app faster than reading docs. Skip it if you need a serious YOLO benchmark or a production-ready annotation tool — this is a framework demo wearing a CV costume.