Added tesseract to installation (#1312)

This commit is contained in:
Omri Mendels
2024-02-26 09:24:50 +02:00
committed by GitHub
parent 4c48b928d3
commit 59af84d131

View File

@@ -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