Quickstart
Prerequisites
Note
Optical Character Recognition (OCR) is an intensive resource-consuming process and it is recommended to have at least 4 GB of free RAM for running deidcm functionalities related to image deidentification.
Info
deidcm relies on easyOCR
which uses PyTorch
. If your system does not have a GPU, consider installing PyTorch
CPU-only version (more information here).
Installation
For installing deidcm
tools, run the following command:
Start working with deidcm
You can start using deidcm
by importing functions.
Here is an example with the deidentify_image_png
function. This function takes 3 parameters: an input dicom file, the output directory and the name of the final png file. More details can be found here.
Note
If you want to use a custom recipe, use the the Config object.