Menu
Back to Articles•
•

It Is Easy to Say Your Cube Solver Has a Camera Scan

It Is Easy to Say Your Cube Solver Has a Camera Scan

Almost every Rubik’s Cube solver website says the same thing. “Camera scan included.”

It is a free sentence. Nobody checks it. You write it, you ship it, and the feature exists on paper.

A camera scan that actually works is a completely different story. Getting here took months, a dozen dead ends, and more failed models than I can count. In this post I want to show the full path, with real numbers, so you can judge for yourself what a working scanner actually costs.

⚡ TL;DR: The road to a real camera scanner

  • RGB first, and it fails fast: Red and orange are nearly the same numbers to a computer.
  • HSV helps, but not enough: Better color separation still breaks when the light changes.
  • Color calibration works, but users hate it: Calibrate in the morning and it is useless by evening.
  • Early ML models beat the rules, then starved: About 400 cube scans is nowhere near enough data.
  • The current model (v11) produced 26,419 valid cube scans: Across 412 devices, 118 hardware types, and 60 countries, in lighting from morning to night.

Step 1: RGB, and the Red vs. Orange Wall

The obvious starting point is the RGB color model. It is what a camera gives you, so it is what everyone uses first.

It fails almost immediately on one specific pair: red and orange. In RGB space, their numbers are so close that normal room lighting pushes them on top of each other. The scanner confidently reads your orange stickers as red, and the digital cube has nothing to do with the one in your hands.

Step 2: HSV, a Bit Better, Still Fragile

The standard fix is switching to the HSV color model, which separates the actual color from how bright it is. That does make red and orange easier to tell apart.

I used it, and I got further. But HSV still relies on fixed thresholds, and real lighting does not respect fixed thresholds. A warm living room bulb at 9 PM quietly shifts every boundary, and the guesses start again.

Step 3: Color Calibration, a Solution Users Will Not Tolerate

The textbook answer is color calibration: show the scanner a reference, let it adjust to the current light.

Technically it works. Practically it is a dead end. Every time the light changes, you have to recalibrate. Calibrate your cube scanner in daylight and it stops working in the evening. That is a setting that punishes casual users for the crime of turning on a lamp.

Step 4: Machine Learning, and Not Enough Data

So I trained ML models. The first ones were already better than the RGB and HSV versions, which was encouraging.

Then reality hit. The models were trained on roughly 400 cube scans. That is a hobby dataset. It works great on the cube on your desk and falls apart on a phone you have never seen, under a lightbulb you do not own.

Step 5: More Data, More Models, and Honest Failures

The only way forward was data. A lot of it, from real users, real phones, and real lighting.

Over time I ran a whole series of experiments with larger datasets and more sophisticated model architectures. This is the part nobody writes about: not all of them worked better. Some newer, fancier models were actually worse than the ones they were meant to replace. Each candidate had to be tested against the old models before it could earn a place.

The current model is version 11. It produced 26,419 valid cube scans in testing. A scan counts as valid only if the resulting cube state is actually solvable, so a color mistake anywhere on the 54 stickers fails the scan.

This is the part no demo video can fake. The model was not tested in my kitchen. It was tested at 5 AM and at midnight, on 118 different hardware setups, in 60 countries, under lighting conditions nobody chose for it.

How I Review Thousands of Scans

Manually reviewing 15,000+ sessions is impossible. So the old models do the first pass.

Every new scan gets checked by the previous model. Everything that comes back valid is accepted. Everything that is not valid gets flagged for manual review. Luckily, that is a low percentage of the total, which is exactly the signal you want.

And this never stops. Every month the fresh data is reviewed and tested against the current model. If the error count suddenly jumps, that is a warning that something new appeared in the real world: a new cube model, a new phone camera, a new lighting trend. That is the trigger to train the next version.

What Still Fails

The current model is stable in good light and in low light, and it works with a wide range of different cubes.

It is not magic. Turn the lights off completely and no scan will be possible. A camera with no light sees nothing, and I am not going to pretend otherwise.

So What?

When the next cube solver tells you it has camera scan, ask one simple question: how many scans, on how many devices, under what lighting, did they validate it with?

Try the scanner on your own cube →

3 articles