Adding DICOM image redacting capability to presidio-image-redactor module (#960)

* Adding DicomImageRedactorEngine class without test data for now

* Updating and putting placeholder in package doc

* Updating docs

* Moving presidio-dicom-image-redactor module into presidio-image-redactor module as an extension

* Updating docs to reflect refactor from presidio-dicom-image-redactor module to extension of presidio-image-redactor module

* Docs fixes continued

* Reflecting move from new module to updating existing module

* Updating requirements

* Linting fixes

* Linting fixes. Function and variable name casing

* Fixing getting started code blocks

* Updating image redactor version

* Fix minor typo: phi -> PHI in comment

* Update presidio-image-redactor/presidio_image_redactor/utils/dicom_image_redact_utils.py

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* Update presidio-image-redactor/presidio_image_redactor/utils/dicom_image_redact_utils.py

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* Fixing new typing adding added from PR comment commit

* Moving all utils into the DicomImageRedactorEngine class

* Fixing integration test now that utils have been moved

* Moving to ad-hoc recognizer approach

* Updating redact to have similar format as in ImageRedactorEngine. Moved existing logic for redact into redact_from_file

* Updating requirements

* Updating docs with new getting started code

* Versioning and changelog updates

* Adding in data with citations

* Linting fixes

* Minor change: from multiple list append to list extend

* Adding pytest-mock to requirements

* Fixing paths to test data

* Making file extension search more flexible and work with both Windows and Unix systems

* Changing docstring style to match rest of repo

* Making statement about Tesseract version more general in one other doc (was caught in another earlier)

* Changing box_color_setting to fill for consistency

* Updating changelog based on PR comments

* Update docs/image-redactor/index.md

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* Updating docs

* Adding **kwargs support and addressing minor comments

* Adjusting with clause duration

* Adding note about custom ImageAnalyzerEngine support

* Changing minor comment in docstring

* Splitting redact_from_file into redact_from_file and redact_from_directory

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>
This commit is contained in:
Nile Wilson
2022-12-13 08:47:30 -05:00
committed by GitHub
parent 3d5f2c9e08
commit 2730c6c00b
43 changed files with 3366 additions and 211 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.