Skip to content

OCR Recognition

Function Description

TIP

OCR Recognition

Configuration Item Description

General

Command Input

  • Recognition MethodInteger: Select recognition method

  • Image Pathstring: Enter the image address to be selected

  • Application Namestring: Application Name

  • Recognition TypeInteger: Recognition Type

  • RegionInteger: Region

  • Signature MethodInteger: Signature method used for API requests

  • Card SideInteger: Front or back of the card

Command Output

  • Resultstring: Specify a variable to store the recognition result

Advanced

  • Proxy Parameterstring: When our program cannot directly connect to the target network but the other party has installed a proxy server, format: address:port

  • DelayBefore(milliseconds)Integer: The waiting time before instruction execution

  • Timeout (milliseconds)Integer: Maximum wait time (milliseconds)

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None