Spoofing Detection Engine  1.0
SpoofClassifier.h
1 #pragma once
2 #include "NeuralClassifierBase.h"
3 
4 namespace core {
5  namespace face {
6 
15  public:
19  SpoofClassifier() = default;
20 
24  ~SpoofClassifier() = default;
25 
46  void init(std::string framework,
47  std::string modelWeightsFile,
48  std::string classesFile,
49  std::string modelConfigurationFile,
50  std::string inputLayerName,
51  std::string outputLayerName,
52  std::string networkName,
53  int inputWidth,
54  int inputHeight,
55  double scale,
56  double mean0,
57  double mean1,
58  double mean2,
59  std::string configBackend,
60  std::string configTarget,
61  double confidenceThreshold);
62  };
63  }//namespace face
64 }//namespace core
Base class for neural network classifiers.
Definition: NeuralClassifierBase.h:16
Neural network classifier for spoofing detection.
Definition: SpoofClassifier.h:14
void init(std::string framework, std::string modelWeightsFile, std::string classesFile, std::string modelConfigurationFile, std::string inputLayerName, std::string outputLayerName, std::string networkName, int inputWidth, int inputHeight, double scale, double mean0, double mean1, double mean2, std::string configBackend, std::string configTarget, double confidenceThreshold)
Initializes the neural network for face mesh detection.
Definition: SpoofClassifier.cpp:6
SpoofClassifier()=default
Default constructor.
~SpoofClassifier()=default
Default destructor.