> For the complete documentation index, see [llms.txt](https://docs.vntranslator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vntranslator.com/user-guide/ocr/ocr-engines/screenai-ocr.md).

# ScreenAI OCR

### **Overview**

ScreenAI is an offline OCR engine that runs fast on CPU-only, with solid text recognition and support for many languages. It is a portable, standalone executable.

* Download the ScreenAI OCR from: <https://fazx.itch.io/vntranslator-plugins>
* Source Code: <https://gist.github.com/garudamods/3dd3452c36d8513584490b535bd3e901>
* On first run, `ScreenAI.exe` will automatically download the required Screen AI package.

There are three ways to integrate ScreenAI with VNTranslator's OCR module.

***

### Method 1 - HTTP POST (Custom Engine)

Run `ScreenAI.exe` first, then add it as a Custom Engine in VNTranslator with the following configuration:

```json
URL: http://localhost:62815/ocr
Content-Type: application/json
Headers: {}
Body: {"image":"$IMAGE_BASE64", "type": "base64"}
Response Type: JSON
Response Query: fullText
```

### **Method 2 - Command Line (Custom Engine)**

Add ScreenAI as a Custom Engine using the command line method:

```powershell
"x:\path\to\ScreenAI.exe" "$IMAGE_PATH"
```

### Method 3 - ScreenAI OCR Path

* Download the ScreenAI portable executable.
* Place `ScreenAI.exe` in a folder of your choice.
* Open VNTranslator and go to **Settings -> Modules -> OCR -> ScreenAI OCR path**.
* Enter the full path to your `ScreenAI.exe` file.\
  Example: X`:\OCR\ScreenAI.exe`
* then select **ScreenAI OCR** as your OCR engine.
