First of all, send a QR code picture, the picture has been uploaded to my server, address: https://attach.itsvse.com/test123456.jpg That is, the picture below, a random picture found on the Internet to test
I called Alibaba Cloud's API to test,Alibaba Cloud document address: https://helpcdn.aliyun.com/document_detail/56287.html
According to the API of the document, and then wrote it in C# code, the execution result is as follows, the following is the returned JSON data and screenshot:
{"code":200,"data":[{"code":200,"dataId":"28fbc8f4-5375-47b1-aa64-d8fd8ceb6f65","msg":"OK","results":[{"label":"qrcode","qrcodeData":[" http://weixin.qq.com/r/Ss8vN3jEPCVDrTxU95pY"],"rate":99.91,"scene":"qrcode","suggestion":"review"}],"taskId":"img1MATTe$zbD143eGK3tCl4d-1otoem","url":" https://attach.itsvse.com/test123456.jpg"}],"msg":"OK","requestId":"8FCFB7A6-4EEF-42F7-A8D4-D9FF98FAD3B2"}
We need to pay attention to the following information:
label:normal is a normal image, and QRCODE is an image with a QR code
suggestion: Value range: ["pass", "review"], pass: The image is normal, no QR code, review: contains a QR code
qrcodeData: When the image contains a QR code, this field is the text information contained in all the QR codes in the image
.net/c# source code download:
Tourists, if you want to see the hidden content of this post, please Reply
|