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]Not able to process custom template #149

Closed mjskishore closed 9 months ago

mjskishore commented 11 months ago

Describe the bug Hi, I have created a custom OMR sheet and custom template json file (both files attached for reference). I am trying to run the program as described in the guidelines. The program working perfectly with all samples in samples folder (sample1 through 6). However, with the custom OMR sheet, I am getting mixed results. For empty bubbles, it is giving "ABCD" instead of empty. For some fields, it gives output with multiple options. Can't we use same template for both the files? Sample OMR.docx

Results_04PM.csv

sample7.zip

To Reproduce Steps to reproduce the behavior:

  1. Download the sample7.zip (attached). Unzip and copy sample7 folder to inputs folder.
  2. Note: The file template.json prepared based on test1.jpeg using command 'python main.py --setLayout'
  3. Command(s) used 'python main.py'
  4. Check results in .\outputs\sample7\Results folder.

Expected behavior Both files should be processed properly. Results_04PM.csv file also attached for reference.

Desktop

Udayraj123 commented 11 months ago

Hi @mjskishore, there are a few ways you can try to fix this.

Udayraj123 commented 9 months ago

Closing for inactivity. Feel free to reopen if any queries