How use OCR Extension

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

1 Like

Can you share a screenshot of the blocks you’ve used so far please?

1 Like

It is really easy to use my extension:

4 Likes

I tried this blocks, but i receive only the response FALSE as OCR!.success.
Where is my wrong, please ?

1 Like

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:
https://ocr.space/ocrapi#free

Ps.
To see the error message if success is false, set responseContent block too, to the join block.
Then you will see what’s wrong.

Like this:

2 Likes

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.

1 Like

Then make sure your file is not bigger as 1MB

1 Like

I tried with file smaller then 1 mb but I had the same result.

1 Like

What shows the responseContent for text?!?

Better:
Post a screenshot

1 Like

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 ?

1 Like

Can you share here your project?
Then I can try it for myself.

1 Like

TempOcr.zip (607.9 KB)
In this file I put file aia and image. I hope you can help me. Thank you.

1 Like

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 :smiley: 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.

1 Like

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.

1 Like

I look later into my extension code and see what happens.

1 Like

Thank you very much for your help. I hope you can resolve the problem.

1 Like

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 ?

1 Like

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.
http://status.ocr.space

1 Like

Some news, please ?

2 Likes

Hello,

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
Thank you.

1 Like