-
Notifications
You must be signed in to change notification settings - Fork 686
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
Attribute Error #4
Comments
Were you able to resolve this error? because i have same error |
I think you changed something in the code. Just copy paste the original code again, and it should be fine. |
Same error, original files |
I also got the same error, can you please tell me if you have resolved it? |
I tried this but still not working |
I am using Google Colab. This is the following output I am getting.
[INFO] starting video stream...
AttributeError Traceback (most recent call last)
in ()
89 # to have a maximum width of 400 pixels
90 frame = vs.read()
---> 91 frame = imutils.resize(frame, width=400)
92
93 # detect faces in the frame and determine if they are wearing a
/usr/local/lib/python3.6/dist-packages/imutils/convenience.py in resize(image, width, height, inter)
67 # grab the image size
68 dim = None
---> 69 (h, w) = image.shape[:2]
70
71 # if both the width and height are None, then return the
AttributeError: 'NoneType' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered: