Skip to content

OMRChecker v2.0.0 #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 275 commits into
base: master
Choose a base branch
from
Open

OMRChecker v2.0.0 #220

wants to merge 275 commits into from

Conversation

Udayraj123
Copy link
Owner

@Udayraj123 Udayraj123 commented Sep 29, 2024

Closes multiple feature requests/issues: #156 #128 #125 #105 #39 #185 #247

  • Support for colored outputs! OMRChecker can optionally become colorful with a very small performance overhead :)
  • Showing scores, colored verdicts and symbols from the answer key (credits @palash018)
  • Major refactoring done around read_response and for general code readability
  • Upgraded overall preprocessors structure
  • Upgraded CropOnMarkers plugin to support patch areas, blob detection(for the four corners and more), line detection
  • Upgraded CropPage preprocessor to correct page curvature slightly (ref)
  • Added a top level try catch to mention debug mode
  • Introduces the schema for reading barcodes and sorting files
  • Support for exporting omr metrics (exportable to a JSON object which can be used for visualisations and calculating quality/confidence scores)
  • More refactors:
    • Renamed pageDimensions -> templateDimensions
    • Support for a top level processingImageShape as well as pre-processor level processingImageShape
    • Added conditionalSets in the schema.
    • Rename the fieldType to bubbleFieldType and introduced fieldDetectionType
    • Support multiple images in image utils like resize/normalize, etc
    • support imports in pre-commit hook scripts
    • add auto remove unused imports hook
    • add code coverage module
    • add virtual environment support

Changelogs from #237

  • Support for barcode field(pyzbar)
  • Refactor drawing classes to enable drawing any field types
  • Add a simple launch.json(VScode py debugger)

Changelogs from #186

  • update snapshots using pandas to_string()
  • feat: support for image snapshots
  • feat: use $ref and $def addresses in all schemas
  • refactor drawing utils
  • refactor: detection logic
  • feat: run_sample_fixture
  • feat: working save_image_levels for color and grayscale debug stack images

Changelogs from #192

Fixes #190 and #191
Also addresses: #36

  • feat: separately merge questions, answers and marking schemes from parent
  • feat: basic working conditional set
  • feat: pass matched set name

Other Features covered

  • feat: template roi gui; created local scripts folder as todo; add new template for conditional sets

  • fix: defaultSelector issue

  • feat: support for customFieldTypes in template.json; fix template matching issue

  • Added support for show_preprocessor_diff{} to display per-processor level before-after images (apart from show_image_level)

  • Stabilised autorotate by giving option to crop from preview

  • preview can be enabled for all preprocessors in config.json (autorotating sample is available in Autorotating folder in samples)

Changelogs from #197

  • add Contrast preprocessor
  • add AutoRotate preprocessor
  • rename scan areas to scan zones
  • template alignment using SIFT and delaunay triangulation
  • add phase_correlation_shifts
  • foundation for local scripts
  • support for output_mode==moderation
  • support for section-wise streak marking in evaluation
  • fixed utf character issue in windows
  • add coverage module

Current Master branch:

~35 Files, 4441 loc == Avg 126.8 lines per file, yet highly coupled code and restricted to bubble fields.

After code merge

~112 Files, 16000 loc == Avg 142.8 lines per file, Yet much more readable, more extensible and full of features.

Udayraj123 and others added 30 commits March 23, 2024 13:21
refactor: separate schema verdicts from question verdicts;
…_image_shape

feat: complete marked bubbles on colored images
fix: debugging help

fix: threshold hack
fix: py version

fix: env class

fix: ut issues

fix: timezone issue

fix: timezone issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Support for Set mapping in the evaluation schema
5 participants