mcqueccu Expert Licensed User Longtime User Sep 29, 2024 #1 Good day, I integrated Google Text recognition MLKIT into LLCamera code. My issue is, When I take picture in 1. Portrait Mode (Camera UP) - It does not recognize text 2. Landscape mode (Camera at the Left) - Recognizes OK 3. Landscape mode (camera at the Right) - text recognized upside down Does the recognition happen in One Orientation? if yes how can I detect the orientation of my phone, and rotate the picture for the MLKiT to recognize? I am unable to upload the Example (Less than 700kb). Forum says too large to upload LLCameraWithRecognition MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere. www.mediafire.com
Good day, I integrated Google Text recognition MLKIT into LLCamera code. My issue is, When I take picture in 1. Portrait Mode (Camera UP) - It does not recognize text 2. Landscape mode (Camera at the Left) - Recognizes OK 3. Landscape mode (camera at the Right) - text recognized upside down Does the recognition happen in One Orientation? if yes how can I detect the orientation of my phone, and rotate the picture for the MLKiT to recognize? I am unable to upload the Example (Less than 700kb). Forum says too large to upload LLCameraWithRecognition MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere. www.mediafire.com
Erel B4X founder Staff member Licensed User Longtime User Sep 29, 2024 #2 I haven't checked your project. Have you tried to show the bitmap with an ImageView / B4XImageView? Does it appear with the correct orientation? Upvote 0
I haven't checked your project. Have you tried to show the bitmap with an ImageView / B4XImageView? Does it appear with the correct orientation?
mcqueccu Expert Licensed User Longtime User Sep 29, 2024 #3 Okay, When I turned the phone to the side (landscape) the image preview shows the same orientation as the phone. Upvote 0
Okay, When I turned the phone to the side (landscape) the image preview shows the same orientation as the phone.