Open cserezwan opened 6 years ago
While running the train and testing file it's showing the following error:
Can anyone give me the solution of this error?
Hello, Sorry for the late reply. I modified my code for readability.
First of all, you should down load Database for face spoofing such as CASIA, Idiap and MSU. Folder structure is like below. CASIA -> test_release -> image files -> train_release -> image files
Idiap -> test -> image files -> train -> image files
MSUMFSD-> "each folders of client" -> image files
Secondly, I used LibSVM. So, you have to include libSVM for Matlab.
And, just run "training.m" <--- spend so many time. If you want simple test, just run for a database. After finishing upper step, run "trainingAndTesting_JGP.m"
Following upper step, you can run this program.
Thanks for the reply. I've followed your instructions to run the program. Now I'm having a different problem. While running the "trainingAndTesting_JGP.m" file, I'm getting the following error:
`Undefined function or variable 'getHTER'.
Error in trainingAndTesting_JPG (line 343) [acc HTER ] = getHTER( Idiap_predict_label, Idiap_TestLabel, numFrames);`
Can you please give me some instructions to solve this error? Thanks in advance.
I uploaded the 'getHTER.m' file. You can use it. Thank you.
Thanks for the file.
Hello. Can you please explain the steps to run this code? Like how to run this program.