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

OpenCV Assertion Failed error: (-215) scn == 3 || scn == 4 in function cv::cvtColor works ALTERNATE times #3

Open
GaneshVShinde opened this issue Mar 19, 2017 · 3 comments

Comments

@GaneshVShinde
Copy link

I am a beginner in Python and OpenCV. when i run this code on windows 7 machine it worked fine but when i run this code on windows 10 I got assertion
what might be issue ?
is this driver issue?

assertion is
OpenCV Assertion Failed error: (-215) scn == 3 || scn == 4 in function cv::cvtColor

assertion is because of self.cam.read() returning false i m not able to understand why camera is not able to read is it driver issue?
if it is driver issue than how skype and other application who use camera works fine?

@georgiazhang
Copy link

Hi,did you solve the issue?I got the same error as yours.

@anilshanbhag
Copy link
Owner

It is working fine on Mac. I will try it later on windows to see if the error persists.

@saurabhsbora
Copy link

I also faced the OpenCV assertion error on Windows 10. I have checked my webcam is working fine and i have run other cv codes.

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

4 participants