-1

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

Snake
  • 14,228
  • 27
  • 117
  • 250

1 Answers1

1

You can use getBitmap() method of FirebaseVisionImage

getBitmap()

  • Returns its bitmap representation.
  • The image will be rotated to up-right if it's created with rotation info via setRotation(int).
AskNilesh
  • 67,701
  • 16
  • 123
  • 163