AppStars

Essential Energy, 2019–2020

Computer vision on power poles: a prototype that finds insulators and cross-arms.

We built a computer vision prototype for Essential Energy: an object detector that finds cross-arms and insulators in pole inspection photos, the first step towards automated defect detection across a network of more than 1.3 million poles. It was a deliberate feasibility experiment, and it showed where the real effort in pole-top vision sits.

Client
Essential Energy, the NSW Government-owned electricity distributor
Industry
Energy & utilities
Services
Computer vision, object detection, data preparation
Platforms
Python and Jupyter, Apple Turi Create (YOLO-family detector), Pillow, multiprocessing
Our role
We designed and ran the prototype end to end: the image pipeline, labelling, training and review, and proposed the labelling tool to follow.

The challenge

An electricity network with more than 1.3 million poles produces a steady stream of inspection and drone photos, far more than people have time to look at twice. Could a model at least find the parts of a pole that matter, the cross-arms and insulators, so that one day it could help find the defects on them?

Pole-top equipment is a hard target. The objects are small: in a 1024-pixel photo of a whole pole, an insulator is a few dozen pixels across. The background is busy with sky, scrub, wires and other poles in every light. The photos were taken for inspection, not for a model, and each carried a burned-in metadata strip. And no labels existed: every training example had to be drawn by hand.

Our approach

We ran the smallest experiment that could fail informatively. A prototype's job is to answer "is there signal here, and where is it hard?" cheaply, before anyone invests in infrastructure or a big labelling effort.

We used Apple's Turi Create, which wraps a YOLO-style detector behind a few lines of Python, so no time went on training infrastructure and all of it went on the data. That trade is right for a feasibility test, and it is how we start computer vision engagements today.

What we built

Cleaning the images before anything learns from them

Every photo had a white metadata band along the bottom. Left in, it becomes the most consistent feature in the dataset, and a model will happily learn from it. The pipeline crops the band, centres a square on the pole and resizes to 1024 by 1024 with Lanczos resampling, which keeps the fine edges of a thin ceramic disc against the sky. It ran across eight processes over a random sample of a thousand photos.

Labelling two classes, carefully

We drew bounding boxes for two classes, cross-arm and insulator, saved as Pascal VOC XML and then COCO JSON. Moving between formats is where detection projects quietly go wrong: COCO stores a box's top-left corner, the training library wanted its centre. Forget the half-width offset and every box shifts, the loss still falls, and the model learns to point beside everything. We converted explicitly, then drew the converted boxes back onto the photos and looked before training. Draw it and look is the cheapest test in computer vision.

Training a small detector

The YOLO-family detector, with a Darknet backbone and a 416-pixel input, trained on a few dozen labelled photos holding a few hundred boxes, at a batch size of eight for 10,000 iterations: about an hour and a half. That dataset was tiny on purpose.

Reading the results honestly

We reviewed predictions drawn beside the true boxes on held-out photos. Cross-arms, large and regular, came more easily than insulators, which are small and vary in type and angle. The size problem is structural: an insulator a few dozen pixels across in a 1024-pixel crop shrinks to around fifteen pixels at a 416-pixel input. More training would not fix that; a different input strategy would.

We deliberately don't publish an accuracy score for this experiment. On a held-out set this small, a score mostly tells you which photos landed in the test split.

A proposal for an iPad labelling app

The biggest finding was about labels. There was no good tool for field staff to draw ground-truth boxes on photos, and the people who can tell one insulator type from another should be the ones labelling. We proposed an iPad labelling app so they could.

Architecture

  1. Inspection photosMetadata strip along the bottom
  2. Crop and resizeSquare, 1024 px, eight processes
  3. LabelCross-arm and insulator boxes, VOC then COCO
  4. TrainYOLO-family detector, 416 px input
  5. ReviewPredicted and true boxes side by side

A notebook prototype: no model was deployed to the field.

Results

Under the hood

Small, fast and focused on the data.

What it taught us

The most useful output of a prototype is often a decision, not a model. This one showed that the effort in pole-top vision sits in labelling and image resolution, not in the choice of network, and that shaped the proposal that followed. It sits beside our demand forecasting work on the same network, and the on-device thinking behind our Edge AI glasses prototype.

What production would need

  • Many more labels, with model-assisted pre-labelling. A model proposes boxes and experts correct them, turning hours of drawing into minutes of checking.
  • Tile instead of shrinking. Run the detector over overlapping full-resolution tiles so small parts keep their pixels.
  • Split by pole, not by photo. Two photos of one pole on both sides of the split measure memory, not skill.
  • Find components, then defects. Cracked or flashed-over insulators are a second model trained on crops, with its own rare-class problem.
  • Keep a person in the loop and decide where it runs. Rank photos for review before deciding anything, and keep inspection imagery of critical infrastructure on devices or servers the organisation controls, not a third-party AI service. That is the core of our self-hosted AI approach.

Questions

What did the prototype detect?

Two kinds of pole-top equipment in inspection photos: cross-arms and insulators. Finding them is the first step towards detecting defects on them.

How accurate was it?

We don't publish a score: on a held-out set this small, it would mostly reflect which photos landed in the test split. Reviewing predictions showed cross-arms came more easily than insulators, which are small at the model's input size.

What would it take to go to production?

Many more expert labels, full-resolution tiling for small parts, splits by pole rather than by photo, a second model for defects, and a person reviewing what the model flags.

Where should a model like this run?

On devices in the field or on servers the organisation controls. Inspection imagery of critical infrastructure should not go to a third-party AI service by default.

Related

The services behind this work, and more stories like it.

Services

Case studies

Bring us the hard problem.

A 45-minute discovery call with the engineer who'll build it.