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.
EasyPR/include/easypr/core/chars_identify.h

22 lines
402 B

#ifndef EASYPR_CORE_CHARSIDENTIFY_H_
#define EASYPR_CORE_CHARSIDENTIFY_H_
#include <opencv2/opencv.hpp>
namespace easypr {
class CharsIdentify {
public:
static CharsIdentify* instance();
std::pair<std::string, std::string> identify(cv::Mat input);
private:
CharsIdentify();
static CharsIdentify* instance_;
cv::Ptr<cv::ml::ANN_MLP> ann_;
};
}
#endif // EASYPR_CORE_CHARSIDENTIFY_H_