mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-26 12:50:56 -05:00
* Initial commit with old paths (will need to fix) * Fixing paths * Adding in notebook and updating documentation * Adding in WIP notebook and docs * Adding example notebook * Clearing some output to reduce file size * Linting fix v1 * Linting v2 * Add rounding to integration test to account for minor differences in real testing * Fixing typo with wrong variable name * Removing check for exact or rounded conf * Updating logic for comparing ocr_results * Minor fixes on DICOM verify code based on PR comments * Changing results and gt format from dictionary to list of dictionaries * Updating notebook * Updating docstring format * Linting fix * Changing fixture scope for mock_engine * Update docs/image-redactor/evaluating_dicom_redaction.md Co-authored-by: Omri Mendels <omri374@users.noreply.github.com> * Docstring updates * Improving efficiency of _remove_duplicate_entities * Add handling for divide by zero in recall and precision calculations * Making precision and recall calculation functions public * Moving common fixtures to conftest * PR comments Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>
143 lines
3.0 KiB
JSON
143 lines
3.0 KiB
JSON
{
|
|
"sample_data/0_ORIGINAL.dcm": [
|
|
{
|
|
"label": "DAVIDSON",
|
|
"left": 25,
|
|
"top": 25,
|
|
"width": 241,
|
|
"height": 37
|
|
},
|
|
{
|
|
"label": "DOUGLAS",
|
|
"left": 287,
|
|
"top": 25,
|
|
"width": 230,
|
|
"height": 36
|
|
},
|
|
{
|
|
"label": "[M]",
|
|
"left": 535,
|
|
"top": 25,
|
|
"width": 60,
|
|
"height": 45
|
|
},
|
|
{
|
|
"label": "01.09.2012",
|
|
"left": 613,
|
|
"top": 26,
|
|
"width": 226,
|
|
"height": 35
|
|
},
|
|
{
|
|
"label": "06.16.1976",
|
|
"left": 170,
|
|
"top": 72,
|
|
"width": 218,
|
|
"height": 35
|
|
}
|
|
],
|
|
"sample_data/1_ORIGINAL.dcm": [
|
|
{
|
|
"label": "MARTIN",
|
|
"left": 1577,
|
|
"top": 1875,
|
|
"width": 87,
|
|
"height": 18
|
|
},
|
|
{
|
|
"label": "CHAD",
|
|
"left": 1674,
|
|
"top": 1875,
|
|
"width": 65,
|
|
"height": 18
|
|
},
|
|
{
|
|
"label": "[U]",
|
|
"left": 1749,
|
|
"top": 1875,
|
|
"width": 27,
|
|
"height": 23
|
|
},
|
|
{
|
|
"label": "01.01.2000",
|
|
"left": 1786,
|
|
"top": 1876,
|
|
"width": 110,
|
|
"height": 17
|
|
}
|
|
],
|
|
"sample_data/2_ORIGINAL.dcm": [
|
|
{
|
|
"label": "KAUFMAN",
|
|
"left": 26,
|
|
"top": 25,
|
|
"width": 72,
|
|
"height": 11
|
|
},
|
|
{
|
|
"label": "SCOTT",
|
|
"left": 104,
|
|
"top": 25,
|
|
"width": 50,
|
|
"height": 11
|
|
},
|
|
{
|
|
"label": "[M]",
|
|
"left": 159,
|
|
"top": 25,
|
|
"width": 19,
|
|
"height": 14
|
|
},
|
|
{
|
|
"label": "03.09.2012",
|
|
"left": 184,
|
|
"top": 25,
|
|
"width": 70,
|
|
"height": 11
|
|
},
|
|
{
|
|
"label": "07.22.1943",
|
|
"left": 71,
|
|
"top": 40,
|
|
"width": 68,
|
|
"height": 11
|
|
}
|
|
],
|
|
"sample_data/3_ORIGINAL.dcm": [
|
|
{
|
|
"label": "MEYER",
|
|
"left": 29,
|
|
"top": 25,
|
|
"width": 165,
|
|
"height": 35
|
|
},
|
|
{
|
|
"label": "STEPHANIE",
|
|
"left": 211,
|
|
"top": 25,
|
|
"width": 266,
|
|
"height": 36
|
|
},
|
|
{
|
|
"label": "[F]",
|
|
"left": 496,
|
|
"top": 25,
|
|
"width": 49,
|
|
"height": 45
|
|
},
|
|
{
|
|
"label": "02.25.2012",
|
|
"left": 563,
|
|
"top": 26,
|
|
"width": 232,
|
|
"height": 35
|
|
},
|
|
{
|
|
"label": "07.16.1953",
|
|
"left": 170,
|
|
"top": 72,
|
|
"width": 213,
|
|
"height": 35
|
|
}
|
|
]
|
|
} |