Skip to content

Commit

Permalink
chore: update doc and test workflow to install Tesseract
Browse files Browse the repository at this point in the history
  • Loading branch information
mallikarjun-br committed Oct 9, 2024
1 parent b9f4ef4 commit 1271842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: "Install Tesseract"
run: sudo apt-get update && sudo apt-get install -y tesseract-ocr
shell: bash

- name: "Setup poetry"
uses: abatilo/actions-poetry@v2
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Run `./setup.sh` to install all dependencies. This will install [direnv](https:/

Alternatively, make sure you have [python 3.11](https://www.python.org/downloads/) and [poetry](https://python-poetry.org/docs/#installation) setup on your machine.

Also make sure tesseract is installed in the system. It is needed for detecting pii in images. Follow these steps to install tesseract [Tesseract installation](https://tesseract-ocr.github.io/tessdoc/Installation.html)

## Getting Started

To get started, run the following:
Expand Down

0 comments on commit 1271842

Please sign in to comment.