You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
many thanks for making this plugin available. I am using it on a Capacitor project with an embedded Google OCR component.
When importing an image on iOS and passing it the OCR engine an error is being thrown (OCR failed to decode image'). If the same file is 'shared' using another plugin as opposed to importing OCR works just fine.
The difference in the two base64 strings is that the good one has '==' at the end. Changing the regex in the js file in this plugin to include '=' resolves the issue.
/[^A-Za-z0-9\+\/=]
cheers,
R
The text was updated successfully, but these errors were encountered:
Hi,
many thanks for making this plugin available. I am using it on a Capacitor project with an embedded Google OCR component.
When importing an image on iOS and passing it the OCR engine an error is being thrown (OCR failed to decode image'). If the same file is 'shared' using another plugin as opposed to importing OCR works just fine.
The difference in the two base64 strings is that the good one has '==' at the end. Changing the regex in the js file in this plugin to include '=' resolves the issue.
/[^A-Za-z0-9\+\/=]
cheers,
R
The text was updated successfully, but these errors were encountered: