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

Attribute Error #4

Open
deepak0922 opened this issue Nov 20, 2020 · 5 comments
Open

Attribute Error #4

deepak0922 opened this issue Nov 20, 2020 · 5 comments

Comments

@deepak0922
Copy link

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'

@rimsham66
Copy link

Were you able to resolve this error? because i have same error

@Ritvik-Sapra
Copy link

I think you changed something in the code. Just copy paste the original code again, and it should be fine.

@guilombardi91
Copy link

Same error, original files

@priyanka31-12
Copy link

I also got the same error, can you please tell me if you have resolved it?

@priyanka31-12
Copy link

I think you changed something in the code. Just copy paste the original code again, and it should be fine.

I tried this but still not working

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

5 participants