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

To update the repository on coding club page. #1

Open
wants to merge 251 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
f353049
Reorganized imports to move globals into their own namespace
Nov 25, 2019
5d8641b
Added featue based image alignment with using a reference image speci…
Dec 13, 2019
417021a
Merging commit 'c4c9896' to update changes from upstream dev
leongwaikay Dec 14, 2019
0682054
Merging commit '0f0e339' to update changes from upstream
leongwaikay Dec 14, 2019
80fd067
Merge pull request #17 from leongwaikay/clear-namespace
Udayraj123 Dec 15, 2019
0b2aaee
Fix errors for running samples
Udayraj123 Dec 15, 2019
e0f1e81
Merge pull request #18 from Udayraj123/dev
Udayraj123 Dec 15, 2019
6031f77
Fix bug with newlines in csv output
Dec 16, 2019
8ab4d33
Merge branch 'feature-based-alignment' into 'dev'
Dec 16, 2019
1181fb8
Created extension framework. Refactored image preprocessing into exte…
Dec 18, 2019
1221858
Refactored to use pathlib Paths. Added Levels module
Dec 23, 2019
82e5054
Added builtin preprocessors
leongwaikay Dec 24, 2019
ed15d12
keys in json template are case insensitive. Basically converted to lo…
Dec 25, 2019
523124f
Bug fixes from refactoring code
leongwaikay Dec 26, 2019
22f0993
Added sample for feature-based alignment
leongwaikay Dec 27, 2019
bc93101
Fixed bug in gamma formula
Dec 27, 2019
214d02b
merge theirs
Udayraj123 Dec 27, 2019
4cdc4fe
sample1 working with new configuration
Udayraj123 Mar 11, 2020
8fdb321
All samples running on new config
Udayraj123 Mar 11, 2020
52592db
Tidy up a bit
Udayraj123 Mar 11, 2020
88426dd
WIP
Udayraj123 May 9, 2020
603d8d4
add QTYPE_INT4
Udayraj123 May 15, 2020
4569f04
Merge pull request #21 from udayrajMT/master
Udayraj123 May 15, 2020
abb7640
heads up
Udayraj123 Sep 5, 2020
83c4525
Merge branch 'master' of https://github.com/udayraj123/OMRChecker
Udayraj123 Sep 5, 2020
ff1e0a1
refactor: round 1
Udayraj123 Sep 5, 2020
042c7c5
refactor round 1.5
Udayraj123 Sep 12, 2020
6d9c06b
fix: compile time issues
Udayraj123 Sep 13, 2020
86f58ad
feat: add stargazers in readme
Udayraj123 Oct 5, 2020
27604c6
fix: no.4 to no.3 now
Udayraj123 Oct 5, 2020
f12033f
fix: import errors
Udayraj123 Oct 10, 2020
46bf8e4
fix: script errors
Udayraj123 Oct 10, 2020
40910f5
fix: rename
Udayraj123 Oct 10, 2020
ff44a89
fix: rename
Udayraj123 Oct 10, 2020
18c2a6c
fix: errors begone!
Udayraj123 Oct 10, 2020
b440956
Remove unused variables and minor comments
deepakgouda Oct 10, 2020
68f95e4
Create ImageUtils class
deepakgouda Oct 17, 2020
24afb49
Create MainOperations class
deepakgouda Oct 24, 2020
f0ec190
Create static methods in notSorted.py
deepakgouda Nov 19, 2020
8c40dac
fix: pylint and black main round 1
Udayraj123 Nov 19, 2020
62e8eb2
fix: pylint and black main round 1
Udayraj123 Nov 19, 2020
0230aa3
Merge pull request #24 from deepakgouda/refactor-express
udayrajMT Nov 19, 2020
9ba554f
fix: pylint and black src round 1
Udayraj123 Nov 19, 2020
ef5ff62
Convert variable names to snake case
deepakgouda Nov 19, 2020
7c43dbe
fix: add pylintrc
Udayraj123 Nov 19, 2020
7878a6f
Merge pull request #25 from deepakgouda/refactor-express
udayrajMT Nov 19, 2020
a0947b4
fix: conflicts
Udayraj123 Nov 19, 2020
b2245a3
fix: conflicts
Udayraj123 Nov 19, 2020
3ce07e0
fix: pylint config
Udayraj123 Nov 19, 2020
56b607b
fix: pylint template
Udayraj123 Nov 19, 2020
7f013db
fix: import errors
deepakgouda Nov 19, 2020
9ecff0d
fix: resolve conflict
deepakgouda Nov 19, 2020
c1960b1
fix: pylint core
Udayraj123 Nov 19, 2020
3d35d25
fix: conflicts
Udayraj123 Nov 19, 2020
4f692de
fix: pylint not_sorted
Udayraj123 Nov 19, 2020
0bdca16
fix: make it runnable
Udayraj123 Nov 19, 2020
dd01de2
fix: commments
Udayraj123 Nov 19, 2020
9163693
fix: pylint processors
Udayraj123 Nov 20, 2020
0653e51
fix: make it runnable
Udayraj123 Nov 20, 2020
68b558e
fix: update readme and minor changes
Udayraj123 Nov 20, 2020
5981c61
fix: update readme and minor changes
Udayraj123 Nov 20, 2020
2dc31b3
fix: rename sample5
Udayraj123 Nov 20, 2020
3a3e042
fix: whitespace
Udayraj123 Nov 20, 2020
8e2d8b2
Create FUNDING.yml
Udayraj123 Nov 20, 2020
e03656d
Merge pull request #27 from Udayraj123/refactor-express
Udayraj123 Nov 20, 2020
b8da726
fix: note
Udayraj123 Nov 20, 2020
7b6ec5c
fix: update readme
Udayraj123 Nov 20, 2020
3411aa8
Merge branch 'master' of https://github.com/udayraj123/OMRChecker
Udayraj123 Nov 20, 2020
42ac9bb
fix: update readme
Udayraj123 Nov 20, 2020
df259c2
fix: update README
Udayraj123 Nov 24, 2020
c262370
fix: add sample6
Udayraj123 Nov 24, 2020
34004d0
fix: update Readme
Udayraj123 Nov 25, 2020
5487a22
fix: support jpeg as well
Udayraj123 Apr 27, 2021
407babc
fix: typo
Udayraj123 Aug 6, 2021
1828581
fix: unused
Udayraj123 Nov 6, 2021
4f11cf4
fix: draw quadlines only when needed
Udayraj123 Nov 12, 2021
afbfec7
fix: change preProcessors schema and samples
Udayraj123 Jul 3, 2022
46b2b25
Update README.md
Udayraj123 Sep 29, 2022
3e9bf31
Merge branch 'refactor-express' into dev
Udayraj123 Sep 29, 2022
fdea012
Create CONTRIBUTING.md
Udayraj123 Sep 29, 2022
0a84c62
fix: minor fixes; refactoring
Udayraj123 Sep 30, 2022
d10ca69
fix: old docs
Udayraj123 Sep 30, 2022
48e1c43
fix: sample5 correction
Udayraj123 Sep 30, 2022
e89df70
fix: conflicts
Udayraj123 Sep 30, 2022
dd398e4
fix: update readme
Udayraj123 Sep 30, 2022
15363ed
Merge pull request #46 from Udayraj123/dev
Udayraj123 Sep 30, 2022
1112358
fix: update readme
Udayraj123 Sep 30, 2022
85f0179
fix: minor changes; add contributors.md
Udayraj123 Oct 1, 2022
4f07343
fix: tidy up
Udayraj123 Oct 1, 2022
a193401
fix: tidy up
Udayraj123 Oct 1, 2022
126e1c2
fix: format files; refactoring
Udayraj123 Oct 1, 2022
726dfaa
fix: template.json typos; stack suffix; string formatting
Udayraj123 Oct 1, 2022
50ada8b
Update CONTRIBUTING.md
Udayraj123 Oct 2, 2022
d014299
fix: resolved issue #55
infinity1729 Oct 2, 2022
1c7c774
Merge pull request #51 from Udayraj123/improving-devx
Udayraj123 Oct 2, 2022
ecfc18f
Update README.md
UjjwalMahar Oct 2, 2022
ad799df
Update README.md
UjjwalMahar Oct 2, 2022
4ce8f30
made requested changes
infinity1729 Oct 2, 2022
5e4985f
Merge pull request #56 from infinity1729/master
Udayraj123 Oct 2, 2022
ecce27e
Update README.md
UjjwalMahar Oct 2, 2022
1d5c310
Update README.md
UjjwalMahar Oct 2, 2022
8b01771
Update README.md
UjjwalMahar Oct 2, 2022
c46f81b
Added dropdown for Linux Users
Rohan-G Oct 2, 2022
cbf9420
Update README.md
UjjwalMahar Oct 2, 2022
7a213fd
Update README.md
UjjwalMahar Oct 2, 2022
95738f0
Update README.md
UjjwalMahar Oct 2, 2022
1117b02
Added python3 installation using brew for OSX users
Rohan-G Oct 2, 2022
f0131c6
Update README.md
UjjwalMahar Oct 2, 2022
dad4d43
Update README.md
Udayraj123 Oct 2, 2022
1b5a4aa
Update README.md
Udayraj123 Oct 2, 2022
abf7a3c
Merge pull request #57 from UjjwalMahar/master
Udayraj123 Oct 2, 2022
27eb894
Merge branch 'Udayraj123:master' into linuxDrop
Rohan-G Oct 2, 2022
9d4a99a
Changed dropdowns
Rohan-G Oct 2, 2022
d350746
Error in formatting fixed
Rohan-G Oct 2, 2022
a903c96
Created dropdowns for each installation step
Rohan-G Oct 3, 2022
5245272
A few small fixes
Rohan-G Oct 3, 2022
94387a4
Another small fix
Rohan-G Oct 3, 2022
825f8e0
Update issue templates
Udayraj123 Oct 3, 2022
22a2419
Merge pull request #59 from Rohan-G/linuxDrop
Udayraj123 Oct 3, 2022
ddc1065
fix: resolved issue#62
infinity1729 Oct 3, 2022
f8f120f
Good news
Udayraj123 Oct 4, 2022
7b1f942
Added a new sample image and its template
Antibodyy Oct 4, 2022
1e4ee27
Added new sample and its template.json
Antibodyy Oct 4, 2022
f849d8d
Merge pull request #63 from infinity1729/master
Udayraj123 Oct 4, 2022
2d0d35f
update template.json for sample 1
05Alston Oct 4, 2022
08f92b7
Align labels to top right
05Alston Oct 4, 2022
0dd566e
Merge branch 'Udayraj123:master' into master
05Alston Oct 4, 2022
6b77ac0
fixed show_image_level and removed hardcoded value
05Alston Oct 4, 2022
39e6675
fixed extra rectangles bug
05Alston Oct 5, 2022
905b2cc
' Pip module not found' issue added to readme
asc249 Oct 5, 2022
f1a8eaa
Updated template.py
05Alston Oct 5, 2022
527ad9b
Merge pull request #66 from 05Alston/master
Udayraj123 Oct 5, 2022
aca1929
pip install issue linked in readme
asc249 Oct 5, 2022
e644102
Merge branch 'Udayraj123:master' into master
asc249 Oct 5, 2022
ee86758
New sample and template added
Antibodyy Oct 5, 2022
4de7399
Merge branch 'Udayraj123:master' into master
Antibodyy Oct 5, 2022
e0c94cb
Added pip installation guidelines, check for python and pip installat…
asc249 Oct 5, 2022
4ab4915
Added pip install instructions
asc249 Oct 5, 2022
c57b38a
Merge pull request #69 from asc249/master
Udayraj123 Oct 5, 2022
86353de
Renamed and created folders/files as required
Antibodyy Oct 5, 2022
c1f978a
Merge branch 'Udayraj123:master' into master
Antibodyy Oct 5, 2022
16cbc86
Merge branch 'master' of https://github.com/Antibodyy/OMRChecker
Antibodyy Oct 5, 2022
77700c4
Undone changes here
Antibodyy Oct 5, 2022
e94ba96
Merge pull request #64 from Antibodyy/master
Udayraj123 Oct 5, 2022
79c1f81
Added a new sample and its template.json
sandptel Oct 5, 2022
ad2bff3
Renamed the files and added it to community folder.
sandptel Oct 5, 2022
d4a839d
Merge pull request #75 from Sandeep-1507/master
Udayraj123 Oct 5, 2022
98366ff
reduced the size of omr-1.png
sandptel Oct 5, 2022
6210783
added basic logging with rich handler
pixalquarks Oct 5, 2022
f60e1bb
Merge pull request #76 from Sandeep-1507/master
Udayraj123 Oct 5, 2022
783ab9c
Added jsonschema requirement
SpyzzVVarun Oct 3, 2022
deb7e72
adding validation scheme for template
SpyzzVVarun Oct 5, 2022
ce59476
Merge pull request #60 from SpyzzVVarun/master
Udayraj123 Oct 5, 2022
604cdce
Update template.py
SpyzzVVarun Oct 5, 2022
6c9a63c
Merge branch 'Udayraj123:master' into master
SpyzzVVarun Oct 5, 2022
40dee1c
Merge pull request #78 from SpyzzVVarun/master
Udayraj123 Oct 5, 2022
ac3ffbe
Adding name
Harsh-Kapoorr Oct 5, 2022
3324c37
fix: reformat readme
Udayraj123 Oct 5, 2022
e2ca6ce
fix: reformat readme
Udayraj123 Oct 5, 2022
ca12dd2
Update Contributors.md
Udayraj123 Oct 5, 2022
e4782ea
Merge branch 'master' into changess
Udayraj123 Oct 5, 2022
842b63a
Merge pull request #81 from Harsh-Kapoorr/changess
Udayraj123 Oct 5, 2022
e533dd9
fix: resolved issue #83
infinity1729 Oct 6, 2022
e1e63ce
Update README.md
Udayraj123 Oct 7, 2022
a10c162
Update issue templates
Udayraj123 Oct 7, 2022
2715193
Merge branch 'Udayraj123:master' into master
infinity1729 Oct 7, 2022
a895a0f
fix: fixes merged templates using deepcopy function
Kurtsley Oct 7, 2022
80cc32c
Merge pull request #84 from infinity1729/master
Udayraj123 Oct 7, 2022
b09bfd4
removed redundant error and warning prefixes
pixalquarks Oct 8, 2022
5689717
added option for disabling rich tracebacks
pixalquarks Oct 8, 2022
c49fe18
added config options to Logger class
pixalquarks Oct 8, 2022
8674152
Merge pull request #87 from Kurtsley/fix-template-merge
Udayraj123 Oct 9, 2022
8b9496b
moved logging function to logutil function to follow dry principle
pixalquarks Oct 9, 2022
ac9e2dc
Update Contributors.md
Udayraj123 Oct 9, 2022
cbbe57c
Convert part of readme to issue
Udayraj123 Oct 9, 2022
09a1c07
added returns to the functions
pixalquarks Oct 10, 2022
27d9111
fix: string corrections
Udayraj123 Oct 11, 2022
9b06ac2
Fixed errors
theranjitraut Oct 11, 2022
743c113
Corrected mistakes
theranjitraut Oct 11, 2022
b206728
feat: support for emptyVal in template.json
Udayraj123 Oct 11, 2022
ad3403b
Merge pull request #90 from theranjitraut/master
Udayraj123 Oct 11, 2022
292aa91
fix: review changes
Udayraj123 Oct 12, 2022
c1e792a
Merge pull request #91 from Udayraj123/feature/61
Udayraj123 Oct 12, 2022
050cad6
fix: remove bad_rolls_dir
Udayraj123 Oct 12, 2022
931d4f3
Merge branch 'master' into logging
Udayraj123 Oct 13, 2022
d2fb0bf
refactored to follow PEP8 formatting
pixalquarks Oct 14, 2022
c1fc63b
fix: comment out Present checks
Udayraj123 Oct 15, 2022
f5c03ca
Merge branch 'master' of https://github.com/pixalquarks/OMRChecker in…
pixalquarks Oct 15, 2022
92d4ded
fix: add comment for later changes
Udayraj123 Oct 15, 2022
2e4b527
Merge pull request #95 from Udayraj123/47-logging-reduce-noise-in-log…
Udayraj123 Oct 15, 2022
4d6b72f
merged master into logging
pixalquarks Oct 16, 2022
0aaa11a
changed print functions to log
pixalquarks Oct 16, 2022
8b07b71
merged remote logging branch to local
pixalquarks Oct 16, 2022
5fcbb5b
Merge branch 'master' into logging
Udayraj123 Oct 16, 2022
b9a9b8a
Merge pull request #77 from pixalquarks/logging
Udayraj123 Oct 16, 2022
41e9f64
Adding pre-commit hook for auto code formatting
gaursagar21 Oct 20, 2022
26ef26c
Merge pull request #96 from gaursagar21/feature/pre-commit
Udayraj123 Oct 21, 2022
99ff626
feat: run pre-commit config on all files
Udayraj123 Oct 21, 2022
6b10b4c
added display question labels flag
Oct 22, 2022
77ad538
Merge branch 'master' of https://github.com/aayushibansal2001/OMRChecker
Oct 22, 2022
2fe7306
trying red colour text on output images
Oct 24, 2022
45f9bf6
fix: check for non uint8 types or multiple channels
Udayraj123 Oct 24, 2022
079375d
Revert "added display question labels flag"
Udayraj123 Oct 24, 2022
64ad04a
Update README.md
Udayraj123 Nov 1, 2022
d20a326
Update issue templates
Udayraj123 Nov 8, 2022
3309716
Create CODE_OF_CONDUCT.md
Udayraj123 Dec 3, 2022
e005f76
fix: update readme with links
Udayraj123 Dec 2, 2022
8e85266
new OMR_template created (#108)
ShamanthVallem Dec 19, 2022
a04a60b
created a preprocessor Median blur (#109)
rudrapsc Dec 19, 2022
418dbd4
Updated src/defaults/schema.json
rudrapsc Dec 23, 2022
848a771
Update schema.json
rudrapsc Dec 25, 2022
ce25cd2
updated schema.json
rudrapsc Dec 27, 2022
f023f6b
Update schema.json
rudrapsc Dec 27, 2022
65a6e7c
Update schema.json
rudrapsc Dec 28, 2022
4db4162
Update schema.json
rudrapsc Dec 29, 2022
d4f0bd9
Update file.py
rudrapsc Dec 29, 2022
a54147e
fix: parse int for cases like 1.0; minor changes in schema
Udayraj123 Dec 29, 2022
ee57677
fix: better error messages; minor changes in schema parsing
Udayraj123 Dec 29, 2022
9370975
Update Contributors.md
Udayraj123 Jan 1, 2023
ac6fb56
updated .pre-commit-config.yaml (#120)
rudrapsc Jan 6, 2023
13acd4d
Update README.md
Udayraj123 Jan 26, 2023
0bc3df9
Update README.md
Udayraj123 Jan 26, 2023
37ca3d5
Update README.md
Udayraj123 Jan 26, 2023
26003be
Update CONTRIBUTING.md
Udayraj123 Jan 26, 2023
080b360
Evaluation Schema + a necessary revamp (#118)
Udayraj123 Feb 12, 2023
09ce78a
fix: minor fix
Udayraj123 Feb 21, 2023
5db8f24
refactor: follow the-step-down-rule (#129)
Udayraj123 Feb 25, 2023
f51097e
Fixed issue where OMR input images are processed twice in Windows env…
aqoshi Apr 19, 2023
d777136
Release/combined bugfixes (#143)
Udayraj123 Jun 25, 2023
9147316
Feature/devx upgrade packages (#144)
Udayraj123 Jun 25, 2023
47f028a
fix: improve pytest output
Udayraj123 Jun 28, 2023
62f6aa3
License clarifications (#146)
Udayraj123 Jul 4, 2023
f9f6dc3
fix: typos and coherence (#164)
benfrstr Feb 16, 2024
c448e0c
feat: support for multiple-correct-weighted answer key (#166)
Udayraj123 Feb 24, 2024
7e6e4b8
Update README.md (#181)
Udayraj123 Apr 13, 2024
80634b3
fix: demo
Udayraj123 May 24, 2024
4469a1c
added docs
palash018 Jul 18, 2024
a244965
edited readme
palash018 Jul 19, 2024
fb74a7d
Merge branch 'master' of github.com:palash018/OMRChecker
Udayraj123 Jul 19, 2024
9b0e9c5
fix: link colored outputs
Udayraj123 Jul 19, 2024
9c75256
Update License to MIT
Udayraj123 Jul 25, 2024
2a44f2e
Update License to MIT (#200)
Udayraj123 Jul 25, 2024
54fc8ca
Update License in readme
Udayraj123 Jul 25, 2024
4fed356
Merge branch 'master' of https://github.com/Udayraj123/OMRChecker
Udayraj123 Jul 25, 2024
6e46922
Merge branch 'feature/update-license'
Udayraj123 Jul 25, 2024
bf19841
fix: update code of conduct to v2.1
Udayraj123 Aug 7, 2024
7189c2e
added new sample (#227)
Dxuian Oct 6, 2024
646a080
Fixed [Environment] OpenCV NULL guiReceiver error during pre-commit t…
Princekumarofficial Oct 26, 2024
fcdb49c
Added feature to export the evaluation summary table in csv format (…
Drita-ai Oct 26, 2024
7b37b0e
waec sample (#232)
samuelIkoli Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.paypal.me/Udayraj123/','https://www.buymeacoffee.com/Udayraj123']
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve
title: "[Bug]"
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Use sample '...'
2. Command(s) used '....'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. MacOS, Linux, Windows]
- Python version
- OpenCV version


**Additional context**
Add any other context about the problem here.

Error Stack trace. Sample images used, etc
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea/enhancement for this project
title: "[Feature]"
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I think implementing [...] will help everyone.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pre-Commit Hook

on: [push, pull_request]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- uses: pre-commit/[email protected]
20 changes: 11 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
**/__pycache__
**/CheckedOMRs
**/ignore
**/.DS_Store
OMRChecker.wiki/
# Any directory starting with a dot
**/\.*/
# Except .github
!.github/

# Everything in inputs/ and outputs/
inputs/*
outputs/*
# Except *.json and OMR_Files/
# !inputs/OMR_Files/
# !inputs/*.json
# !inputs/omr_marker.jpg

# Misc
**/.DS_Store
**/__pycache__
venv/
OMRChecker.wiki/
59 changes: 59 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
exclude: "__snapshots__/.*$"
default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
stages: [commit]
- id: check-added-large-files
args: ['--maxkb=300']
fail_fast: false
stages: [commit]
- id: pretty-format-json
args: ['--autofix', '--no-sort-keys']
- id: end-of-file-fixer
exclude_types: ["csv", "json"]
stages: [commit]
- id: trailing-whitespace
stages: [commit]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
stages: [commit]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
fail_fast: true
stages: [commit]
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
args:
- "--ignore=E501,W503,E203,E741,F541" # Line too long, Line break occurred before a binary operator, Whitespace before ':'
fail_fast: true
stages: [commit]
- repo: local
hooks:
- id: pytest-on-commit
name: Running single sample test
entry: python3 -m pytest -rfpsxEX --disable-warnings --verbose -k sample1
language: system
pass_filenames: false
always_run: true
fail_fast: true
stages: [commit]
- repo: local
hooks:
- id: pytest-on-push
name: Running all tests before push...
entry: python3 -m pytest -rfpsxEX --disable-warnings --verbose --durations=3
language: system
pass_filenames: false
always_run: true
fail_fast: true
stages: [push]
43 changes: 43 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[BASIC]
# Regular expression matching correct variable names. Overrides variable-naming-style.
# snake_case with single letter regex -
variable-rgx=[a-z0-9_]{1,30}$

# Good variable names which should always be accepted, separated by a comma.
good-names=x,y,pt

[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=import-error,
unresolved-import,
too-few-public-methods,
missing-docstring,
relative-beyond-top-level,
too-many-instance-attributes,
bad-continuation,
no-member

# Note: bad-continuation is a false positive showing bug in pylint
# https://github.com/psf/black/issues/48


[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
output-format=text

# Tells whether to display a full report or only the messages.
reports=no

# Activate the evaluation score.
score=yes
133 changes: 133 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!-- https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md -->
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
32 changes: 32 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# How to contribute
So you want to write code and get it landed in the official OMRChecker repository?
First, fork our repository into your own GitHub account, and create a local clone of it as described in the installation instructions.
The latter will be used to get new features implemented or bugs fixed.

Once done and you have the code locally on the disk, you can get started. We advise you to not work directly on the master branch,
but to create a separate branch for each issue you are working on. That way you can easily switch between different work,
and you can update each one for the latest changes on the upstream master individually.


# Writing Code
For writing the code just follow the [Pep8 Python style](https://peps.python.org/pep-0008/) guide, If there is something unclear about the style, just look at existing code which might help you to understand it better.

Also, try to use commits with [conventional messages](https://www.conventionalcommits.org/en/v1.0.0/#summary).


# Code Formatting
Before committing your code, make sure to run the following command to format your code according to the PEP8 style guide:
```.sh
pip install -r requirements.dev.txt && pre-commit install
```

Run `pre-commit` before committing your changes:
```.sh
git add .
pre-commit run -a
```

# Where to contribute from

- You can pickup any open [issues](https://github.com/Udayraj123/OMRChecker/issues) to solve.
- You can also check out the [ideas list](https://github.com/users/Udayraj123/projects/2/views/1)
Loading