Good evening. Please someone can help me in using OCR Extension. I am able to make program with App Inventor (And Thunkable too), but I cannot understand how to use it to take a picture and have the ocr result., Someone can help me, please ? Thank you
Can you share a screenshot of the blocks you’ve used so far please?
I tried this blocks, but i receive only the response FALSE as OCR!.success.
Where is my wrong, please ?
Your blocks are not wrong.
Are you using the default api key/ free api key or pro api key?
default/ free plan api key:
File Size Limit: 1 MB
pro api key:
File Size Limit: 5 MB
You find more informations on this page:
To see the error message if success is false, set responseContent block too, to the join block.
Then you will see what’s wrong.
I am using my personal key after registration of free . I tried to read the response.content in case of receiving success= false, but I cannor read any.
Then make sure your file is not bigger as 1MB
I tried with file smaller then 1 mb but I had the same result.
What shows the responseContent for text?!?
Post a screenshot
The image is only 123 kb, the key is my personale free, the success is ‘false’ and I have not the label for responsecontent is empty. Some suggest ?
Can you share here your project?
Then I can try it for myself.
TempOcr.zip (607.9 KB)
In this file I put file aia and image. I hope you can help me. Thank you.
Your blocks are all right and the extension works.
There must be any problem with the image.
I used your aia file and testet it on my device.
I have choosed a other image from my device and it works.
I don’t know why the image from you is not working.
But the good thing: My extension works Only bad for you that your image is not working mobile.
I uploaded your image here (the same provider) https://ocr.space
and your image works.
I tried with another picture created for this use but the response is the same. I send the image here.
I bag your pardon for my english, but I am italian.
I look later into my extension code and see what happens.
Thank you very much for your help. I hope you can resolve the problem.
You have told me, before, that with another picture the app was right. But you used it with my Api Key or with your own one ?
With your api key.
I have used the list picker. Then I choosed one of my images with text.
After that i get the result.
The free servers are current down from the provider.
So i can not make tests for now.
Some news, please ?
I got the same problem with a png image (244Kb) which returns false with no responseContent (I suppose responseContent is null because when i put it into a textbox, the hint does not disappear)
ofc I got my personal API code.
I upload the same png image directly to the site https://ocr.space and it works but not through app. I also tested with jpg and works fine.
btw the servers are up right now http://status.ocr.space/
Could you please upload an image that works for you to test it in my setup? I’m curious this image properties