VNTranslator
Become a PatronJoin Our Discord
  • Overview
  • GETTING STARTED
    • Getting Started
    • System Requirements
    • Download & Installation
    • Interface Basics
  • Features
    • Launcher
    • Modules
    • Translation
      • Translation Settings
      • Translation Glossary
      • Extra Options
        • Pre-translation
        • Post-translation
        • Variables
      • Transcheck
      • Advanced Settings
      • Translation Editor
      • Export Translation
      • Import Translation
    • MT Engines
      • MT Settings
      • DeepL API
      • OpenAI Translate (Legacy)
    • Extra Window
    • Hyper Overlay
    • Extensions
      • JParser
      • Jisho
      • Fast OCR
    • Hotkeys
  • User Guide
    • Clipboard
    • OCR
      • Features
        • OCR Screen
        • OCR Master
        • Pre-processing
        • OCR Engines
          • Tesseract OCR
          • Windows OCR
          • Google Cloud Vision
          • Azure Cloud Vision
          • Google Lens
          • Custom - Command Line
          • Custom - HTTP POST
        • Post-processing
      • OCR Engine Installer
      • Understanding OCR and Improving Accuracy
      • OCR Engines Comparison
    • OCR GX 🎮
    • AutoTrans
      • Translation Modes
      • Font Replacement
      • Feature Settings
        • Translation
        • Mods
      • Extract & Translate
      • Steam Connect
      • RTL
      • FAQ
        • How Can I Improve Game Speed in AutoTrans?
        • How to Change Font Type in RenPy?
        • How to Change Font Size in Unity?
    • RenPy Games
    • Tyrano Builder
    • TextractorCLI
  • ADVANCED
    • LLMs
      • System Prompt
      • OpenAI API
      • GeminiAI API
    • Custom MT
      • Schema
      • Form Builder
      • Request & Response
      • Components
      • webLLM
      • MT Kit
      • V1 & V2 (Archive)
    • OCR Server Kit
      • EasyOCR
      • SuryaOCR
    • API Gateway
      • Translate
      • Translation Memory 🚧
    • RegExp
      • Matching
      • Replacement
  • Help
    • FAQ
    • Troubleshooting
      • Launcher
        • VNTranslator appears as a black box
      • Network Connection
      • Machine Translation (MT)
        • Web Scraping Timeout
        • API Error Codes
        • Clear Cookies & Site Data
      • OCR
      • AutoTrans
      • TextractorCLI
    • Glossary
    • Archives
      • Comparison of OCR Version 1.0 and 2.0
      • Workflow Explanation for OCR
      • OCR 1.0 (Archive)
        • Tesseract OCR
        • Screen Capture
        • Post-Capture Actions
    • Credits
Powered by GitBook
On this page
  • Supported Monitor Configurations
  • OCR version 1.x
  • OCR version 2.x
  • OCR version 3.x
  • Display Scaling Issue
  • Graphics Card Issue
  • 1. Update your graphics driver
  • 2. Configuring computers with multiple graphics cards
  • 3. Disable capture/recording in GeForce Experience / AMD Radeon
  • 4. Disable hardware acceleration in VNTranslator
  • Screen Capture Error Occurs
  • Unable to connect to OCR Server (15-60 seconds no response)
  • Tesseract is not installed
  • Tesseract process exited with code 1 - Command failed: ???
  • TESSDATA_PREFIX is not set to your tessdata directory
  • Err: Failed to init API, possibly an invalid tessdata path: ./
  • Google Lens - Request failed with status code 303
  1. Help
  2. Troubleshooting

OCR

PreviousClear Cookies & Site DataNextAutoTrans

Last updated 1 month ago

Supported Monitor Configurations

OCR version 1.x

  • Single monitor

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%


Graphics Card Issue

List of Error Messages:

  • 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: Go to Settings -> App Settings -> Advanced -> Hardware acceleration


Screen Capture Error Occurs

List of Error Messages:

  • Error Code 10x

  • Main function error

  • Image processing error

  • Undefined image

  • Screen capture failed

  • INVALID_ARGUMENT - Request must specify image and features

  • Try running as administrator

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

  • Try changing the Display Source to Native or Windows (Go to Settings -> App Settings -> Display)


Unable to connect to OCR Server (15-60 seconds no response)

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


Google Lens - Request failed with status code 303

  • Try restarting your modem and router (if your ISP uses a Dynamic IP)

  • Try using a VPN

Try Install/update vcredist both x86 and x64

https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist