Skip to content

Commit

Permalink
Added tesseract to installation (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
omri374 committed Feb 26, 2024
1 parent 4c48b92 commit 59af84d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,29 @@ 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

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

Expand Down

0 comments on commit 59af84d

Please sign in to comment.