timotheeg / nestrischamps

A web-based OCR and restreamer system for NES Classic Tetris players
MIT License
45 stars 11 forks source link

feat: support gym pause #157

Closed timotheeg closed 8 months ago

timotheeg commented 8 months ago

Context

Gym Pause overlaps the field and interferes with field scanning and block accounting. We we can actually detect the pause text when it overlaps on the block margin.

Approach

Introduce scanning for pause_text, and use that to compute a gym_pause boolean.

When gym_pause:true is detected, generate a fake vanilla pause frame to the server.

Bonus:

  1. Always show the raw OCR value in the calibration widgets. Do not show the corrected values.
  2. Fix broken deferred check for das trainer changes