You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
326 B
23 lines
326 B
#ifndef EASYPR_TRAIN_TRAIN_H_
|
|
#define EASYPR_TRAIN_TRAIN_H_
|
|
|
|
#include <opencv2/opencv.hpp>
|
|
|
|
namespace easypr {
|
|
|
|
class ITrain {
|
|
public:
|
|
ITrain();
|
|
|
|
virtual ~ITrain();
|
|
|
|
virtual void train() = 0;
|
|
|
|
virtual void test() = 0;
|
|
|
|
private:
|
|
virtual cv::Ptr<cv::ml::TrainData> tdata() = 0;
|
|
};
|
|
}
|
|
|
|
#endif // EASYPR_TRAIN_TRAIN_H_
|