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

Test_Model Issue #1

Closed
BrandonChen1 opened this issue Feb 17, 2019 · 3 comments
Closed

Test_Model Issue #1

BrandonChen1 opened this issue Feb 17, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@BrandonChen1
Copy link
Collaborator

if cnt.any != None:
AttributeError: 'NoneType' object has no attribute 'any'

@axr6077
Copy link
Owner

axr6077 commented Feb 17, 2019

Use if cnt.any() != None:
...

Its because the camera isn't reading inputs in the input rectangle so the numpy array is empty hence raising this AttributeError. Make sure the webcam is reading inputs when initialized.

@axr6077 axr6077 closed this as completed Feb 17, 2019
@axr6077 axr6077 pinned this issue Feb 17, 2019
@BrandonChen1
Copy link
Collaborator Author

Can't check where the input source is.

@BrandonChen1 BrandonChen1 reopened this Feb 17, 2019
@axr6077
Copy link
Owner

axr6077 commented Feb 17, 2019

Fix coming soon

@axr6077 axr6077 added the help wanted Extra attention is needed label Feb 17, 2019
@axr6077 axr6077 closed this as completed Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants