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

InRange not show error #6

Open
ghost opened this issue Feb 4, 2018 · 1 comment
Open

InRange not show error #6

ghost opened this issue Feb 4, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 4, 2018

var m = arg.Mat;
var lower_blue = new OpenCvSharp.Scalar(20, 100, 100);
ar upper_blue = new OpenCvSharp.Scalar(30, 255, 255);
Cv2.InRange(m, lower_blue, upper_blue, mask);
Cv2.ImShow("a", mask);
/// App in Mobile stop working but not show error.
help me pls.

@ghost
Copy link
Author

ghost commented Feb 4, 2018

cv::Exception'
what(): /build/master_pack-android/opencv/modules/imgproc/src/color.cpp:9748: error: (-215) scn == 3 || scn == 4 in function void cv::cvtColor(cv::InputArray, cv::OutputArray, int, int)
02-05 03:03:46.713 F/libc ( 4019): Fatal signal 6 (SIGABRT), code -6 in tid 4041 (Threadpool work)

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

0 participants