Comments (2)
Hi @KaioSpa, yes this is expected as the omr_markers are expected to be in the 4 equal portions(quadrants) of the page.
As you can see the two markers are below the line. You have two alternatives as of now -
- Modify the code to change the quadrant position, or
- Use the upgraded branch
feature/upgrade-crop-on-markers
with a new template.json that should support passing topLeft, topRight, etc patches
For 1, you need to change this line :
# midh, midw = h1 // 3, w1 // 2
midh, midw = 2 * h1 // 3, w1 // 2
For 2,
git checkout feature/upgrade-crop-on-markers
and update your template.json like this
{
"preProcessors": [
{
"name": "CropOnMarkers",
"options": {
"type": "CUSTOM_MARKER",
"relativePath": "omr_marker.jpg",
"tuningOptions": {
"marker_rescale_range": [80, 120]
},
"dimensions": [35, 35]
}
}
]
}
Let me know if this works for you
from omrchecker.
That makes a lot of sense! I'm sorry to bother you with that.
I will try it and let everyone know.
Edit:
It worked. I used the first solution.
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)
- [Feature] Support for detecting tick marks or cross marks HOT 7
- [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.