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.

Recognizer.cpp 520 B

1234567891011121314151617181920212223242526
  1. //
  2. // Created by 庾金科 on 22/10/2017.
  3. //
  4. #include "../include/Recognizer.h"
  5. namespace pr{
  6. void GeneralRecognizer::SegmentBasedSequenceRecognition(PlateInfo &plateinfo){
  7. for(auto char_instance:plateinfo.plateChars)
  8. {
  9. std::pair<CharType,cv::Mat> res;
  10. cv::Mat code_table= recognizeCharacter(char_instance.second);
  11. res.first = char_instance.first;
  12. code_table.copyTo(res.second);
  13. plateinfo.appendPlateCoding(res);
  14. }
  15. }
  16. }