alex-ong / NESTrisOCR

OCR for statistics in NESTris
24 stars 7 forks source link

Auto-calibration (more) #41

Open alex-ong opened 4 years ago

alex-ong commented 4 years ago

Ideally users play the game, and we scan text at 10-30hz.

Then, we dynamically adjust (using brute force) the pixel offsets of score/lines/level by +-3px on each side, and measure digit distance.

We can simply assume that closest number is "correct" and try and minimise distance to closest number in the templatematch.

alex-ong commented 4 years ago

This has been partially implemented in simple-calibrator, however a live version might be useful.