Skip to content

Card Certificate Recognition

Function Description

TIP

Call the AI interface to recognize card certificates such as bank cards, business licenses, passports, etc.

Configuration Item Description

General

Command Input

  • Recognition MethodInteger: Select the recognition method

  • Image Pathstring: Input the address of the image to be selected

  • Image Coordinates PositionInteger: Output default value (corresponding to top-left coordinates and width/height), or output quadrangle format (i.e., output the coordinates of the four corner points of the detection box)

  • Card Certificate TypeInteger: Select the type of card certificate to recognize

Command Output

  • Resultstring: Specify a variable to store the recognition result

  • Response Header InformationString: Specify a variable to store the response header information

  • Response Body InformationString: Specify a variable to store the response body information

  • Error InformationString: Specify a variable to store the error information

Advanced

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

  • Response Header Typearray of string: When a long connection is established between the server and client, necessary settings need to be made to the HTTP response header's connection. Default is ['Connection'].

  • 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