Computaco

Frames the simulator labels itself make OCR better on unseen fonts

Can frames the engine renders, labelled by the engine itself, train a better OCR model? One consumer reported that training on them raised accuracy on held-out fonts by 12.6 percentage points, from 66.8% to 79.4%. It is one reported experiment, without the details that would make it reproducible.

66.8%held-out-font accuracy before
79.4%after training on simulator-labelled frames
+12.6 ppreported change, one experiment
Engine-rendered GitHub page with text and control bounds overlaid
Figure 1. Rendered frame with its ground-truth bounds: an example of the scene labels available from ComputerWorld. This is not a sample from the reported training dataset.

The question

Does text that the simulator both renders and labels make useful OCR training data? The engine knows every string it draws and where, so its frames come with their own labels.

Method

An agent types text in the simulated world. The engine renders that text and exposes its string, bounds, and transform through scene(width, height). Pair each text region with the corresponding crop from render(width, height) to produce labelled OCR examples.

Results

Accuracy on held-out fonts rose by 12.6 points

One consumer trained an OCR model using its own agent’s typed text. Reported accuracy on held-out fonts rose by 12.6 percentage points, from 66.8% to 79.4%.

Limitations

The project’s published account does not specify the model architecture, training-set size, split, or uncertainty estimates. This is a reported result from one experiment, not a general performance guarantee or a complete reproducibility package.

Reproduce it

  1. Record an episode containing the text you want to render.
  2. Replay it with the same engine version, world, seed, and actions.
  3. Extract text nodes and render frames at the same viewport.
  4. Vary supported themes, viewports, and bundled typefaces, keeping evaluation fonts separate from training fonts.

Keep the engine version with the dataset: pixel output can change between releases.

Technical documentation and source account ↗

Every frame the engine draws comes with its text boxes. Run the engine and render some