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'm receiving following issue on Passport Scan. frameWidth and frameHeight are 0.
E/OpenCameraSource: Exception thrown from receiver. CvException [org.opencv.core.CvException: cv::Exception: /Volumes/Linux/builds/master_pack-android/opencv/modules/imgproc/src/imgwarp.cpp:3229: error: (-215) ssize.area() > 0 in function void cv::resize(cv::InputArray, cv::OutputArray, cv::Size, double, double, int) ] at org.opencv.imgproc.Imgproc.resize_1(Native Method) at org.opencv.imgproc.Imgproc.resize(Imgproc.java:2716) at devliving.online.cvscanner.util.CVProcessor.getQuadForPassport(CVProcessor.java:321) at devliving.online.cvscanner.PassportDetector.detectDocument(PassportDetector.java:106) at devliving.online.cvscanner.PassportDetector.detect(PassportDetector.java:42) at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source) at online.devliving.mobilevisionpipeline.camera.CameraSource$FrameProcessingRunnable.run(CameraSource.java:1247) at java.lang.Thread.run(Thread.java:762)
The text was updated successfully, but these errors were encountered:
I'm receiving following issue on Passport Scan. frameWidth and frameHeight are 0.
E/OpenCameraSource: Exception thrown from receiver. CvException [org.opencv.core.CvException: cv::Exception: /Volumes/Linux/builds/master_pack-android/opencv/modules/imgproc/src/imgwarp.cpp:3229: error: (-215) ssize.area() > 0 in function void cv::resize(cv::InputArray, cv::OutputArray, cv::Size, double, double, int) ] at org.opencv.imgproc.Imgproc.resize_1(Native Method) at org.opencv.imgproc.Imgproc.resize(Imgproc.java:2716) at devliving.online.cvscanner.util.CVProcessor.getQuadForPassport(CVProcessor.java:321) at devliving.online.cvscanner.PassportDetector.detectDocument(PassportDetector.java:106) at devliving.online.cvscanner.PassportDetector.detect(PassportDetector.java:42) at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source) at online.devliving.mobilevisionpipeline.camera.CameraSource$FrameProcessingRunnable.run(CameraSource.java:1247) at java.lang.Thread.run(Thread.java:762)
The text was updated successfully, but these errors were encountered: