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.
26 lines
520 B
C++
26 lines
520 B
C++
//
|
|
// Created by 庾金科 on 22/10/2017.
|
|
//
|
|
|
|
#include "../include/Recognizer.h"
|
|
|
|
namespace pr{
|
|
void GeneralRecognizer::SegmentBasedSequenceRecognition(PlateInfo &plateinfo){
|
|
|
|
|
|
for(auto char_instance:plateinfo.plateChars)
|
|
{
|
|
|
|
|
|
std::pair<CharType,cv::Mat> res;
|
|
cv::Mat code_table= recognizeCharacter(char_instance.second);
|
|
res.first = char_instance.first;
|
|
code_table.copyTo(res.second);
|
|
plateinfo.appendPlateCoding(res);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |