Before you run the Multimodal Chat with File using OCR agent, import the following supported Python external libraries from the PIL package into the directory where your Secure Agent is installed:
•json
•pytesseract
•fitz
•image
To install the required libraries, install Tesseract, and then install the unstructured libraries.
Step 1. Install Tesseract
You can install Tesseract on different operating systems.
For example, to install Tesseract on Ubuntu/Debian, run the following commands: