You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- //
- // Created by Jack Yu on 22/10/2017.
- //
-
- #include "Recognizer.h"
-
- namespace pr{
- void GeneralRecognizer::SegmentBasedSequenceRecognition(PlateInfo &plateinfo){
- for(auto char_instance:plateinfo.plateChars)
- {
- std::pair<CharType,cv::Mat> res;
- if(char_instance.second.rows*char_instance.second.cols>40) {
- label code_table = recognizeCharacter(char_instance.second);
- res.first = char_instance.first;
- code_table.copyTo(res.second);
- plateinfo.appendPlateCoding(res);
- } else{
- res.first = INVALID;
- plateinfo.appendPlateCoding(res);
- }
- }
- }
- }
|