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
I am developing real time OCR application with Tesseract (tess-two).
Also I need to crop preview (to improve success rate of OCR) with Rect like Barcode libs (barcode libs show full screen preview but only scan specified area).
I try to convert frame.image(Byte Array) to Bitmap with this code
BitmapFactory.decodeByteArray(frame.image, 0, frame.image.length);
But, bitmap always return null. How can I convert frame.image to bitmap?
Logcat message: --- SkImageDecoder::Factory returned null
The text was updated successfully, but these errors were encountered: