I’ve used free ocr api for a while and it works well in my project.
However, it showed following message yesterday.
My program code is same before and after the meesage showed.
Could you help to guide me how to fix the problem?
Thanks!
“Unable to process the file. Please check if the file has sufficient permissions and allows access and is not corrupt”
Thanks for prompt reply!
but the engine I used is 2, not 5. I tried both engine again 10min before. The error message
is still showed with Engine 2 and Engine 5 is with another kind of error as below.
“Timed out waiting for results”.
By the way, I did some experiment yesterday. following status is what I got. hopefully it is useful for you
to help me solve the problem.
The image A is stored on Computer A (Home Assistant)
The image B is a picture on website
Using ONLINE OCR in Computer B (Windows 10)
The image A and B are car plate
Enginge : 2; Language : English
Get the car plate number by text
Paste URL(using domain numbaer) of image A from Computer B and start OCR ==> the error I showed on previous letter
Paste URL(using IP) of image A from Computer B and start OCR ==> the error I showed on previous letter
Paste URL of image B from Computer B and start OCR ==> get the text without problem
Upload the image A on Computer A and start OCR ==> get the text without problem
It is OK to open image A from Computer B by URL with Chrome browser
It seems online OCR denied the image in Computer A by somehow reason. Do you know what
can cause this kind of problem? sorry for the trouble and thanks for your support!
Some statement are missing! please ignore my previous letter,
Sorry! let me send it again!
Thanks for prompt reply!
but the engine I used is 2, not 5. I tried both engine again 10min before. The error message
is still showed with Engine 2 and Engine 5 is with another kind of error as below.
“Timed out waiting for results”.
By the way, I did some experiment yesterday. following status is what I got. hopefully it is useful for you
to help me solve the problem.
(( Environment ))
The image A is stored on Computer A (Home Assistant)
The image B is a picture on website
Using ONLINE OCR in Computer B (Windows 10)
The image A and B are car plate
Enginge : 2; Language : English
(( Expect Result ))
Get the car plate number by text
(( Actual Result ))
Paste URL(using domain numbaer) of image A from Computer B and start OCR ==> the error I showed on previous letter
Paste URL(using IP) of image A from Computer B and start OCR ==> the error I showed on previous letter
Paste URL of image B from Computer B and start OCR ==> get the text without problem
Upload the image A on Computer A and start OCR ==> get the text without problem
It is OK to open image A from Computer B by URL with Chrome browser
It seems online OCR denied the image in Computer A by somehow reason. Do you know what
can cause this kind of problem? sorry for the trouble and thanks for your support!
the test URL is https://et888888.duckdns.org:8123/local/image/test12.jpg
and the error message is “Error: Unable to process the file. Please check if the file has sufficient permissions and allows access and is not corrupt”.
Originally, I thought the file is blocked by free OCR API.
but it’s not. the root cause is my certification is expired.
Sorry to trouble you and thanks for your great help!