Hey guys,
I’m currently developing an app, that has an OCR functionality. The user can scan a text or take a text from the gallery and after that, the image will be converted to text. For the OCR functionality I am using the Microsoft ocr api. When I take an image from the gallery everything works fine. Just when I scan a text with the camera it doesn’t work, cause the images in the gallery are stored as a jpeg file and are very small. When I take an image directly with the camera, the image has a jpg file which is much bigger and the Microsoft ocr api doesn’t accept such big images. So my idea was to make a custom action, that converts the jpg into a jpeg and after that, it will be sent to the Microsoft ocr. Do you guys have any ideas on how exactly I can do this in Flutterflow to compress images.
Thanks a lot!
Greetings,
Benjamin