Face-Spoofing-Detection-or-Face-Liveness-Detection
Face-Spoofing-Detection-or-Face-Liveness-Detection copied to clipboard
Pre-trained models?
Hello, great work out there. Could you please provide the pre-trained models? Thanks a lot!
i need too,please supply it. We have more confidence to train our own models.
cv::Ptrcv::ml::SVM svm = cv::ml::SVM::create(); svm->setType(cv::ml::SVM::Types::C_SVC); svm->setKernel(cv::ml::SVM::KernelTypes::LINEAR); svm->setC(10); svm->setTermCriteria(cv::TermCriteria(cv::TermCriteria::MAX_ITER, 100, 1e-6)); // params.termCrit = TermCriteria(TermCriteria::MAX_ITER, 100, 1e-6); cout << "training SVM......" << endl; try { svm->train(train_feature, cv::ml::SampleTypes::ROW_SAMPLE, train_label); cout << "training finished......" << endl; svm->save("color_texture_svm.xml"); } catch (cv::Exception& e) { cout << e.msg; }
@wuyongchn