1. add ocr license

2. add hyper-lpr function
3. add text filter
4. add commits
This commit is contained in:
UnknownObject
2022-11-13 23:41:47 +08:00
parent 254ef1e18b
commit f9bb7d9487
116 changed files with 23682 additions and 354 deletions
@@ -0,0 +1,29 @@
//
// Created by 庾金科 on 21/10/2017.
//
#ifndef SWIFTPR_CNNRECOGNIZER_H
#define SWIFTPR_CNNRECOGNIZER_H
#include "Recognizer.h"
namespace pr
{
class CNNRecognizer : public GeneralRecognizer
{
public:
const int CHAR_INPUT_W = 14;
const int CHAR_INPUT_H = 30;
CNNRecognizer(std::string prototxt, std::string caffemodel);
label recognizeCharacter(cv::Mat character);
private:
cv::dnn::Net net;
};
}
#endif //SWIFTPR_CNNRECOGNIZER_H