# Ez OCR

## 🔗Links

&#x20;      [**Plugin Link on Bubble Marketplace**](https://bubble.io/plugin/ez-ocr-1698390167524x591722203640234000)

&#x20;      [**Plugin Link on Our Website**](https://eazycode.com/one_plugin/ez-ocr-1700481410939x918532260109209200)

&#x20;      [**Demo Link**](https://demoeazycode.bubbleapps.io/version-test/orgchart)

&#x20;      [**Bubble Editor**](https://bubble.io/page?type=page\&name=ez_tesseract\&id=eazycodedemo\&test_plugin=1695039153048x585146580007387100_current\&tab=tabs-1)

***

## Description

**Ez OCR** (Optical Character Recognition) can be helpful if You need to Get Text from an Image or PDF document quickly.&#x20;

**Ez OCR** plugin combines two well-proven libraries tesseract and pdf, the plugin is made so that it will automatically detect the input file and perform OCR on the document or image

***

## How It Works

1. Upload file(PDF or Image)
2. Choose Language for OCR ([Tesseract documentation](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016))
3. Press Get Text
4. Get Back Text or Error (yes/no)

***

## Step By Step Instruction

1. Find the “**RecogniseMyImage**” element from the Design Tab and add it.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/4di-2WqT-ZUgEFSx7T1tuTCCoJDiWl9bcfJEKoq03urTrXG984nNHhUDhHs5nMTaMJq1O9P8lpAgConXrYhW-5lefiZ2f66tbnu_Q9NONuxmQc9QmAVaADXdg2lkDPOvuPlLNCdNGjD06CwH_q2lcg" alt=""><figcaption></figcaption></figure>

2. Specify action(ex: Button Click)

<figure><img src="https://lh7-us.googleusercontent.com/sraO16jSI3KCRyc5WavPhrJr82XakHLtrBgBTEdiCebQUblVqAMJH1MQm6sQYvR19xsUQyy0Qd0WY5YtfDaj2FJEj38Vx7xIK6CGC7R4Q_aFEtGbSfB02LHcUFW3NwDhombXmfPIubB2d4ucfDPHIA" alt=""><figcaption></figcaption></figure>

3. Add Action to “When Get Text is Clicked”, from “Element Action” find “**Get Text RecogniseMyImage**”

<figure><img src="https://lh7-us.googleusercontent.com/508GjF8hoSvQcq4ynARML7hHimLCnMsUJCRkXXluVZJ5Wlib0wXBX4g8BKbPnGhl81vGkc6nS8Ppeo19saiAp_F9QHjcUNx_ik2nQa_jFSZMAOIRKEikDn3j2muHjaVty_1r6fYX8omWTZ_smayKoQ" alt=""><figcaption></figcaption></figure>

4. Now You need to specify “**Link To Image**” and “**Language**”:\
   **Link to image:**  \
   (Example) //meta-l.cdn.bubble.io/f1698391677008x978944494753940100/avatar1.png\
   \
   **Language:**\
   Three letters for language(ex: eng, afr, fra).\
   You can view the complete list of supported languages ​​by following the [link](<https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016. >).

<figure><img src="https://lh7-us.googleusercontent.com/s9t0rFHCYdFE39XMrHkGq31MQrsHkaBQ-zP7LPUgWBnnzds1XKjY2FrnZ4nN84kPAl7-cMB3fKBypzB8Km4QQnOWBl7qDc95ZdDN6ZqE1BDSFeRcFMz_QVOLv3NJS0rHdTCQV5aqk_1org2nXH9iPg" alt=""><figcaption></figcaption></figure>

5. In the “Design” Tab You can specify how to show the response OCR from **Ez OCR** plugin (ex: “Text”)\
   Find “RecogniseMyImage” and You will get two States “Response” or “Error”

<figure><img src="https://lh7-us.googleusercontent.com/giGFhb0Jt3cwqeSaGWFy7r1JduzgHWZRCytzYSaVdlymujcd3hzkG6cfjk87U2b5basONex8nKSUglD5mU53hR7JfrAbNWNNqe6MRl6jUIkjjEbxj2f0NSktNcFXhmOYU7s2sHI0HZURxe0INa8vGQ" alt=""><figcaption></figcaption></figure>

While **Ez OCR** plugin is busy, You can show a circular Progress bar or something. To make it, you have two triggerEvents “OCR Start” and “OCR Finish”. And “OCR Error” will fire when an error occurs.

***

<div align="left"><figure><img src="/files/FWlRXstCc6xNIGrX5Eqb" alt="" width="188"><figcaption></figcaption></figure></div>

Feel free to contact us for any inquiries and we’ll be happy to find a solution for your ideas – <http://eazycode.com/>

**Hire us:**

<img src="/files/4KPeHfCmX2d7zpd83cXF" alt="" data-size="line"> <https://www.fiverr.com/share/qQoDQZ>\ <img src="/files/h0wwtUMwvDod7FamBfIq" alt="" data-size="line"> <https://www.upwork.com/freelancers/~01c1a4cbef44ecb5f1>\
\
**Follow us:**

<img src="/files/67Q41mFR1z6nYwKvqJeJ" alt="" data-size="line"> <https://www.facebook.com/eazycode>\ <img src="/files/6MUa0InxwRzMoVStCu5q" alt="" data-size="line"> <https://twitter.com/ezcode_official>  \ <img src="/files/IUseXDC1i7zfvZcQgctx" alt="" data-size="line"> <https://www.instagram.com/eazycodecom/>\ <img src="/files/0dMeGeMKCjKSGW3RBP6P" alt="" data-size="line"> <https://www.linkedin.com/company/eazycodecom/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eazycode.com/ezcode-documentation/plugins/ez-ocr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
