Skip to content
Computer vision

Vision on a Pi

Object detection experiments with YOLO on a small board.

Status
Experiment
Stack
  • Raspberry Pi 5
  • YOLO
  • Python
  • Linux

The problem

This one is a learning project, not a business need. I wanted to see how far a Raspberry Pi 5 can go with real-time object detection, and what it actually takes to run a vision model on a board that small. Reading about edge AI is one thing; watching the frame rate drop is another.

What I built

A Raspberry Pi 5 with a camera running YOLO object detection on the live video feed. I tried different model sizes to see the trade-off between accuracy and speed: the smallest models keep up with the camera but miss more, while the larger ones see more but fall behind.

I also tested simple tweaks that make a real difference on small hardware, such as lowering the input resolution and only running detection on every few frames.

Stack

Raspberry Pi 5, a camera module, YOLO, Python and Linux.

What I learned

Small boards are capable, but every choice costs something. Model size, resolution and frame rate pull against each other, and the right balance depends on what you need to detect and how fast. Heat matters too: a Pi running inference for long stretches needs proper cooling or it slows itself down. Most of all, I learned to measure before guessing. The numbers often surprised me.

In one line

A learning project about the real limits of running vision models on small hardware.

Next project

OpenHRApp

GPS-based attendance and leave management our staff use every day.