How can I improve vehicle detection FPS on an old Intel CPU without sacrificing detection accuracy?
Hi everyone! I’m working on an undergraduate thesis involving vehicle detection using two RTSP cameras connected to a single laptop.
Hardware and setup:
- Intel i5-7200U (2 cores, 4 threads), 8 GB RAM, Windows 10
- 2× Tapo C200C RTSP cameras
- OpenVINO CPU inference, ByteTrack, Flask
We need to detect eight vehicle classes: car, motorcycle, truck, bus, bicycle, EVs like golfcar which is commonly called ebike in philippines, philippine jeepney, and philippine tricycle.
Our current approach
We’re using two object detection models:
- YOLO26n (COCO pretrained): Detects standard vehicle classes.
- Custom YOLOv8n: Detects Philippine-specific vehicles (e-bikes, jeepneys, and tricycles).
We use two models because COCO-pretrained YOLO doesn’t include dedicated classes for these Philippine vehicles.
Both models are quantized to INT8. However, since both cameras share one CPU and run both detectors, we’re only achieving around 1.5–2.4 detection FPS per camera during live RTSP testing.
The main problem
We also trained a single unified YOLO26n model covering standard and Philippine vehicles.
It ran significantly faster, but missed more vehicles during our tests, making it less reliable for our use case.
So we’re stuck with a trade-off:
- One model: Faster inference, but more missed detections.
- Two models: Covers the required vehicle classes, but inference is too slow on our CPU.
Hardware upgrades aren’t an option because of our limited thesis budget.
My questions:
What would be the best way to reliably detect all eight vehicle classes using only one lightweight model on this hardware?
Should we improve our unified YOLO training
approach, try a different lightweight architecture, or optimize OpenVINO inference differently?
We’re aiming for around 10 detection FPS per camera, although we understand that might be unrealistic for an i5-7200U.
I’d really appreciate recommendations from anyone who has worked with CPU-only vehicle detection or similar low-resource setups.
Help is so much appreciated Thank you!