# 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="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FOmA8OIR6KMcPc4Kd8oZW%2Fimage.png?alt=media&#x26;token=d8d79fa2-356b-4dd7-a687-fc59b1c965b3" 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="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FnhRM38XquaMB7rEGRZF5%2Fimage.png?alt=media&#x26;token=94debb70-7346-48cc-8e7a-ddac3b68cc70" alt="" data-size="line"> <https://www.fiverr.com/share/qQoDQZ>\ <img src="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FUnmo0SgqtdtObJcWnXKG%2Fimage.png?alt=media&#x26;token=84a44ee4-c963-4409-ab03-5e03da5f9917" alt="" data-size="line"> <https://www.upwork.com/freelancers/~01c1a4cbef44ecb5f1>\
\
**Follow us:**

<img src="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FY27NTLRLjxmS860b2LuF%2Fimage.png?alt=media&#x26;token=de978886-fe93-45d9-9aa2-dbe633c9c900" alt="" data-size="line"> <https://www.facebook.com/eazycode>\ <img src="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FJxNkIN1XL49rJ0d1PW4h%2Fimage.png?alt=media&#x26;token=6bc2d54b-741e-4327-895e-c9d256e29cfc" alt="" data-size="line"> <https://twitter.com/ezcode_official>  \ <img src="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2FDIjJ2ERcrlmbdSWhRNBd%2Fimage.png?alt=media&#x26;token=0a8166ae-162e-4fcb-bef6-e458c760fee7" alt="" data-size="line"> <https://www.instagram.com/eazycodecom/>\ <img src="https://1427565863-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwuVpDcDmZQqJGW4nltd9%2Fuploads%2F0K22Xx5JDxzKfhXJkmSi%2Fimage.png?alt=media&#x26;token=90af72e3-5fcc-4ea2-baf6-56525f3e1e6a" alt="" data-size="line"> <https://www.linkedin.com/company/eazycodecom/>
