1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _Model1_H
#define _Model1_H

# include <emmintrin.h>

#include "AbstractCNNClassifier.h"

class Model1 : public AbstractCNNFinder {

public:
	void cnn(float x0[16][16][1]);
	void predict(const BallCandidates::PatchYUVClassified& p,double meanBrightness);<--- Function 'predict' argument 1 names different: declaration 'p' definition 'patch'.
	virtual double getRadius();
	virtual Vector2d getCenter();
	virtual double getBallConfidence();

private:
	float in_step[16][16][1];
	float scores[4];

};
# endif // _Model1_H