OCR

Supported Monitor Configurations

OCR version 1.x

  • Single monitor

OCR 1.0 supports only one monitor. If multiple monitors are used, the OCR screen capture fails with the error "Screen capture failed"

OCR version 2.x

  • Multi-monitor support (X Axis)

OCR version 3.x

  • Multi-monitor support (X & Y Axis)


Display Scaling Issue

Always set the Display Scaling in Windows settings to 100% so that the OCR Screen can accurately capture the display area

This issue occurs because what you see on the monitor is the result of windows scaling, but the OCR Screen captures the display area without any scaling (for more details, see Display Capture Sources in the OCR Master window)

In the VNTranslator settings, only the Display Source set to Electron can work to capture the display area with scaling more or less than 100%


Error Code 11x / Screen capture failed / Display source not detected!

1. Update your graphics driver

Windows Update won't always give you the latest and greatest drivers. You must go directly to your card manufacturer's website to check for driver updates

  • NVIDIA drivers: http://www.nvidia.com/content/drivers/

  • AMD drivers: http://support.amd.com/en-us/download

  • Intel drivers: https://downloadcenter.intel.com/

2. Configuring computers with multiple graphics cards

If your system has more than one graphics card, then Try to switch between Dedicated GPU & Integrated GPU

  • NVIDIA Optimus: Go to NVIDIA Control Panel ➜ Manage 3D settings ➜ Program Settings

  • AMD Switchable: Go to AMD Radeon Settings ➜ Switchable Graphics

3. Disable capture/recording in GeForce Experience / AMD Radeon

  • GeForce Experience: Disable In-Game Overlay, Disable Dekstop Capture (Privacy control), Disable Instant Replay

  • AMD Radeon: Disable In-Game Overlay, Disable Record Dekstop, Disable Instant Replay, Disable In-Game Replay

4. Disable hardware acceleration in VNTranslator

  • Via Command Prompt or Run Window: C:\Program Files\VNTranslator\VNTranslator.exe --disable-gpu C:\Program Files\VNTranslator\VNTranslator.exe --disable-gpu --force-cpu-draw

  • Via VNTranslator Settings App Settings ➜ Hardware acceleration

5. Change Display Source

Go to Settings ➜ App Settings ➜ Display Source ➜ Select to Native or Windows


Error Code 10x / Main function error / Image processing error / Undefined image

  • Try running as administrator

  • Try reinstalling the app for all users (C:\Program Files\VNTranslator)

  • Try Install/update vcredist both x86 and x64 https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist

  • Try changing the Display Source in settings to Native or Windows


Waiting to connect to OCR Server / Unable to connect to OCR Server (15-60 seconds no response from server)

Recommended using at least 8GB of RAM to avoid any performance issues

  • Add an exception for VNTranslator to Windows Firewall (If you're using a third-party firewall, you will need to add an exception from within your third-party firewall software)

  • Try running as administrator

  • Try disabling the Tesseract Server in OCR Settings (this will use Tesseract Wrapper)


Tesseract is not installed

Make sure you have installed the tesseract-64bit in C:\Program Files\Tesseract-OCR


Tesseract process exited with code 1 - Command failed: ???

  • Uninstall Tesseract, restart OS and then reinstall Tesseract

  • Try another version of Tesseract

  • Try searching for your specific error message on Google and Stackoverflow 🙃


TESSDATA_PREFIX is not set to your tessdata directory

  • Run Command Prompt as administrator

  • type setx TESSDATA_PREFIX "C:\Program Files\Tesseract-OCR\tessdata", and then press Enter

  • Restart OS


Err: Failed to init API, possibly an invalid tessdata path: ./

  • Run Command Prompt as administrator

  • type setx TESSDATA_PREFIX "C:\Program Files\Tesseract-OCR\tessdata", and then press Enter

  • Restart OS

Last updated