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' #9

Open
Vincent630 opened this issue Nov 15, 2018 · 1 comment
Open

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

Vincent630 opened this issue Nov 15, 2018 · 1 comment

Comments

@Vincent630
Copy link

hi,i got this issus when i run the demo.py ,is that because of the camera problem ??? i will appricate it if you can help me .thank you so much
[Camera Server] Camera is initializing ...
VIDEOIO ERROR: V4L: can't open camera by index 0
Traceback (most recent call last):
File "apps/demo.py", line 68, in
demo.run()
File "/home/wenguang.wang/下载/tf-insightface/models/camera_server.py", line 40, in run
self.processs(frame)
File "apps/demo.py", line 30, in processs
self.face_tracker.process(frame)
File "/home/wenguang.wang/下载/tf-insightface/models/face_track_server.py", line 40, in process
self.cam_h, self.cam_w, _ = frame.shape
AttributeError: 'NoneType' object has no attribute 'shape'

@mengyaogong
Copy link

Did you connect the camera?

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