You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
581 B
C++
24 lines
581 B
C++
//
|
|
// Created by 庾金科 on 20/10/2017.
|
|
//
|
|
|
|
|
|
#ifndef SWIFTPR_RECOGNIZER_H
|
|
#define SWIFTPR_RECOGNIZER_H
|
|
|
|
#include "PlateInfo.h"
|
|
#include "opencv2/dnn.hpp"
|
|
namespace pr{
|
|
typedef cv::Mat label;
|
|
class GeneralRecognizer{
|
|
public:
|
|
virtual label recognizeCharacter(cv::Mat character) = 0;
|
|
// virtual cv::Mat SegmentationFreeForSinglePlate(cv::Mat plate) = 0;
|
|
void SegmentBasedSequenceRecognition(PlateInfo &plateinfo);
|
|
void SegmentationFreeSequenceRecognition(PlateInfo &plateInfo);
|
|
|
|
};
|
|
|
|
}
|
|
#endif //SWIFTPR_RECOGNIZER_H
|