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

created a preprocessor Median blur #109

Merged
merged 4 commits into from
Dec 19, 2022
Merged

Conversation

rudrapsc
Copy link
Contributor

@rudrapsc rudrapsc commented Dec 10, 2022

solved the alignment issue in template.json file of sample 6(OMRChecker\samples\sample6\template.json) along with using median blur as a medium for smoothing .
created a new preprocessor called MedianBlur (OMRChecker\src\processors\builtins.py).

src/processors/builtins.py Outdated Show resolved Hide resolved
src/processors/builtins.py Show resolved Hide resolved
@rudrapsc
Copy link
Contributor Author

this is the output before editing the code

Screenshot_20221217_031619

this is the output after editing the code

Screenshot_20221217_031705

@rudrapsc
Copy link
Contributor Author

I added a plugin class MedianBlur(OMRChecker\src\processors\builtins.py), this plugin uses median blur instead of gaussian blur
median blur is an algorithm based library.
Here, the central element of the image is replaced by the median of all the pixels in the kernel area.
due to this ,the darkened circles appears more clearly and becomes easy to read.

@Udayraj123
Copy link
Owner

Looks good! Thanks

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.

None yet

2 participants