Skip to content
Back to the journal

Computer Vision

How camera-based product counting works on a conveyor

Detection, tracking and a count line: the three ideas behind AI counting on the factory floor.

IIBIT Team

1 min read

Camera-based counting replaces a manual tally or a simple sensor with software that can see each item.

Three building blocks

1. Detection

A model finds every product in a video frame and draws a box around it.

2. Tracking

Each box receives an ID that follows the item from frame to frame, so one product is not counted twice.

3. Count line

When a tracked ID crosses a chosen line, the total goes up by one.

What affects accuracy

  • Stable lighting without strong glare
  • A camera angle that limits overlap between items
  • Belt speed relative to camera frame rate
  • Training images that include your real products and packaging

Before you install

Record a few hours of ordinary production. It shows the difficult cases early: stacked items, damaged boxes and people reaching across the belt.

Read next

Let's build something smart together

Planning an AI solution, business software, website, mobile app or smart-home system? Talk to us for a free consultation.