Computer vision answers · Construction
How do I identify electrical distribution board components with computer vision?
In a breaker panel or distribution board, without writing down every breaker by hand.
Short answer
Train an object detection model to find each component in photos of a breaker panel, such as the main breaker, circuit breakers and GFCI or AFCI breakers, with Roboflow for free. Sort the breakers into the panel's two columns, top to bottom, to get its layout, and add OCR to read each breaker's amp rating. Label each breaker type as its own class, including blank fillers, so empty spaces in the panel are recorded too.
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
- Panel photos and a model trained on your breaker types
- What you get
- Each breaker found, in panel order, with its amp rating read
- Image sources
- Phone and tablet photos taken on site
- Runs on
- Cloud API, or a laptop or server running Docker

How to build breaker panel detection, step by step
Six steps from a photo of a breaker panel to every breaker listed in order.
Connect Roboflow to your coding agent, ChatGPT or Codex
Photograph each panel straight on
Label each breaker type as its own class
Train a detection model
List the breakers in panel order
Pythonimport numpy as np import supervision as sv from inference import get_model model = get_model("your-project/1") result = model.infer("panel_07.jpg", confidence=0.4)[0] detections = sv.Detections.from_inference(result) breakers = detections[detections.data["class_name"] != "main_breaker"] centers = breakers.get_anchors_coordinates(sv.Position.CENTER) is_left = centers[:, 0] < (centers[:, 0].min() + centers[:, 0].max()) / 2 for side, mask in (("left", is_left), ("right", ~is_left)): column = breakers[mask] print(side, column[np.argsort(column.xyxy[:, 1])].data["class_name"].tolist()) # left ['breaker', 'breaker', 'gfci_breaker', 'breaker'] # right ['afci_breaker', 'breaker', 'breaker', 'blank']Rather not write code? Ask the Roboflow agent to set this up for you
Read each breaker's amp rating with OCR
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.