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
Photo captured in landscape mode that time recognizer not provided any output(actually text recognizer only working in camera zero angle remaining three angle not working 90,180,270) but portrait mode it's working fine how to solve this issue. please provide the solution in as soon as possible.
If the exif information is missed in the file, the API assume the image is unrotated. If InputImage.fromFilePath(context, uri) does not work for you, you could use ``InputImage.fromBitmap()` here.
Basically, read the Uri file as a bitmap before sending to InputImage. With this API, you could provide the orientation information.
Photo captured in landscape mode that time recognizer not provided any output(actually text recognizer only working in camera zero angle remaining three angle not working 90,180,270) but portrait mode it's working fine how to solve this issue. please provide the solution in as soon as possible.
I mention my complete code on below
private fun callGallery() {
val intent = Intent()
intent.type = "image/*"
intent.action = Intent.ACTION_GET_CONTENT
startActivityForResult(
Intent.createChooser(intent, "Select gallery"),
AppConstant.GALLERY_REQUEST_CODE
)
}
The text was updated successfully, but these errors were encountered: