gst_license_plate_recognition/include/LicensePlateRecognition.h
nqthai199@gmail.com df3dd9a705 first commit
2022-09-15 09:26:49 +07:00

26 lines
668 B
C++

#pragma once
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include "GetPlateColor.h"
// #include "CropLicensePlate.h"
#include "CharacterDetection.h"
#include "CropLP.h"
class LicensePlateRecognizer {
private:
// CropPlate cropPlate;
CropLP cropLP;
CharacterDetector characterDetector;
public:
LicensePlateRecognizer();
static LicensePlateRecognizer &getInst()
{
static LicensePlateRecognizer instance;
return instance;
};
PlateDetail recognition(cv::Mat frame, std::string mode);
};