Udayraj123 / OMRChecker

Evaluate OMR sheets fast and accurately using a scanner 🖨 or your phone 🤳.
GNU General Public License v3.0
704 stars 295 forks source link

[Bug] Template images cut off #163

Closed mgrenier7 closed 5 months ago

mgrenier7 commented 5 months ago

Describe the bug I scan an image, it is fairly large (5100 x 6600 pixels) the image generated while I am trying to generate an accurate template is cut off. There are no scroll bars or any way to see the cot of section of the image so I can't verify the accuracy of the boxes which are cut off.

Expected behavior I expect to be able to view then entire generated image. The below screen shot is the entire visible portion of the generated image, clearly not the entire scanned sheet and I can't see any more of it. Need scroll bars to view the entire image and it shouldn't depend on your screen resolution which it appears to as the generate image dimension change when I alter my resolution or when I make my screen portrait rather than landscape.

Screenshots template-sample

Desktop (please complete the following information):

Udayraj123 commented 5 months ago

Hi @mgrenier7, this is currently an intended behaviour as we need to see the debug outputs in full clarity by default. Also ideally the window should be possible to resize down -

image image
Udayraj123 commented 5 months ago

You try this config.json file -

{
  "dimensions": {
    "display_height": 800,
    "display_width": 600
  },
  "outputs": {
    "show_image_level": 4
  }
}

And adjust display_width and height accordingly to avoid cut-offs.

Feel free to reopen if issue still persists :)