Benign InnovationsCompany & role details

Sprayer-Robot Detection from Auto-Labeling to Deployment

A shared-label detection pipeline combines GroundingDINO, COCO, tracking, and segmentation annotations, then trains YOLOv11n and exports NCNN for CPU inference.

Owner-provided sprayer-robot summary illustrating labeled objects, combined annotation sources, shared class IDs, YOLOv11n training, and NCNN CPU inference.
Project summary illustration; displayed scores and validation figures are illustrative.

Tools & Skills

  • Auto-Labeling
  • GroundingDINO
  • YOLOv11
  • NCNN
  • MLflow
  • SAMURAI
  • COCO Annotation
  • Object Detection
  • CPU Profiling

A common dataset for robot perception

I developed an object-detection pipeline for a sprayer robot, combining several annotation sources under one class-ID convention. The workflow connects dataset preparation, YOLOv11n training, validation, and NCNN CPU inference.

The shared vocabulary contains eight classes. Individual training configurations can select a subset; the checked-in foreground detector configuration selects person, animal, marker, shoes, and face.

Combining complementary label sources

Shared ID Category Annotation source
0 Grass SEEM and SAM2 segmentation workflow
1 Plant SEEM and SAM2 segmentation workflow
2 Road SEEM and SAM2 segmentation workflow
3 Person GroundingDINO and remapped COCO labels
4 Animal GroundingDINO and remapped COCO labels
5 Marker Tracking-derived SAMURAI annotations
6 Shoes GroundingDINO
7 Face GroundingDINO

The GroundingDINO exporter uses class-specific prompts and thresholds, applies non-maximum suppression, and writes normalized YOLO boxes alongside review images. It also removes face predictions that overlap animal boxes.

A separate converter maps COCO people and animal categories into the shared IDs and excludes crowd annotations. Merge utilities combine label files by image name, including the tracking-derived marker labels. That merge assembles annotations; duplicate or conflicting boxes still need review.

The ground classes reuse the instance-segmentation pipeline. Reserving their IDs lets related datasets share conventions without requiring every detector checkpoint to predict all eight categories.

Training and evaluation

The training entry point starts from YOLOv11 nano weights and exposes the dataset, input size, and selected classes as configuration. Validation logs aggregate and per-class precision, recall, F1, and mAP to MLflow, supporting comparison across training runs.

NCNN integration

The export script produces an NCNN model with 320 × 320 input. The CPU inference runner resizes and normalizes images, invokes NCNN, filters detections, applies NMS, and maps coordinates back to the original frame. It also records timing and CPU utilization for profiling.

The integration keeps image preprocessing, checkpoint output layout, class mapping, and coordinate conversion aligned with the exported model. These details connect training-time labels with detections that the robot application can use.

This work supplies the robot’s perception component. Detection outputs can inform downstream behavior, while spraying decisions and motion control belong to the wider robot application.

Project diagram

100%Drag or scroll to explore

Project image

Click outside the image or press Escape to close.