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

AttributeError: 'NoneType' object has no attribute 'shape' #54

Open
ShitBro369 opened this issue Jun 23, 2022 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'shape' #54

ShitBro369 opened this issue Jun 23, 2022 · 0 comments

Comments

@ShitBro369
Copy link

when i run 'real_time_video.py'
error as fllow:(what can i do)
Traceback (most recent call last):
File "C:/Users/Lenovo/PycharmProjects/Emotion-recognition/real_time_video.py", line 29, in
frame = imutils.resize(frame,width=300)
File "D:\anaconda\lib\site-packages\imutils\convenience.py", line 69, in resize
(h, w) = image.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'

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