Spoofing Detection Engine  1.0
NeuralClassifierBase.h
1 #pragma once
2 #include "Detection.h"
3 #include <opencv2/dnn.hpp>
4 
5 #include "NeuralBase.h"
6 
7 namespace core {
8 
17  public:
21  NeuralClassifierBase() = default;
22 
30  std::map<std::string, double> runNetwork(const cv::Mat& frame, core::Detection& detection);
31  };
32 } // namespace core
This file contains the NeuralBase class which serves as a base class for neural networks.
Definition: NeuralBase.h:20
Base class for neural network classifiers.
Definition: NeuralClassifierBase.h:16
std::map< std::string, double > runNetwork(const cv::Mat &frame, core::Detection &detection)
Run the classification network on the given frame.
Definition: NeuralClassifierBase.cpp:9
NeuralClassifierBase()=default
Default constructor.
A structure to represent the detection details.
Definition: Detection.h:20