News

WahInnovations has merged into MoreYeahs IT Technologies, enhancing our Salesforce solutions with AI and Data Engineering.

WahInnovations joined MoreYeahs.

Get in touch

AI-Powered Rod and Stem Detection and Counting System Delivering 98%+ Counting Accuracy on Manufacturing Conveyor Lines

A YOLOv8 segmentation and tracking system that detects, classifies, and counts rods and stems on conveyor lines in real time, without duplicate counts.

Nov 1, 2025
Published
MoreYeahs
Author
Manufacturing
Tags
Overview
  • Industry: Manufacturing
  • Engagement: AI-Powered Vision-Based Production Counting
  • Focus: Real-Time Rod and Stem Detection and Counting
Objectives
  • Automate real-time detection, classification, and counting of rods and stems on conveyor lines
  • Eliminate duplicate counts caused by object overlap and tracking loss
  • Give operators a configurable, self-serve counting interface
01 / 07

Customer

Manufacturing and processing facilities face challenges accurately detecting, classifying, and counting rods and stems moving on conveyor belts, where manual inspection is slow, inconsistent, and prone to error.

MoreYeahs built an AI-powered rod and stem detection and counting system for manufacturing organizations, giving production and quality control teams accurate, real-time counts without manual tallying.

02 / 07

Business Challenge

Manual counting and legacy vision systems could not keep pace with high-speed, high-similarity production flow:

01

Slow, Error-Prone Manual Counting: manual inspection and counting were labor-intensive and inconsistent between operators.

02

Similar-Looking Objects: traditional sensor-based or rule-based vision systems struggled to distinguish similar-looking rods and stems.

03

Overlap and High-Speed Flow: partial overlap and continuous high-speed conveyor movement caused missed or duplicate counts.

04

Limited Production Visibility: lack of accurate real-time counts reduced visibility for quality control and throughput decisions.

03 / 07

Solution

MoreYeahs built an AI-powered vision system combining a custom-trained YOLOv8 segmentation model with ByteTrack multi-object tracking to detect, segment, classify, and count rods and stems in real time.

Pixel-Level Segmentation: YOLOv8 segmentation ensures precise object boundary detection for each rod and stem.

Persistent Object Tracking: ByteTrack assigns a persistent tracking ID to every detected object across frames.

Virtual Counting Line: a configurable line automatically increments class-wise counts when tracked objects cross it in the correct direction.

Operator Interface: a Streamlit-based web interface lets operators upload video, tune detection parameters, set the counting line, and export annotated video and count statistics.

04 / 07

Implementation

The pipeline runs from video ingestion through segmentation, tracking, and counting, with safeguards against duplicate counts.

Segmentation and Classification: YOLOv8 generates pixel masks and class labels for each rod and stem in the frame.

Trajectory Maintenance: ByteTrack maintains object trajectories across frames, with tracking ID history preventing recounts.

Color-Coded Visualization: color-coded overlays distinguish rods and stems, with a dashboard showing real-time class-wise counts and totals.

Resilient Handling: overlapping or clustered objects are tracked as a group until separation, and temporarily lost detections retain their ID if re-detected within a buffer window.

05 / 07

Technology

The solution combines an industrial conveyor camera setup with a custom segmentation and tracking stack.

YOLOv8 Segmentation Model: custom-trained for rod and stem detection and classification.ByteTrack Multi-Object Tracker: persistent ID assignment for accurate, duplicate-free counting.GPU-Enabled Processing: hardware sized for real-time conveyor-speed throughput.Streamlit Interface & Export Pipeline: video I/O, annotation, and CSV/video statistics export.
06 / 07

Results

In validation testing, the system met its target benchmarks for detection, counting, and tracking accuracy.

93%+
detection and classification accuracy achieved for rods and stems.
98%+
counting accuracy achieved compared to ground truth.
Duplicate count rate held at 2% or below, with tracking ID stability of 95%+.
Real-time processing sustained at required conveyor speed, with annotated video export working reliably.
07 / 07

Business Impact

Accurate, automated counting gives manufacturing teams real-time production visibility without manual tallying.

01

Reliable Production Counts: near-zero duplicate counting gives quality and operations teams a trustworthy throughput number.

02

Reduced Manual Labor: automated counting frees staff from repetitive manual tallying.

03

Operator Self-Service: the tunable interface lets line operators adjust detection parameters and counting rules without engineering support.

04

Extensible to Other Lines: the segmentation-and-tracking approach can extend to other similar-object counting use cases in the plant.

Let's scope your next platform.

Tell us where you're headed. You'll get a senior architect on the first call, a working consultation, not a sales pitch.

Response within one business day from a technical lead, not a bot.
NDA on request before you share anything sensitive.
Prefer to book directly? Grab a 30-min architecture slot on our calendar.