04-30-2019, 06:41 AM (This post was last modified: 04-30-2019, 11:24 AM by win.)
I tried a lot of OCR software and tools, for example, Microsoft's MODI, Google's Tesseract, the recognition effect is not accurate
Later, I found Baidu's online OCR service, the recognition effect is very good, in addition, it can identify 50,000 times a day for free, which is completely enough for individual users.
But I don't know how to call a web service in QM. The format of the web service call is as follows (Sample config files in the attachment):
—————————————————————————————————————————————— request URL: https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic
method:
post
——————————————————————————————————————————————
headers:
Content-Type:application/x-www-form-urlencoded
——————————————————————————————————————————————
Body:
access_token: free registration
image: Picture of BASE64 format (delete the prefix data:image/png;base64, )
language_type:CHN_ENG (Can see help doc)
probability:true (Can see help doc)
detect_direction:true (Can see help doc)
——————————————————————————————————————————————
I recorded a demo that invoke web service in the softwarepostman
demo link :https://ibb.co/RzmxyfQ
Any suggestions are welcome, thanks in advance
Function Main()
Const OCR_URL = "https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic"
If WSH.Arguments.Count = 3 Then
Dim fso,APIKey,SecretKey,Start_Time
Start_Time = Timer
Set fso = CreateObject("Scripting.FileSystemObject")
APIKey = WSH.Arguments(0)
SecretKey = WSH.Arguments(1)
If fso.FileExists(WSH.Arguments(2)) Then
Dim ImageFilePath,Token
ImageFilePath = fso.GetFile(WSH.Arguments(2)).Path 'Processing relative paths
Token = GetToken(APIKey,SecretKey)
If Token <> "ERROR" Then
With CreateObject("HTMLFILE")
.ParentWindow.execScript _
"var ImageBase64String_URLEnc = encodeURIComponent('" & FileBase64Enc(ImageFilePath) & "');"
If Len(.ParentWindow.ImageBase64String_URLEnc) <= 4*1024*1024 Then
.ParentWindow.execScript _
"var JSON = " & _
HTTP_POST( _
OCR_URL & "?access_token=" & Token, _
"image="& .ParentWindow.ImageBase64String_URLEnc & _
"&language_type=CHN_ENG" & _
"&detect_direction=false" & _
"&detect_language=false" _
)
On Error Resume Next
Dim Error_Code
Error_Code = .ParentWindow.JSON.error_code
If Error_Code = Empty Then
On Error Goto 0
Dim i
For i = 0 To .ParentWindow.JSON.words_result_num - 1
WSH.Echo Eval(".ParentWindow.JSON.words_result.[" & i & "].words")
Next
Main = 0
WSH.StdErr.WriteLine "Success, time " & Timer - Start_Time & " sec。"
Else
On Error Goto 0
Main = 5
WSH.StdErr.WriteLine "Error! Code:" & Error_Code & ", msg:" & .ParentWindow.JSON.error_msg
End If
Else
Main = 4
WSH.StdErr.WriteLine "The file is too large."
End If
End With
Else
Main = 3
WSH.StdErr.WriteLine "The APIKey or SecretKey is incorrect."
End If
Else
Main = 2
WSH.StdErr.WriteLine "file not found."
End If
Else
Main = 1
WSH.StdErr.WriteLine "Image Cloud OCR Tool (Baidu Cloud Edition, support Chinese and English mixed)" & vbNewLine & vbNewLine & _
"usage:" & vbNewLine & _
"CSCRIPT -NOLOGO OCRImage.VBS <APIKey> <SecretKey> <ImageFilePath>" & vbNewLine & vbNewLine & _
"APIKey The APIKey that comes with the Baidu Cloud Artificial Intelligence app you created." & vbNewLine & _
"SecretKey The SecretKey that comes with the Baidu Cloud Artificial Intelligence app you created." & vbNewLine & _
"ImageFilePath Path to image file (support relative path)"& vbNewLine & vbNewLine & _
"Baidu Cloud Artificial Intelligence OCR: https://cloud.baidu.com/product/ocr" & vbNewLine & vbNewLine & _
"Output information:" & vbNewLine & _
"Handle 1 OCR results" & vbNewLine & _
"Handle 2 Help, error message, execution time" & vbNewLine & vbNewLine & _
"note:" & vbNewLine & _
"First, does not support XP system." & vbNewLine & _
"Second, the picture size must be less than 3M, it is recommended to be less than 1M. Otherwise it will be very slow (VBS pot, next time Vb.Net), and the recognition effect is very poor or even unrecognizable"
End If
End Function
Function HTTP_POST(ByVal Address,ByVal Args)
With CreateObject("MSXML2.XMLHTTP")
.Open "POST",Address, False
.SetRequestHeader "CONTENT-TYPE","application/x-www-form-urlencoded"
.Send Args
HTTP_POST = .ResponseText
End With
End Function
Function GetToken(ByVal APIKey,ByVal SecretKey)
Const GET_TOKEN_URL = "https://aip.baidubce.com/oauth/2.0/token"
On Error Resume Next
GetToken = _
Split( _
HTTP_POST( _
GET_TOKEN_URL, _
"grant_type=client_credentials" & _
"&client_id="&APIKey & _
"&client_secret=" & SecretKey _
) _
,"""")(3)
If Err.Number <> 0 Then GetToken = "ERROR"
On Error Goto 0
End Function
Function FileBase64Enc(ByVal strFilePath)
Dim fso,WshShell,TmpFilePath,oReadFile
Const ForReading = 1
Const MyBirthDay = 1228
Const WINDOW_HIDE = 0
Set fso = CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("Wscript.Shell")
TmpFilePath = fso.GetSpecialFolder(2) & "\" & Fix(Rnd * MyBirthDay) & ".TMP"
WshShell.Run "Certutil.EXE -ENCODE """ & strFilePath & """ """ & TmpFilePath & """" ,WINDOW_HIDE ,True
Set oReadFile = fso.OpenTextFile(TmpFilePath,ForReading)
oReadFile.ReadLine 'Skip the first line”-----BEGIN CERTIFICATE-----“Sign
Dim Str
While Str <> "-----END CERTIFICATE-----"
FileBase64Enc = FileBase64Enc & Str
Str = oReadFile.ReadLine
Wend
oReadFile.Close
fso.DeleteFile TmpFilePath
End Function
before you press send on postman you can click on code its in orange from there you can get code snippets that you will better understand.
here is how you set 1 headers in qm
typelib WinHttp {662901FC-6951-4854-9EB2-D9A2570F2B2E} 5.1
WinHttp.WinHttpRequest xhrt._create
xhrt.Open("POST" F"https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic")
05-01-2019, 11:38 PM (This post was last modified: 05-02-2019, 01:55 AM by win.)
Thank you for your reminder, it has been successful
I have two problems now.
1. How to convert the image to base64 format, I did not find the relevant function
I use Online transcoding https://tool.css-js.com/base64.html
________________________________________________________________________________
Body code format:
access_token:24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329
image: image need Base64 format, delete the prefixdata:image/png;base64,
language_type:CHN_ENG
probability:true
detect_direction:true
________________________________________________________________________________
2. I can't get the result using the Ixml function.
str body= F ;access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&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4P%2BNTHNIY7Ho%2FAAAAAElFTkSuQmCC&language_type=CHN_ENG&probability=true&detect_direction=true
r.Send(body) ARRAY(byte) a=r.ResponseBody str s.fromn(&a[0] a.len) out s
str ss.getfile("$desktop$\newatwindow.JPG");; change to file location
_s.encrypt(4 ss ""2)
_s -"access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image="
_s +"&language_type=CHN_ENG&probability=true&detect_direction=true" out _s
str body= F ;access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image=iVBORw0KGgoAAAANSUhEUgAAA18AAABeCAYAAADc8q5RAAARPUlEQVR4nO3diZXjKhaAYWqSsTuDl4VVGXQWdgiuLDqDcmXRGViOxqMNrSwXhJCr%2Bv%2FOqTNv2jYChICrBb09KwoAAAAAsKn%2F7Z0BAAAAAPgXEHwBAAAAQAYEXwAAAACQAcEXAAAAAGRA8AUAAAAAGRB8AQAAAEAGBF8AAAAAkAHBFwAAAABkQPAFAAAAABkQfAEAAABABgRfAAAAAJABwRcAAAAAZEDwBQAAAAAZEHwBAAAAQAYEXwAAAACQAcEXAAAAAGRA8AUAAAAAGRB8AQAAAEAGBF8AAAAAkAHBFwAAAABkQPAFAAAAABkQfAEAAABABgRfAAAAAJABwRcAAAAAZEDwBQAAAAAZEHwBAAAAQAYEXwAAAACQAcEXAAAAAGRA8AUAAAAAGRB8AQAAAEAGBF8AAAAAkAHBFwAAAABkQPAFAAAAABkQfAEAAABABgRfAAAAAJABwRcAAAAAZEDwBQAAAAAZEHwBAAAAQAYEXwAAAACQAcEXAAAAAGRA8AUAAAAAGRB8AQAAAEAGBF8AAAAAkAHBFwAAAABkQPAFAAAAABkQfAEAAABABgRfAAAAAJABwRcAAAAAZEDwBQAAAAAZEHwBAAAAQAYEXwAAAACQwb8RfJUXdXx7U2%2FFbe%2BcANjLrVBvdT%2Bg%2F%2BgPBtRNtPJybOqMKovX1uFRXcq9c7K9rcr63dLFxujTX9rK4KtUl%2BPbdA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LVLrne38e3yTigAAPBSdnx%2FVHZblfW7pQvAKPFth53u8vWgvr843T29AAAAAPDdbBN8AQAAAAAmEt92CAAAAAAwIfgCAAAAgAwIvgAAAAAgA4IvAAAAAMiA4AsAAAAAMiD4AgAAAIAMCL4AAAAAIAOCLwAAAADIgOALAAAAADIg%2BAIAAACADAi%2BAAAAACADgi8AAAAAyIDgCwAAAAAyIPgCAAAAgAwIvgAAAAAgA4IvAAAAAMiA4AsAAAAAMiD4AgAAAIAMCL4AAAAAIAOCLwAAAADIgOALAAAAADL4P%2BNTHNIY7Ho%2FAAAAAElFTkSuQmCC&language_type=CHN_ENG&probability=true&detect_direction=true
str ss.getfile("$desktop$\1.png");; change to file location
_s.encrypt(4 ss ""2)
str body= F ;access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image={_s}&language_type=CHN_ENG&probability=true&detect_direction=true
str body=F"access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image={_s}&language_type=CHN_ENG&probability=true&detect_direction=true" out body
str ss.getfile("$desktop$\1.png");; change to file location
_s.encrypt(4 ss ""2)
;;;have problem with the output, indicating that the image format is incorrect. ;_s-"access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image=" ;_s+"&language_type=CHN_ENG&probability=true&detect_direction=true" ;mes _s
;;;have problem with the output, indicating that the image format is incorrect. str body=F"access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image={_s}&language_type=CHN_ENG&probability=true&detect_direction=true" mes body
i tried it using several base64 encoders(even used chrome and firefox to get the encoding) all return image format error . Not sure what the problem is and since baudi is in chinese hard to translate
str body= F ;access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image=iVBORw0KGgoAAAANSUhEUgAAA18AAABeCAYAAADc8q5RAAARPUlEQVR4nO3diZXjKhaAYWqSsTuDl4VVGXQWdgiuLDqDcmXRGViOxqMNrSwXhJCr%2Bv%2FOqTNv2jY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ngpeSmidOsuAr%2BH1XMcveG4KvNX2L7g9Cj%2BeQso7freYjTdf3bjpz2QPe7RXS%2Fzh%2FYx4n1gVf7j%2FnCQbJcZQy%2BHrm69NDtrPFPGr%2FMXHFe3YTznmjVztsn%2BO5K%2BNtn83qOk9VWq6b179d3C%2FarIo0eghOqLlv0%2FCj%2BkFh%2FyNFhbo92%2FvZHx%2B%2FEj4D5tbU3SLP7T21tvto15VTllbVrmbPYQ314%2F%2FudmLqK6aNFTdLe%2B4%2Fl9ZbWnHtxV0Wm73KGNrWUuZTUlf6OSTT7U79sxOGW3Vi9p1E2%2F%2Ba66tp5%2BXyIfsYu7X5%2Fql3yzMr%2BlkgleuZ4rp9zttJ%2B4xBaJ%2Ftqru4dpagn64Xo3rvnjW62drO%2BPbD2AfTu1uZgm4b7J5564QvBBHat9j7g7DjOaSs3e1%2BoufG5ek2bfDePd800T0fMyl7zL4JcLyq0jhnrOtP8siGjH6WxzqXdMxP9xv%2F8vXpIdvZYu6Rcv4%2FT1dWrteY177VEVi65EZLmyZqKAAA4AeoJjZvVZBXT3IyzXH2s1VZv1u6ABYSv%2BerezD58aGKfOuQAwCAl9at5Hc4K8GiwN%2FcVmX9bukCMEkefLVLrne38e3yTigAAPBSdnx%2FVHZblfW7pQvAKPFth53u8vWgvr843T29AAAAAPDdbBN8AQAAAAAmEt92CAAAAAAwIfgCAAAAgAwIvgAAAAAgA4IvAAAAAMiA4AsAAAAAMiD4AgAAAIAMCL4AAAAAIAOCLwAAAADIgOALAAAAADIg%2BAIAAACADAi%2BAAAAACADgi8AAAAAyIDgCwAAAAAyIPgCAAAAgAwIvgAAAAAgA4IvAAAAAMiA4AsAAAAAMiD4AgAAAIAMCL4AAAAAIAOCLwAAAADIgOALAAAAADL4P%2BNTHNIY7Ho%2FAAAAAElFTkSuQmCC&language_type=CHN_ENG&probability=true&detect_direction=true
IXmlNode ro=x.Path("root/words_result/item/words") str v1=ro.Value mes v1
note:
image need Base64 format, delete the prefix data:image/png;base64,
The following parameters can only identify Chinese and English. language_type:CHN_ENG I used online transcoding and tried several pictures, all of which can be successfully identified and very accurate.