#ifndef _FRUGALLY_DEEP_H
#define _FRUGALLY_DEEP_H
// NOTE: assumes frugally 0.7.8-p0 is used
# include <emmintrin.h>
#include "AbstractCNNClassifier.h"
#include <fdeep/fdeep.hpp>
class FrugallyDeep : public AbstractCNNFinder {
public:
FrugallyDeep(std::string file);<--- Class 'FrugallyDeep' has a constructor with 1 argument that is not explicit. [+]Class 'FrugallyDeep' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
virtual ~FrugallyDeep();
void predict(const BallCandidates::PatchYUVClassified& p, double meanBrightness);<--- Function 'predict' argument 1 names different: declaration 'p' definition 'patch'.
double getRadius();
Vector2d getCenter();
private:
std::shared_ptr<fdeep::model> model;
std::vector<fdeep::tensor5> result;
};
#endif