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.
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
// Name: plate_recognize Header
|
|
|
// Version: 1.0
|
|
|
// Date: 2014-09-28
|
|
|
// Author: liuruoze
|
|
|
// Copyright: liuruoze
|
|
|
// Reference: Mastering OpenCV with Practical Computer Vision Projects
|
|
|
// Reference: CSDN Bloger taotao1233
|
|
|
// Desciption:
|
|
|
// Defines CPlateRecognize
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
#ifndef EASYPR_CORE_PLATERECOGNIZE_H_
|
|
|
#define EASYPR_CORE_PLATERECOGNIZE_H_
|
|
|
|
|
|
#include "easypr/core/plate_detect.h"
|
|
|
#include "easypr/core/chars_recognise.h"
|
|
|
|
|
|
/*! \namespace easypr
|
|
|
Namespace where all the C++ EasyPR functionality resides
|
|
|
*/
|
|
|
namespace easypr {
|
|
|
|
|
|
class CPlateRecognize : public CPlateDetect, public CCharsRecognise {
|
|
|
public:
|
|
|
CPlateRecognize();
|
|
|
|
|
|
//! 杞︾墝妫€娴嬩笌瀛楃<E7809B>璇嗗埆
|
|
|
|
|
|
int plateRecognize(Mat src, std::vector<std::string> &licenseVec);
|
|
|
|
|
|
//! 鐢熸椿妯″紡涓庡伐涓氭ā寮忓垏鎹<E59E8F>
|
|
|
|
|
|
<<<<<<< HEAD:include/easypr/plate_recognize.h
|
|
|
// !车牌识别模块
|
|
|
int plateRecognize(Mat src, std::vector<CPlate> &licenseVec, int index);
|
|
|
|
|
|
//! 生活模式与工业模式切换
|
|
|
=======
|
|
|
>>>>>>> 569e7642c2342a31e4358831597f1bedf23258bc:include/easypr/core/plate_recognize.h
|
|
|
inline void setLifemode(bool param) { CPlateDetect::setPDLifemode(param); }
|
|
|
|
|
|
//! 鏄<>惁寮€鍚<E282AC>皟璇曟ā寮<C481>
|
|
|
|
|
|
inline void setDebug(bool param) { CPlateDetect::setPDDebug(param); }
|
|
|
};
|
|
|
|
|
|
} /* \namespace easypr */
|
|
|
|
|
|
#endif // EASYPR_CORE_PLATERECOGNIZE_H_
|