Ask Your Question

Revision history [back]

So. i solved my problem. Firstly i calculated histogram of face disparity map. Then i collected a small dataset with real and fake face histograms. After that i created SVM and trained it with dataset. And it works perfectly! But my first attempt was to use OpenCV`s implementation of SVM and it works poor. So i used dlib`s SVM and it works good with same parameters and dataset.
All the code for it is in my github repository. And this is opencv version that not works, maybe you can tell me why.
Thank you all for your help.

So. i solved my problem. Firstly i calculated histogram of face disparity map. Then i collected a small dataset with real and fake face histograms. After that i created SVM and trained it with dataset. And it works perfectly! But my first attempt was to use OpenCV`s implementation of SVM and it works poor. So i used dlib`s SVM and it works good with same parameters and dataset.
All the code for it is in my github repository. And this is opencv version that not works, maybe you can tell me why.
Thank you all for your help.help!