best effort anonymization for medical images using python
Clone or download
Latest commit ba2c55f Dec 11, 2018

Deidentify (deid)

Deidentify medical images in Python.

DOI Build Status

Please see our Documentation

These are basic Python based tools for working with medical images and text, specifically for de-identification. The cleaning method used here mirrors the one by CTP in that we can identify images based on known locations. We are looking for collaborators to develop and validate an OCR cleaning method! Please reach out if you would like to help work on this.



For the stable release, install via pip:

pip install deid

For the development version, install from Github:

pip install git+git://


docker build -t pydicom/deid .
docker run pydicom/deid --help


If you have an issue, or want to request a feature, please do so on our issues board