You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
841 B
30 lines
841 B
#ifndef EASYPR_CORE_FEATURE_H_
|
|
#define EASYPR_CORE_FEATURE_H_
|
|
|
|
#include <opencv2/opencv.hpp>
|
|
|
|
namespace easypr {
|
|
|
|
//! 获得车牌的特征数
|
|
cv::Mat getTheFeatures(cv::Mat in);
|
|
|
|
//! EasyPR的getFeatures回调函数
|
|
//! 用于从车牌的image生成svm的训练特征features
|
|
typedef void (*svmCallback)(const cv::Mat& image, cv::Mat& features);
|
|
|
|
//! EasyPR的getFeatures回调函数
|
|
//! 本函数是获取垂直和水平的直方图图值
|
|
void getHistogramFeatures(const cv::Mat& image, cv::Mat& features);
|
|
|
|
//! 本函数是获取SIFT特征子
|
|
void getSIFTFeatures(const cv::Mat& image, cv::Mat& features);
|
|
|
|
//! 本函数是获取HOG特征子
|
|
void getHOGFeatures(const cv::Mat& image, cv::Mat& features);
|
|
|
|
//! 本函数是获取HSV空间量化的直方图特征子
|
|
void getHSVHistFeatures(const cv::Mat& image, cv::Mat& features);
|
|
|
|
} /*! \namespace easypr*/
|
|
|
|
#endif // EASYPR_CORE_FEATURE_H_
|