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
  • Get started
  • Step 1: Create an Azure Account
  • Step 2: Create a Computer Vision Resource
  • Step 3: Your API Key and Endpoint
  • Step 5: Integrate with VNTranslator
  • Request parameters
  1. User Guide
  2. OCR
  3. Features
  4. OCR Engines

Azure Cloud Vision

PreviousGoogle Cloud VisionNextGoogle Lens

Last updated 5 months ago

Get started

Step 1: Create an Azure Account

  • Visit the Azure Cloud

  • Click Try Azure for free

  • Follow the instructions to create account:

    • Provide basic details like your email address and billing information

    • New users receive $200 in free credit for the first 30 days.

  • After signing up, you will be redirected to the Azure Portal

Step 2: Create a Computer Vision Resource

  • In the Azure Portal:

    • Click Create a resource in the left-hand menu

    • Search for Computer Vision in the search bar

  • Select Computer Vision and click Create

  • Fill in the required details:

    • Subscription: Choose your Azure subscription

    • Resource Group: Create a new one or use an existing group

    • Region: Choose the region closest to your location

    • Name: Give your resource a unique name

    • Pricing Tier: Select Free or another available tier based on your needs

  • Click Review + Create, then Create

Step 3: Your API Key and Endpoint

  • Navigate to your Computer Vision resource in the Azure Portal

  • Click Keys and Endpoint from the left-hand menu

  • Copy the API Key and Endpoint for use in VNTranslator

Step 5: Integrate with VNTranslator

  • Go to Settings -> Modules -> OCR

  • Paste the API Key 1 or API Key 2 from Step 3 into the Azure API Key field

  • Configure the Azure Request URL as follows:

    • URL Format: https://{endpoint}/vision/v3.2/ocr[?language][&detectOrientation][&model-version]

    • Replace {endpoint} with your Computer Vision Resource Endpoint. For example: https://vntranslator.cognitiveservices.azure.com/vision/v3.2/ocr?language=ja&model=2022-04-30

Request parameters

https://{endpoint}/vision/v3.2/ocr[?language][&detectOrientation][&model-version]
  • language (optional) The BCP-47 language code of the text to be detected in the image.The default value is "unk", then the service will auto detect the language of the text in the image.

  • detectOrientation (optional) Whether detect the text orientation in the image. With detectOrientation=true the OCR service tries to detect the image orientation and correct it before further processing (e.g. if it's upside-down).

  • model-version (optional) Optional parameter to specify the version of the AI model. The default value is "latest".