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 564 B

4 years ago
12345678910111213141516171819202122
  1. //
  2. // Created by Jack Yu on 20/10/2017.
  3. //
  4. #ifndef HYPERPR_RECOGNIZER_H
  5. #define HYPERPR_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) =
  14. // 0;
  15. void SegmentBasedSequenceRecognition(PlateInfo &plateinfo);
  16. void SegmentationFreeSequenceRecognition(PlateInfo &plateInfo);
  17. };
  18. } // namespace pr
  19. #endif // HYPERPR_RECOGNIZER_H