mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-26 04:40:54 -05:00
Added tesseract to installation (#1312)
This commit is contained in:
@@ -64,15 +64,20 @@ with at least one NLP engine (`spaCy`, `transformers` or `stanza`):
|
||||
|
||||
### PII redaction in images
|
||||
|
||||
For PII redaction in images, install the `presidio-image-redactor` package:
|
||||
For PII redaction in images
|
||||
|
||||
```sh
|
||||
pip install presidio_image_redactor
|
||||
1. Install the `presidio-image-redactor` package:
|
||||
|
||||
# Presidio image redactor uses the presidio-analyzer
|
||||
# which requires a spaCy language model:
|
||||
python -m spacy download en_core_web_lg
|
||||
```
|
||||
```sh
|
||||
pip install presidio_image_redactor
|
||||
|
||||
# Presidio image redactor uses the presidio-analyzer
|
||||
# which requires a spaCy language model:
|
||||
python -m spacy download en_core_web_lg
|
||||
```
|
||||
|
||||
2. Install an OCR engine. The default version uses the [Tesseract OCR Engine](https://github.com/tesseract-ocr/tesseract).
|
||||
More information on installation can be found [here](image-redactor/index.md#installation).
|
||||
|
||||
## Using Docker
|
||||
|
||||
@@ -80,7 +85,8 @@ Presidio can expose REST endpoints for each service using Flask and Docker.
|
||||
To download the Presidio Docker containers, run the following command:
|
||||
|
||||
!!! note "Note"
|
||||
This requires Docker to be installed. [Download Docker](https://docs.docker.com/get-docker/).
|
||||
|
||||
This requires Docker to be installed. [Download Docker](https://docs.docker.com/get-docker/).
|
||||
|
||||
### For PII anonymization in text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user