Key takeaways

  • The module combines a STMicro VL53L9CX dToF lidar with a PixArt PAG7936 one-megapixel global-shutter camera, at $325 for pre-order.
  • A 287,000-parameter network runs on the STM32N6's Neural-ART accelerator and upscales 54x42 zones to 216x168 at full frame rate.
  • Flat error drops from 27.1mm (nearest-neighbor) to 8.5mm; edge error drops from 346.5mm to 243mm.
  • Bilinear upscaling is worse than nearest-neighbor at depth edges, because it invents surfaces that don't exist.
  • Adding color data only cut edge error about 6%, so the shipped model uses depth only.

OpenMV has opened pre-orders for a depth-sensing camera module that pairs a 120-frames-per-second global shutter color camera sensor with an STMicroelectronics VL53L9CX direct time-of-flight (dToF) lidar sensor, priced at $325 on the OpenMV store. The more interesting part is what runs on it: a compact neural network, developed on the same hardware, that quadruples the usable resolution of the lidar's depth readings.

The network measures 287,000 parameters, runs entirely on-device, and lives on the Neural-ART accelerator built into the STMicro STM32N6 at the heart of the OpenMV N6 machine vision development board. It takes the sensor's 54x42 zone readings and upscales them to 216x168 at the full frame rate, splitting the work between the accelerator and the CPU. For anyone prototyping depth-based perception, this is a worked example of how much you can squeeze out of a coarse sensor when the inference is cheap enough to run next to it.

Why bilinear upscaling fails at depth edges

The VL53L9CX sees about 55 degrees across in 54x42 square zones, and each zone reports one distance. That's enough to see a person or a wall, though the edges are blocky, as OpenMV cofounder Ibrahim Abdelkader puts it. The obvious fix is bilinear upscaling, and it's worse than it looks.

The problem is geometry. At the edge of a person 1.2m away standing in front of a wall at 3.4m, bilinear fills the gap with a ramp of 1.5m, 2m, 2.8m. None of those surfaces exist. Anything that reads the depth downstream, like a person detector or an obstacle check, sees a slope where there is a cliff.

OpenMV reports that in its tests bilinear puts more edge pixels more than 10% off than plain nearest-neighbor does. The two standard interpolation options then leave you with blocky edges or invented surfaces, and neither is safe for a robot that has to decide whether to stop.

What the neural network actually delivers

The measured numbers favor the network. The flat error drops from 27.1mm with nearest-neighbor and 24mm with bilinear filtering to 8.5mm. The edge error drops from 346.5mm and 340.5mm with nearest-neighbor and bilinear respectively to 243mm.

The percentage of edge pixels more than 10% off their actual position drops from 25% with nearest-neighbor and 31.8% with bilinear filtering to 17.5%. In visualized depth readings the blockiness of the edges is removed.

Two things are worth noting when you compare these figures. First, all of them come from OpenMV's own tests on its own hardware, so treat them as best-case numbers from the vendor rather than independent benchmarks. Second, the edge error stays large in absolute terms, 243mm, even after the network. A quarter-meter of edge uncertainty is fine for a person detector but you'd want to think twice before feeding it into a tight navigation loop.

What the network cannot do

Abdelkader is upfront about the limits, and they follow from the sensor. Anything smaller than a zone can't be recovered, only guessed. A zone that reports a wrong distance can only be down-weighted, not fixed.

The training scenes are indoor scenes, and the noise was recorded indoors. Bright sunlight is still untested. If your product works outdoors, that is a real open question for the sensor and the model alike.

The practical takeaway for your own designs: upscaling improves edge sharpness between zones, but it cannot create information that the 54x42 grid never captured. Design your downstream logic so a missed thin obstacle or a bad zone reading fails safely, because the model won't save you from those.

Why the shipped model ignores color

The VL53L9CX module also carries a color sensor, and color shows exactly where an edge is, so OpenMV tried using it. It brought the edge error from 234mm to 219mm, and to 229mm in dim light. A much larger color model only reached 204mm.

Abdelkader's conclusion: about 6% wasn't worth a second sensor, calibration and alignment, so the shipped model uses depth only. His framing is worth quoting for anyone building hardware: "Finding that out on real hardware, instead of guessing, is what a good research platform is for."

The same arithmetic applies here. A fused color-plus-depth model was technically possible and measurably better, and OpenMV still shipped the simpler one because the gain didn't pay for the added calibration and alignment burden. When your own AI experiments show a small improvement, the same question is worth asking.

Using this module in a prototype

The module combines the STMicro VL53L9CX dToF sensor with a one-megapixel PixArt PAG7936 global-shutter color camera sensor, and is available to pre-order at $325 on the OpenMV store. A full write-up on the model's development is available on the OpenMV blog.

If you're evaluating it against alternatives, the numbers that matter most are the 120fps camera rate, the 55-degree field of view, the 54x42 zone resolution, and the fact that the upscaling runs at the full sensor frame rate on the N6's Neural-ART accelerator. Whether those specs fit your project depends on what your depth pipeline needs to do with a 54x42 grid and a 55-degree field of view.

The outdoor question also affects where you can deploy it. Since the noise model was trained indoors and sunlight is untested, an indoor robot, kiosk or desk-mounted device is the safe fit today. For outdoor use, wait for or run your own sunlight tests before committing.

What to check if you try your own upscaling

If you have an N6 or plan to get one, the OpenMV write-up gives you a template for the process. Start by characterizing the baseline errors of nearest-neighbor and bilinear on your own scenes, because those baselines are what any learned method has to beat.

Next, measure the errors that matter for your application separately. OpenMV tracks flat error, edge error and the share of edge pixels more than 10% off, and the network improves each by a different amount. A pick-and-place machine cares about flat error; an obstacle avoider cares about edge error and bad-edge percentage.

Finally, test the limits deliberately. OpenMV's list is a good starting checklist: sub-zone objects, wrong-distance zones, training domain versus deployment domain, and low light. Ablate your fancier version against your simple one on real hardware before you ship, the way OpenMV did with color fusion. Six percent of edge error is not always worth the second sensor.

Questions readers ask

What resolution does the lidar actually output?

The VL53L9CX sees about 55 degrees across in 54x42 square zones, with each zone reporting one distance. The neural network upscales that to 216x168.

How fast is the camera?

The color camera sensor runs at 120 frames per second with a global shutter and one-megapixel resolution.

Does the model use the color camera to improve depth edges?

OpenMV tested it. Color brought edge error from 234mm to 219mm, or 229mm in dim light, and a larger color model reached 204mm. That roughly 6% gain was not worth the second sensor, calibration and alignment, so the shipped model uses depth only.

Where can I get the full details?

A full write-up on the model's development is on the OpenMV blog, and the module is available to pre-order at $325 on the OpenMV store.

The AI Hardware Prototyping Stack is a free checklist of tools and prompts.

Circuit Owl Lab wrote this with AI from public sources, and a separate review pass checked its claims against them. Nothing here comes from first-hand testing.