Computer vision answers · Manufacturing
How do I read seven-segment displays on an edge camera with computer vision?
From meters, scales and controllers that have no data output.
Short answer
Train an object detection model to find each digit on the display, with one class per number from 0 to 9 plus the decimal point, with Roboflow for free. Sort the detected digits left to right and join them into a reading, all on an edge camera next to the display. Accept a reading only when the same value shows on several frames in a row, so a digit caught mid-change never ends up in your log.
Skip the setup. Describe your images.
Describe your images and what you need to find. The agent sets up labeling, training and deployment with you.
Key facts
- What you need
- A fixed camera on the display and a model trained on its digits
- What you get
- The display's value as a number, every time it changes
- Image sources
- Meters, scales, timers and controllers with LED or LCD digits
- Runs on
- Edge devices such as NVIDIA Jetson, or Roboflow AI1

How to build seven-segment display reading, step by step
Six steps from a camera on a display to a reading you can log.
Connect Roboflow to your coding agent, ChatGPT or Codex
Mount a camera square to the display
Label every digit as its own class
Train a detection model small enough for the edge
Turn the digits into a reading
Pythonimport numpy as np import supervision as sv from inference import get_model model = get_model("your-project/1") result = model.infer("display.jpg", confidence=0.5)[0] detections = sv.Detections.from_inference(result) digits = detections[np.argsort(detections.xyxy[:, 0])] reading = "".join(digits.data["class_name"]) print(float(reading)) # 243.7Rather not write code? Ask the Roboflow agent to set this up for you
Run it on the edge camera and send each reading on
Why 2 million engineers build on Roboflow
Label faster
Auto-label with SAM 3 or your own model, then fix the misses instead of drawing every box.
RF-DETR
Roboflow’s open-source real-time detection model, built for accuracy (opens in a new tab) on small objects.
Logic built in
Counting, zones, tracking and alerts are ready-made Workflow blocks, so there is less code to write.
Your model, your weights
Use your trained weights on every plan, including free, through the open-source Inference package.
Run it anywhere
Self-host on a workstation, Docker, an on-prem GPU or an edge device, or call the cloud API.