Skip to main content

Image-QR-Code-Recognition

Command Description

Identify single or multiple QR code information from the specified picture

Command Prototype

arrayText = QRCodeEx.ImageQRCode(sFileName)

Parameter Description

ParameterRequiredTypeDefaultDescription
sFileNameTruepath'''C:\Users'''The image formate such as jpg, jpeg, bmp, and png are supported, and the size of the image cannot exceed 10M

return

arrayText,The variable used to save the output of the command.

Demo

TracePrint("--------------------------Image QR code recognition--------------- ------------") 
//-------------------------------------------------------------------------------
//[Remarks] Identify single or multiple QR code information from the specified picture.
//Input parameter 1:
// sFileName--The path to identify the image. Note: The image path to be recognized supports jpg, jpeg, bmp, png formats, and the image size cannot exceed 10M
//out parameters:
// arrayText--The variable to which the output of the function call is saved.
//Command prototype: arrayText = QRCodeEx.ImageQRCode(sFileName)
arrayText = QRCodeEx.ImageQRCode(@res"QR.png")
TracePrint(arrayText)