-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from con/pr02_ocr_accuracy
OCR accuracy tool for screen_data
- Loading branch information
Showing
37 changed files
with
781 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[codespell] | ||
skip = package-lock.json,build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
venv | ||
.git | ||
dist | ||
certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Codespell | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
codespell: | ||
name: Check for spelling errors | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
build/ | ||
.coverage* | ||
.dir-locals.el | ||
dist/ | ||
*.egg-info | ||
.env.* | ||
!.env.local | ||
.flake8 | ||
.idea/ | ||
.mypy_cache/ | ||
*.pid | ||
*.pyc | ||
.python-version | ||
services | ||
*.sqbpro | ||
*.swp | ||
.tox/ | ||
venv | ||
venvs | ||
certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-json | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
|
||
# - repo: https://github.com/psf/black | ||
# rev: 23.3.0 | ||
# hooks: | ||
# - id: black | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
# B008 Do not perform function calls in argument defaults. | ||
# A003 class attribute "id" is shadowing a python builtin | ||
args: ["-j8", "--ignore=B008,A003", "--max-line-length=89"] | ||
additional_dependencies: | ||
- flake8-bugbear | ||
- flake8-builtins | ||
# - flake8-unused-arguments | ||
|
||
exclude: '.codespellrc' | ||
|
||
default_language_version: | ||
python: python3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "patient-registration", | ||
"data": { | ||
"last_name": "SID000XXX", | ||
"first_name": null, | ||
"title": null, | ||
"patient_id": "SID000XXX", | ||
"date_of_birth": "1/1/1990", | ||
"sex": "Other", | ||
"age": "28", | ||
"age_unit": "Years", | ||
"height": "5", | ||
"height_unit": "ft", | ||
"weight": "103", | ||
"weight_unit": "lbs", | ||
"metric": null, | ||
"additional_info": null, | ||
"accession_no": "A000XXX", | ||
"request_id": null, | ||
"patient_position": "Head First - Supine", | ||
"institution_name": null, | ||
"performing_physician": null, | ||
"operator": null, | ||
"referring_physician": null, | ||
"requesting_physician": null, | ||
"admission_id": null | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "patient-registration", | ||
"data": { | ||
"last_name": "O0O0o0o0O0O", | ||
"first_name": "First Name GHJKL;:'\"|", | ||
"title": null, | ||
"patient_id": "0123456789QWERTYUIOP{}ASDF", | ||
"date_of_birth": "1/2/1922", | ||
"sex": "Male", | ||
"age": "101", | ||
"age_unit": "Years", | ||
"height": "100.00", | ||
"height_unit": "cm", | ||
"weight": "100.00", | ||
"weight_unit": "kg", | ||
"metric": "Y", | ||
"additional_info": "Additional info we do not care", | ||
"accession_no": "1234567890 OOO", | ||
"request_id": null, | ||
"patient_position": "Head First - Supine", | ||
"institution_name": "dartmouth_brain_imaging_cente", | ||
"performing_physician": "Marvin Maechler", | ||
"operator": "Mary Kieseler", | ||
"referring_physician": "Kraemer", | ||
"requesting_physician": "requesting-phys2", | ||
"admission_id": "qwertyuiopasdfghjklzxcvbnm" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "patient-registration", | ||
"data": { | ||
"last_name": "Oo0Olaf lllllllla", | ||
"first_name": "X20948297%|", | ||
"title": null, | ||
"patient_id": null, | ||
"date_of_birth": null, | ||
"sex": null, | ||
"age": null, | ||
"age_unit": "Years", | ||
"height": null, | ||
"height_unit": "ft", | ||
"weight": null, | ||
"weight_unit": "lbs", | ||
"metric": null, | ||
"additional_info": null, | ||
"accession_no": null, | ||
"request_id": null, | ||
"patient_position": null, | ||
"institution_name": null, | ||
"performing_physician": null, | ||
"operator": null, | ||
"referring_physician": null, | ||
"requesting_physician": null, | ||
"admission_id": null | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "patient-registration", | ||
"data": { | ||
"last_name": "Oo0Olaf lllllllla", | ||
"first_name": "X20948297%", | ||
"title": null, | ||
"patient_id": "23.08.17-15:06:15-DST-1.3.12.2.11(", | ||
"date_of_birth": "2/2/2222", | ||
"sex": null, | ||
"age": null, | ||
"age_unit": "Years", | ||
"height": null, | ||
"height_unit": "ft", | ||
"weight": null, | ||
"weight_unit": "lbs", | ||
"metric": null, | ||
"additional_info": null, | ||
"accession_no": "Henlo :3", | ||
"request_id": null, | ||
"patient_position": null, | ||
"institution_name": null, | ||
"performing_physician": null, | ||
"operator": null, | ||
"referring_physician": null, | ||
"requesting_physician": null, | ||
"admission_id": null | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"type": "patient-registration", | ||
"data": { | ||
"last_name": "Oo0Olaf lllllllla", | ||
"first_name": "X20948297%", | ||
"title": null, | ||
"patient_id": "23.08.17-15:06:15-DST-1.3.12.2.11(", | ||
"date_of_birth": "11/17/2021", | ||
"sex": "Male", | ||
"age": "21", | ||
"age_unit": "Months", | ||
"height": "8", | ||
"height_unit": "ft", | ||
"weight": null, | ||
"weight_unit": "lbs", | ||
"metric": null, | ||
"additional_info": null, | ||
"accession_no": "Henlo :3", | ||
"request_id": null, | ||
"patient_position": null, | ||
"institution_name": null, | ||
"performing_physician": null, | ||
"operator": null, | ||
"referring_physician": null, | ||
"requesting_physician": null, | ||
"admission_id": null | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.