Home > Back-end >  This is the problem
This is the problem

Time:10-11

Does anyone know what's wrong with this is

CodePudding user response:

Look from the error message is a null pointer errors
Call getWidth when acquiring the width of bitmap wrong
Estimates that there is no corresponding android library or library is not compatible, OCR is expected to use some of the opencv library, opencv library depends on the CPU, so not compatible is a common problem, is expected to be recompiled packaged libraries

CodePudding user response:

Tooltip says that on a null object call getWidth () method
Is probably the bitmap is load success, to obtain the image size without identifying the
See the code after loading the images to test the success

CodePudding user response:

Fun
reference 2 floor response:
tooltip says that on a null object call getWidth () method
Is probably the bitmap is load success, to obtain the image size without identifying the
See the code after loading the images to detect the success

Thank you thank you

CodePudding user response:

reference 1st floor qybao response:
from error is a null pointer errors
Call getWidth when acquiring the width of bitmap wrong
Estimates that there is no corresponding android library or library is not compatible, OCR is expected to use some of the opencv library, opencv library depends on the CPU, so not compatible is a common problem, is expected to be recompiled packaging library

Thank you thank you
  • Related