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

Chapter 7 - OpenCV error #4

Open
Troup opened this issue Aug 12, 2014 · 0 comments
Open

Chapter 7 - OpenCV error #4

Troup opened this issue Aug 12, 2014 · 0 comments

Comments

@Troup
Copy link

Troup commented Aug 12, 2014

I couldn't get Chapter 7 to work, so I downloaded the project here and got a similar error. re: "(-215)"
If useful, please look into for update. If not, and this is an error of my own, let me know and I'll close this. Not necessarily looking for someone to fix this for me - just relaying my user experience. Thanks! Unsigned int error, perhaps? I don't know much.

OpenCV Error: Assertion failed (mask.depth() == CV_8U && (mcn == 1 || mcn == cn)) in copyTo, file /Users/alexandershishkov/dev/opencv2.4.9/opencv/modules/core/src/copy.cpp, line 271
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/alexandershishkov/dev/opencv2.4.9/opencv/modules/core/src/copy.cpp:271: error: (-215) mask.depth() == CV_8U && (mcn == 1 || mcn == cn) in function copyTo

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