hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
30.93k stars 4.28k forks source link

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

Closed OnlyStopOnTop closed 5 months ago

OnlyStopOnTop commented 5 months ago

File "C:\Users\user1\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main\modules\face_analyser.py", line 20, in get_one_face face = get_face_analyser().get(frame) File "C:\Users\user1\anaconda3\lib\site-packages\insightface\app\face_analysis.py", line 59, in get bboxes, kpss = self.det_model.detect(img, File "C:\Users\user1\anaconda3\lib\site-packages\insightface\model_zoo\retinaface.py", line 211, in detect im_ratio = float(img.shape[0]) / img.shape[1] AttributeError: 'NoneType' object has no attribute 'shape'

Camera is on (camera light is on)

A small little window opens up, after starting live

hacksider commented 5 months ago

that means it cant detect you