# Image recognition to text ocr issue

**URL:** <https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440>\
**Category:** Web API's\
**Tags:** beginner, help, ocr\
**Created:** [August 19, 2023, 9:47am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440 "2023-08-19T09:47:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 19, 2023, 9:47am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/1 "2023-08-19T09:47:13Z")

</div>

hello, i’m a thunkable beginner. really looking forward for help right now. So the application i’m making is basically taking a picture using camera then the system will use image recognition to check text in the picture and make it an output for the label that will be put in the menu.

im having a big issue with OCR since the one i tried isn’t working even after checking few times. everything seem to be fine. im really looking forward for help or advices on this as i’m a beginner and isn’t that much used to this website.

helps will be appreciated if possible, this work is really rush since ive been working for it for the past weeks and i have to finish it by monday. thanks you so much. pictures below containing whats in the blocks and component so far.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/f/9fcd5e4b02bf8d306e892c71295ff65fe50d36c8.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7f9ee61ef0d2bb951d090cb336f4eb7a74dc1f9c.png)

---

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 19, 2023, 9:48am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/2 "2023-08-19T09:48:42Z")

</div>

sorry if it confusing but to make it short. im struggling to make an application which is image recognition to text by using a camera. im mainly having issue with the blocks and OCR but the rest is kinda fine.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 19, 2023, 8:23pm UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/3 "2023-08-19T20:23:16Z")

</div>

There are two things we need to be able to help you: 1. a description of exactly what is/is not working and 2. a screenshot of your blocks or a link to your project. You’ve only provided #2.

I also recommend with any API that you assign the green `response` block to a text input’s text and then copy and paste the response and post it here. Make sure to format that text using the \</\> button in the forum toolbar. Once we have that, we can tell you if you’ve parsed the JSON correctly.

---

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 20, 2023, 2:52am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/4 "2023-08-20T02:52:15Z")

</div>

So basically, The output on the text suppose to be the text that on the image which in this example, It’s suppose to show “Hello” but after i tested it. The output show “null”

I tried to do as you said which put the response block in the text’ input’s text instead. The second picture is what it shows

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/5/f5bb1e97d3256c41bd8379fd07f8b12d163fabcb.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/a/7a8b88a17b7f5ba3652709972f0d63c39daac13f.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 20, 2023, 2:59am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/5 "2023-08-20T02:59:12Z")

</div>

What I am suggesting is that you preview the project and then copy the text from the text input (be sure to select all) and then post it here as text (not a screenshot).

---

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 20, 2023, 3:00am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/6 "2023-08-20T03:00:09Z")

</div>

it says  
`{"ParsedResults":[{"TextOrientation":"0","FileParseExitCode":1,"ParsedText":"","ErrorMessage":"","ErrorDetails":""}],"OCRExitCode":1,"IsErroredOnProcessing":false,"ProcessingTimeInMilliseconds":"1296","SearchablePDFURL":"Searchable PDF not generated as it was not requested."}`

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 20, 2023, 5:01am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/7 "2023-08-20T05:01:10Z")

</div>

> [@17225cto9as](#):
>
> {“ParsedResults”:[{“TextOrientation”:“0”,“FileParseExitCode”:1,“ParsedText”:“”,“ErrorMessage”:“”,“ErrorDetails”:“”}],“OCRExitCode”:1,“IsErroredOnProcessing”:false,“ProcessingTimeInMilliseconds”:“1296”,“SearchablePDFURL”:“Searchable PDF not generated as it was not requested.”}

It looks like you got a valid response and the text it found was **none**.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/07faf7fe1bf023047d7509524ad0dc558949998b.png)

So you might have to try a different image or a different OCR API. Many free OCR APIs are very poor quality and don’t recognize text very well.

Try this url instead of the Image1’s Picture and let me know the JSON response: [https://www.mockofun.com/wp-content/uploads/2020/04/stop-sign-5614.jpg](https://www.mockofun.com/wp-content/uploads/2020/04/stop-sign-5614.jpg)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/707e005ea1bbd372665d3d4b17a9a8668304a0ad.jpeg)

Because using their test GET call, it works. This url: [https://api.ocr.space/parse/imageurl?apikey=helloworld&url=https://www.mockofun.com/wp-content/uploads/2020/04/stop-sign-5614.jpg](https://api.ocr.space/parse/imageurl?apikey=helloworld&url=https://www.mockofun.com/wp-content/uploads/2020/04/stop-sign-5614.jpg) returns this JSON:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/6/1677fcf88bc133947747236e25ebf5d76b5b5617.png)

---

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 20, 2023, 6:27am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/8 "2023-08-20T06:27:47Z")

</div>

I tried and it worked, Thanks you so much!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 20, 2023, 3:29pm UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/9 "2023-08-20T15:29:51Z")

</div>

Did it work with your image or with the sample image url I gave you?

---

<div class="post-metadata">

**Author:** ![17225cto9as](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@17225cto9as](https://community.thunkable.com/u/17225cto9as)\
**Post date:** [August 23, 2023, 1:48am UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/10 "2023-08-23T01:48:01Z")

</div>

Both.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/image-recognition-to-text-ocr-issue/2551440/11 "2024-11-08T13:33:37Z")

</div>


