Comments (15)
can i be assigned to this one?
from omrchecker.
Line 336 in core.py
Score should be automatically evaluated but it currently hardcoded as a constant
After line 25 in CropOnMarkers
Hardcode: relativePath: “Omr_marker.jpg” are both set up in the template json samples – could this not be gotten from there?
From line 81 in CropPages
Hardcode: This could be passed in from the template configuration
Line 120 in imgutils.py
Hardcode: All the variables here are hard coded when it feels like these would be better as defaults that the user could change in config
Line 627 in imagutil.py
Hardcode: both x and y are hard coded when they should either be constants or configurable
Line 658 in imagutil.py
Hardcode: similar to the above, x and y have been hardcode.
Line 914 and 915 in imagutil.py
Hardcode: these should be constants or configurable
Other:
This is line is repeated in FeatureBasedAlignment, CropPages and imgutils– perhaps worth putting into a separate file and importing around to keep the code DRY?
From 125 in core.py
There is some unreachable logger code due to the return True.
Suggestion: Either the early return True is deleted or the logger code
from omrchecker.
@pranavajith please check discord for my reply.
from omrchecker.
from omrchecker.
@tuxo any updates?
from omrchecker.
Since @tuxo hasn't updated this issue in over a month, I thought I'd try it
from omrchecker.
I noticed some other minor issues apart from hardcoding I highlighted under other
from omrchecker.
Hi @GeorgiaMayDay, sorry I missed above comment. Will check soon. I hope you've joined over discord as well(I tend to respond quicker there)
from omrchecker.
I'm up for this challange, @Udayraj123 ..
Although some resources as to how to set hardcodings in preprocessors would be amazing.
from omrchecker.
Code is updated with some of the hardcodings reduced. New contributors can help here by checking for more hardcodings in the fresh code.
from omrchecker.
Hi @Udayraj123 I am happy to help. I will appreciate some resources if possible.
from omrchecker.
Hi @esing1201, good to know! You can setup the repo if you haven't and discuss if you face any issues.
This issue is about finding all hardcoded numbers in the repo and moving them into constants or config options, etc.
Please join over discord to get quicker replies :)
from omrchecker.
HI @Udayraj123 is the issue still open ?
from omrchecker.
Hi @rakeshcj, yes the issue is still open. Most of the hardcodings are in pre-processors that still need attention. Do let me know if you're picking it up!
from omrchecker.
Hi @rakeshcj let me know if any blockers.
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
- [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.