Comments (8)
Hi @Udayraj123 , should the schema be created exactly for the template file mentioned here: Template File ?
from omrchecker.
That's correct. The same schema can also be found for all template.json files in samples folder
from omrchecker.
Would it be possible to get an example of an incorrect template file, I did write some code for the validation schema and error handling, but I'm not sure about the constraints to be put in my schema. Also, when I tried setting the dimensions in the sample template to 3, I expected an error but the code seemed to run fine. So, it would be helpful to know the expected constraints.
from omrchecker.
You can create incorrect template.json files by removing some of the mandatory keys, or changing their camelCase to TitleCase for keys(in which case validation error should mention that).
Setting 3rd dimension worked as code can run fine because it is written gracefully. Still we need the validation error to be thrown as a caution for future changes.
from omrchecker.
Have generated a draft PR, do let me know if this is what you were expecting.
from omrchecker.
@SpyzzVVarun discussed on discord. Let me know once all changes done..
from omrchecker.
Merged #60
from omrchecker.
extended in #65
from omrchecker.
Related Issues (20)
- [Bug] Feature based alignment not working with sample6 HOT 1
- [littleHelp] - Find a template HOT 1
- [Bug] Using only top level bubble dimensions.
- [Feature] Support for multi-page OMRs HOT 6
- [How] How can I create my custom answer sheet? HOT 1
- [Bug]Not able to process custom template HOT 2
- [Bug] TIFF images not processed anymore ? HOT 1
- [Feature] HOT 2
- 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
- [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
- [Bug] No circle found in Quad 1 HOT 2
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.