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.h 581 B

7 years ago
1234567891011121314151617181920212223
  1. //
  2. // Created by 庾金科 on 20/10/2017.
  3. //
  4. #ifndef SWIFTPR_RECOGNIZER_H
  5. #define SWIFTPR_RECOGNIZER_H
  6. #include "PlateInfo.h"
  7. #include "opencv2/dnn.hpp"
  8. namespace pr{
  9. typedef cv::Mat label;
  10. class GeneralRecognizer{
  11. public:
  12. virtual label recognizeCharacter(cv::Mat character) = 0;
  13. // virtual cv::Mat SegmentationFreeForSinglePlate(cv::Mat plate) = 0;
  14. void SegmentBasedSequenceRecognition(PlateInfo &plateinfo);
  15. void SegmentationFreeSequenceRecognition(PlateInfo &plateInfo);
  16. };
  17. }
  18. #endif //SWIFTPR_RECOGNIZER_H