Udayraj123 / OMRChecker

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

[Feature] Using filled rectangular boxes as markers #125

Open Udayraj123 opened 1 year ago

Udayraj123 commented 1 year ago

Describe the bug When using filled rectangular boxes as markers, omr_marker is getting detected incorrectly Discord discussion: https://discord.com/channels/590134763784896514/1067501671627890731/1067971688169492480

To Reproduce Steps to reproduce the behavior:

  1. Use any sample that contains rectangular filled markers
  2. Run omrchecker on that image
  3. See that the markers are not getting detected correctly.

Expected behavior Markers should get matched as usual for other cases.

image

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

The template matching result is supposed to be a black image with white spots. But it is coming as a full white image.

image

Steps breakdown:

image
Udayraj123 commented 1 year ago

There's a new plugin in development for solving this type of OMRs along with the ones having an timeline strip.

Udayraj123 commented 1 year ago

Converting this issue into a feature. Development tracked in branch: feature/crop-on-timeline --> feature/auto-align-template which tries to implement a generalised version