Angry Rookie
Angry Rookie
> Hi when i try to run this error comes out : > AttributeError: 'NoneType' object has no attribute 'shape' @kommandant-gm you need have a video named '1.mp4' . at...
@kommandant-gm Yes, this video is to test the effect, not the training data, so you can call it any name
@kommandant-gm You can take a video yourself or download one from the Internet.If your computer has a camera, you can also test the real-time video.If there is one or more...
@kommandant-gm it is easy. 'demo.py' line 89 #vs = VideoStream(src=0).start() line 90 vs = cv2.VideoCapture('1.mp4') line 94 #frame = vs.read() line 95 frame = vs.read()[1] change them into line 89...
@kommandant-gm This means the program can't find the camera. You can check if your camera driver is installed correctly or not , and make sure the program has permission to...
@kommandant-gm i just run it , have no problem. you can show me the codes form line 89 to line 100
@kommandant-gm ok ,I know what the problem is. i have changed the codes of 'demo.py', you can try the new
@kommandant-gm You can try to get close to the camera, if the face is too small ,it will think it is fake . also you can change the thresholds at...
@kommandant-gm yes , using CNN is an inevitable trend.
@kommandant-gm This is a binary classification, the outputs of model is that output[0] is the probability of fake face , the output[1] is the probability of real face , We...