Home > Back-end >  How to use the image download address, and identification
How to use the image download address, and identification

Time:04-02

Others have saved a file on the server address, I get to, then I call baidu character recognition API, the result, which can identify the address is
But with online photo copy address, can identify,
After asked baidu cloud technology consultant, said the other, try to use wrapper JAR to try, the result is an error that address is not the url address,
To download the address to the local, and then, the result is 401,
Download operation and open this address directly, not like some pictures online, copy picture address, open is to display the image,
Ask bosses, the address how can I get to realize the recognition invoice?
Knelt down on her knees kneeling on her knees,,,,

CodePudding user response:

To realize two steps:
The first step to use fixed images through baidu API,
The second step is to obtain the remote images, by using the method of the first step to ask baidu interface

CodePudding user response:

reference 1st floor a1767028198 response:
implementation of two steps:
The first step to use fixed images through baidu API,
The second step is to obtain the remote images, by using the method of the first step to ask baidu interface

This has been solved, thank you ,
I this error point is: I have a question is this address private, the back of the public can be identified,
Now is baidu API interface specifications provided by the universal recognition, provide a url parameter identification can identify; VAT invoice identification, can't provide the url parameter identification,
  • Related