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

!_src.empty() in function 'cvtColor' #27

Closed
BIGG000 opened this issue Dec 29, 2020 · 0 comments
Closed

!_src.empty() in function 'cvtColor' #27

BIGG000 opened this issue Dec 29, 2020 · 0 comments

Comments

@BIGG000
Copy link

BIGG000 commented Dec 29, 2020

Hey,
Getting this error while using this code, so please check it out or give me an answer that how could I do correct it.

`error Traceback (most recent call last)
in
11 ret, frame = video_capture.read()
12
---> 13 gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
14
15 faces = faceCascade.detectMultiScale(

error: OpenCV(4.4.0) /tmp/pip-req-build-cg56sov1/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

​​`

@shantnu shantnu closed this as completed Jun 19, 2021
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

2 participants