Important Update: Free OCR Service Plugin v2.18.0

Hey everyone,

We’ve made some improvements to the Free OCR Service plugin to keep things more secure and reliable:

  • The OCR Service Get Text element has been removed.
  • We’ve added a new server-side action called Extract Text instead.

What you need to do:

After updating to version 2.18.0, you’ll need to re-enter your keys in the Extract Text action to keep everything running smoothly.

Thanks for your understanding and for sticking with us! Let us know if you need any help. :slight_smile:

Browse all Zeroqode Plugins for Bubble Banner_Last3

Is there any change in what’s returned by the new action relative to the deprecated action?

Hi @davidb,

We’re still using the same API call to the OCR service, so there won’t be any changes in text extraction. However, this update enhances the security of the API keys, and we strongly recommend everyone update the plugin!

The only changes you’ll need to make are to add the API key in the plugin settings and replace the previous action with the new one.

Please let us know if you have any further questions!

Best regards :sunflower:

Browse all Zeroqode Plugins for Bubble Banner_Last3

Sorry, I’m new to this and can’t figure out where the extracted text is stored. (I want to access and use the text extracted by the API.)

Hi @ericwuu,

Thanks for reaching out to us and we apologize for the delayed reply :pray:

The extracted text from the image comes as the result of the “Extract Text” action. To simply save the result, you can set them as a custom state.

To explain more, as you mentioned you’re new to this, the “Extract Text” action can return information. After adding the extract action to the workflow, you can add a "Set State of an Element” action. In this new action, select a custom state you created. When setting the value of the custom state, you’ll have an additional dynamic option: “Result of step X”. Choose what information you want to set to the custom states like this example.

You can also check our demo page to see how the extracted text is saved :hugs:

Let us know if you have any other questions or concerns!

Best regards :hibiscus:
Browse all Zeroqode Plugins for Bubble Banner_Last3

1 Like

I see that the extracted text is a list. How can I retrieve the last line or a specific line, such as the 3th line?

for example, I run the OCR service and get 7 lines, but why the extracted text list :count is 1, instead of 7?

Hi @ericwuu,

Good question! The extracted text is a list, but if you’re seeing :count as 1, it likely means that the OCR engine returned the entire text as a single list item instead of breaking it into multiple lines.

To retrieve a specific line, you can try:

:one: Splitting the text manually – Use :split by (\n) to separate the lines if they were returned as one item.
:two: Getting a specific line – Once split, use :item #3 to get the 3rd line, for example.
:three: Retrieving the last line:last item will get the final line from the list.

You can also test different images and setups on our demo page here:
:point_right: OCR Test Page

Hope this helps!

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

thanks, you forgot to use :first item before :split by.

and can you tell what did i do wrong? it returns me the whole text:

Hi @ericwuu,

Thank you for your message and apologies for the delayed response over the weekend! :pray:

Good catch! You’re right—you need to use :first item before :split by (\n) to properly break the text into separate lines.

If your expression is still returning the whole text instead of splitting it, here are a few things to check:

:one: Ensure the text contains actual line breaks – Sometimes, OCR output might use spaces instead of \n for new lines. Try copying the extracted text into a text editor to check if line breaks exist.

:two: Confirm the \n separator works – If \n isn’t splitting the text, try using :split by ( ) (a space) or :split by (,) if the text uses commas instead.

:three: Debugging step – Before selecting a specific line, test the split list using a Repeating Group or a Text element (set to display the full list) to confirm that the split actually worked.

:four: Final format – The correct approach should be:

  • To get the 3rd line: Popup OCR's OCR-text:first item:split by (\n):item #3
  • To get the last line: Popup OCR's OCR-text:first item:split by (\n):last item

Since this involves Bubble logic and implementation, please note that we provide general support related to plugin functionality and bug fixes. If you need more in-depth guidance, feel free to check the Zeroqode Forum or the Bubble Forum, where other users and experts might share additional insights.

Hope this helps! Let me know if you need anything else. :blush:

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Have you tested?
I’ve tried

by (\n)
by (a space)
by (,)

none of them works…

Hi @ericwuu,

Thanks for getting back!

We’ve just tested this on our test page (demo link) and confirmed that splitting by space (" ") works, while \n and , do not seem to apply as expected. Please find the attached screenshots for reference.




If it’s still not working on your end, we recommend:

  1. Testing with a Repeating Group or a Text element to display the full list of split items before applying :first item or :item #.
  2. Trying a manual test by inputting a multi-line text string instead of OCR-generated text to see if the issue is specific to the data source.

Also, just a quick reminder that we provide general support related to plugin functionality and bug fixes. If you need advanced implementation assistance, we encourage checking the Zeroqode Forum or Bubble Forum, where other users and experts may share additional insights.

Let us know if you need anything else! :rocket:

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi @ericwuu ,

Thank you for your question :pray:

As mentioned earlier, the accuracy of OCR extraction depends on several factors, including image clarity, text contrast, and background noise. In my test, cropping the image helped improve recognition, which suggests that the original image might contain elements affecting detection.

We’d recommend trying the following:
:small_blue_diamond: Crop or enhance the image to improve text contrast.
:small_blue_diamond: Test with a different image to compare results.
:small_blue_diamond: Check if any extra spaces or hidden characters are affecting the split function.

Looking forward to your reply. :pray:

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

(demo link)
Using the same image file (demo link), I’m curious why the results differ.

Hi @ericwuu,

Thanks for your message! :blush:

We’ve tested the OCR extraction across different devices, including iOS, macOS, and Android, and the results have remained consistent. This suggests that the variation you’re seeing may be due to differences in browser rendering, image processing, or specific conditions on your device.

To help narrow this down, could you let us know:
:small_blue_diamond: Which device/browser you’re using?
:small_blue_diamond: If any browser extensions or settings might be interfering?
:small_blue_diamond: If the issue persists when using a different browser or incognito mode?

Looking forward to your insights! :rocket:

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3