Skip to content
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

OMRChecker v2.0.0 #220

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

OMRChecker v2.0.0 #220

wants to merge 215 commits into from

Conversation

Udayraj123
Copy link
Owner

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

  • Support for colored outputs! OMRChecker can optionally become colorful with a very small performance overhead :)
  • Major refactoring done around read_response and for general 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)
  • Showing scores, colored verdicts and symbols from the answer key (credits @palash018)
  • Added a top level try catch to mention debug mode
  • Introduces the schema for reading barcodes and sorting files
  • Support for confidence metrics (exportable to a JS object)
  • 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

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

…dd file size hook; remove match syntax

fix: correct config for CropOnTimelineDots in template json

feat: added preProcessDimensions key; better validation errors; enable tracebacks for --debug; set name block;

fix: define out_omr in scope

fix: minor fixes

fix: add 1 mcq block

fix: improve pytest output

feat: bugfixes in field_block and bounding box; support vstack in debugging images;

feat: add support for pointSelectors

refactor: use maps to minimize code; move np.array() conversions

refactor: reuse code in CropOnMarkers; improve debugging experience;

fix: tuning for more template

fix: schema validation; preprocessor detection logic

fix: test cases
refactor: separate schema verdicts from question verdicts;
@Udayraj123 Udayraj123 mentioned this pull request Sep 29, 2024
Udayraj123 and others added 3 commits September 29, 2024 15:05
* added pre-commit

* added pre-commit to actions

* added pre-commit (pyest)

* added pre-commit to actions

* added pre-commit (pyest)
@Udayraj123
Copy link
Owner Author

@palash018 looks like the CI check is failing due to the single sample test is failing -https://github.com/Udayraj123/OMRChecker/actions/runs/11125899699/job/30914601165

Will check this soon.

Udayraj123 and others added 2 commits October 2, 2024 10:25
* reducing diff

* renamed should_export_csv to should_export_explanation_csv

* Added rich_tools

* upgrade pandas version

* upgrade rich version

* renamed eval_dir to evaluations_dir and updated 2-omr-marker to include should_export_explanation_csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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