Comments (7)
I'd like to give this a shot!
from omrchecker.
Hello @alt-shreya, feel free to propose a basic solution/approach. Then I will assign the issue to you :)
You may also discuss it on discord if needed
from omrchecker.
@Udayraj123 I went through the resources you had linked, and found the StackOverflow discussion very interesting.
Building upon the approach highlighted by nathancy, a cross could be detected in the same way that an X is detected in handwriting recognition (2 diagonal lines of similar length and an intersection point), and a starting point to detecting tick marks could be to detect two lines inside the contour, in which the length of one line is shorter than the other
from omrchecker.
Hey @alt-shreya, thanks for taking forward the discussion.
cross could be detected in the same way that an X is detected in handwriting recognition
Are you thinking of exploring using an ML algorithm for this?
to detect two lines inside the contour, in which the length of one line is shorter than the other
Okay, but anything on distinguishing it from bubble boundary? If the box gets shifted left or right a little bit, the contour approach will probably get disturbed. Can you try something on the shape approximation as done in the Stackoverflow discussion?
from omrchecker.
Are you thinking of exploring using an ML algorithm for this?
yes
If the box gets shifted left or right a little bit, the contour approach will probably get disturbed.
Could you give me an example of when it might shift?
from omrchecker.
Could you give me an example of when it might shift?
I don't have images with tick marks handy, but I think the following will suffice.
So the shifting problem exists for any OMR sheets(even without tick marks). Usually happens in the bottom and bottom-right sections due to scanning/printing skews.
Here's a few examples for the general shifting problem -
From template alignment, notice the boxes are slightly shifted around -
Try to imagine tick marks instead of the bubbles in above image. For filled bubbles we use the mean value for the whole box which usually works, so we ignore any slight shifts in the image in current approach.
But this mean value approach also fails sometimes for in cases like this (false positive) -
from omrchecker.
Here's a sample you can try this out with(will need to create a small template.json) -
Original | Shifted |
---|---|
I've manually added a slight shift in the images.
Note that you will need a larger bubbleDimension in the template since the tick marks are overflowing the expected box.
Let me know if you need help with creating the initial template.json
from omrchecker.
Related Issues (20)
- pageDimensions field pixelating image too much[Bug] HOT 2
- Taking the attendee's name and surname [Feature] HOT 2
- Difficulty creating a template.json compliant [Request access to a sample1 Docx HOT 10
- [Feature] Generate score and indicator whether answer is right or wrong to images in CheckedOMRs folder HOT 10
- Question: How to get coordinations? HOT 1
- [Feature] HOW TO MAKE A JSON FILE OF THIS OMR SHEET HOT 3
- issuer about memory HOT 11
- ReadMe's images are not loading anymore HOT 2
- Omr. or omr?[Bug] HOT 3
- [Bug] Template images cut off HOT 2
- [Feature] Support for weighted answers (multiple correct)
- [Bug] No circle found in Quad 1 HOT 2
- [Feature] run with no desktop available HOT 3
- [Feature] Generate a software accuracy report
- Different layout with different sensor HOT 5
- [Feature] Android and iOS support using kivy or beeware or flet.dev or chaquopy HOT 1
- [Enhancement] Explore scope of further speeding up
- [Enhancement] Improve Page Cropping using Document Rectification HOT 1
- [DevX] Add a pre-commit hook to resize images to max width HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omrchecker.