iOS Question LLCamera with TextRecognition MLKIT only recognizes in Landscape mode

mcqueccu

Well-Known Member
Licensed User
Longtime User
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

 
Top