Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passport detection failed #16

Open
palinda opened this issue Dec 12, 2018 · 0 comments
Open

Passport detection failed #16

palinda opened this issue Dec 12, 2018 · 0 comments

Comments

@palinda
Copy link

palinda commented Dec 12, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant