OCR and Calibration

If you have not setup your OBS browser source, please do so first:

pageSetup OBS Browser Source

OCR is supported in browser for both device capture and screen capture.

2 default game ROMs are supported:

Classic Tetris

The fields that need to be OCR-ed per ROM are fixed (see highlighted areas above).

There is a built-in automatic calibrator but it does not work too well, so you should always adjust the areas selected for calibration to be as close as possible to the desired outcome.

In both cases, go to https://nestrischamps.io/room/producer, start a game at level 0 before you press the Calibrate and Capture button. In DAS Trainer, pause as soon as the game starts, then click the button. In Classic Tetris, click as soon as the game starts. In both cases, keep your fingers crossed that the auto calibrator takes you close to the desired state, and then fine tune all the capture areas to be pixel perfect.

Once calibration and tuning has been done, the capture window and the browser tab must stay focused (do not move to other tabs).

Digits

The capture area should "hug" the digits on top, right, bottom, left, (using 0 as a reference), like this:

Note that if you calibrate something that starts with a 1, the captured area should NOT hug the one on the left (notice the black strip on the left).

Preview

To calibrate the preview properly, run the calibration in level 0 over multiple pieces, such that:

"hugged" means there is no black border.

Current Piece (DAS Trainer only)

To calibrate the preview properly, run the calibration in level 0 over multiple pieces, such that:

Color (Classic Tetris only)

Reading colors from the frame helps matching the block colors when scanning the field.

The are 3 colors to read: color1, color2, and color3. They should be read from the pieces stats on the left by selecting one block from the T piece, J piece, and Z piece.

The blocks should be chosen like this

The selection should not include any black border, but color1 should include the block's border. They should look like this:

Field

To calibrate the field capture, try to stack pieces on the left, right, and bottom, and even all the way up on the top-left and top-right.

Having done that, hug the capture on right, left, top, bottom. do not leave black borders at the bottom and right! Like this:

Congratulations

Congratulations! You have made it 🥳

Untick Show Parts if you have not, to save some rendering power.

And remember, always keep the producer in the foreground and keep it focused when streaming, otherwise the performance will be horrible.

Last updated