-
Notifications
You must be signed in to change notification settings - Fork 2
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' #1
Comments
@kommandant-gm you need have a video named '1.mp4' . at line 90 of the 'demo.py', |
So basically i can use my own video dataset and change the named to 1.mp4 ? am i correct ? Do u might have any reference ? |
@kommandant-gm |
can i follow ur method using opencv as well ? or do i just need to record the face and named it 1.mp4 ? |
@kommandant-gm |
Thanks for your assist. I understand about the video problem where i can record myself but may i ask one more how do i get real time video to work ? any specific steps that i have to do ? I do have camera as im using laptop. just the problem when i try to run the file the error pop out |
@kommandant-gm |
I have changed the step accordingly but these is the error that pop out https://drive.google.com/open?id=1ZIcLjt4qPB_Y68jbn5gCvOu-OoSF1PJ1 |
@kommandant-gm |
i tried previously doing the face allignment detection project that u post as well and it works just fine. it can open up the camera on my laptop and detect face. But now i cant open up for this project. Is there any setting that i need configure ? |
@kommandant-gm i just run it , have no problem. you can show me the codes form line 89 to line 100 |
yes this the new error pop out Traceback (most recent call last): Code from like 89 to 105 : print("[INFO] starting video stream...")
|
@kommandant-gm |
Hi it works now. but it show my face is fake. how do i train own dataset ? |
@kommandant-gm |
I see appreciate much of your help but may i know does these project use CNN for training dataset ? |
@kommandant-gm |
Hi, forgot to ask you something about the project i noticed that in the frame beside the true/fake there are numbers. Is it represent the accuracy ? |
@kommandant-gm |
Hi i have question again sorry. How does the program actually detect it as real or fake ? Is it liveliness detection ? |
Hi when i try to run this error comes out :
AttributeError: 'NoneType' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered: