I am using ml kit for text detection . We pass in FirebaseVisionImage to a detector.
I need to set this FirebaseVisionImage to Image view. How can I extract hr bitmap from FirebaseVisionImage
Thank you
I am using ml kit for text detection . We pass in FirebaseVisionImage to a detector.
I need to set this FirebaseVisionImage to Image view. How can I extract hr bitmap from FirebaseVisionImage
Thank you
You can use getBitmap()
method of FirebaseVisionImage
getBitmap()
bitmap
representation.setRotation(int)
.