- 2023-10-19: Added support for customizing prediction fields, and embedded field for OCR text.
This plugin is a Python plugin that allows you to perform optical character recognition on documents using PyTesseract — the Python bindings for the Tesseract OCR engine!
fiftyone plugins download https://github.com/jacobmarks/pytesseract-ocr-plugin
You will also need to install the plugin's requirements:
pip install -r requirements.txt
- Runs the PyTesseract OCR engine on the documents in the dataset, converts the results to FiftyOne labels, and stores individual word predictions as well as block-level predictions on the dataset.
You can access the operator via the App's action menu, or by pressing the "`" key on your keyboard and selecting the operator from the dropdown menu.
If you have a view loaded and/or samples selected, the operator will give you the option to run the OCR engine on only those samples or on the entire dataset.
You can either choose to run the operator in the foreground, or to delegate the execution of the operator to a background job.
💡 Once you've generated OCR predictions, you can search through them using the Keyword Search plugin!