OMRChecker
OMRChecker copied to clipboard
[Feature][Core] Auto Rotating the OMR sheet
We want to be able to identify and correct rotation of input images
Some ideas
- Firstly, we can take expected page orientation(portrait/landscape) from user.
- For a start, check for height-width ratio and always rotate clockwise (ignore wrongly rotated images, will be separated later).
- Try both clockwise and anti-clockwise corrections and the one with the "more correct" histogram will be considered.
Acceptance criterion:
- The code should run for rotated versions of all sample images in the repo.
- Proper logging of rotations should be done to make debugging easier
Example real user validation: https://discord.com/channels/590134763784896514/590134763784896520/908620446201696316
Note: this issue is marked with the hacktoberfest
label. Follow #hacktoberfest-discussions
on Discord for further details .