Intro: the token classifier is the main contribution; OCR is pluggable
Browse files
README.md
CHANGED
|
@@ -11,10 +11,11 @@ Most PII redactors stop at plain text. These models power
|
|
| 11 |
[document-pii-redactor](https://github.com/eka-care/document-pii-redactor),
|
| 12 |
which also redacts **document images** and is light enough to deploy on
|
| 13 |
**CPU**. They are trained to understand **Indian names, documents, and
|
| 14 |
-
contexts**, and the text model works across **Indian languages**.
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
| 18 |
Textract, Google Vision, etc) plug straight in for better results
|
| 19 |
([example notebook](https://github.com/eka-care/document-pii-redactor/blob/main/examples/byo_ocr_nemotron.ipynb)).
|
| 20 |
|
|
|
|
| 11 |
[document-pii-redactor](https://github.com/eka-care/document-pii-redactor),
|
| 12 |
which also redacts **document images** and is light enough to deploy on
|
| 13 |
**CPU**. They are trained to understand **Indian names, documents, and
|
| 14 |
+
contexts**, and the text model works across **Indian languages**. The main
|
| 15 |
+
contribution is the **PII token classifier** — OCR is just the pluggable
|
| 16 |
+
input stage in front of it. It defaults to lightweight **Tesseract**, which
|
| 17 |
+
keeps memory low and works well for PDFs and good-quality images; for more
|
| 18 |
+
difficult or blurred images, **Bring-your-own OCR** lets a model like [**Nemotron OCR**](https://huggingface.co/nvidia/nemotron-ocr-v2) (or
|
| 19 |
Textract, Google Vision, etc) plug straight in for better results
|
| 20 |
([example notebook](https://github.com/eka-care/document-pii-redactor/blob/main/examples/byo_ocr_nemotron.ipynb)).
|
| 21 |
|