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 Header
|
|
|
|
|
// Version: 1.0
|
|
|
|
|
// Date: 2015-03-12
|
|
|
|
|
// Author: liuruoze
|
|
|
|
|
// Copyright: liuruoze
|
|
|
|
|
// Desciption:
|
|
|
|
|
// An abstract class for car plate.
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
#ifndef __PLATE_H__
|
|
|
|
|
#define __PLATE_H__
|
|
|
|
|
|
|
|
|
|
#include "core_func.h"
|
|
|
|
|
|
|
|
|
|
/*! \namespace easypr
|
|
|
|
|
Namespace where all the C++ EasyPR functionality resides
|
|
|
|
|
*/
|
|
|
|
|
namespace easypr {
|
|
|
|
|
|
|
|
|
|
class CPlate {
|
|
|
|
|
public:
|
|
|
|
|
bool bColored;
|
|
|
|
|
|
|
|
|
|
//! <20><><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
CPlate();
|
|
|
|
|
|
|
|
|
|
//! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
|
|
|
|
|
inline void setPlateMat(Mat param) { m_plateMat = param; }
|
|
|
|
|
inline Mat getPlateMat() const { return m_plateMat; }
|
|
|
|
|
|
|
|
|
|
inline void setPlatePos(RotatedRect param) { m_platePos = param; }
|
|
|
|
|
inline RotatedRect getPlatePos() const { return m_platePos; }
|
|
|
|
|
|
|
|
|
|
inline void setPlateStr(String param) { m_plateStr = param; }
|
|
|
|
|
inline String getPlateStr() const { return m_plateStr; }
|
|
|
|
|
|
|
|
|
|
inline void setPlateLocateType(LocateType param) { m_locateType = param; }
|
|
|
|
|
inline LocateType getPlateLocateType() const { return m_locateType; }
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
//! <20><><EFBFBD>Ƶ<EFBFBD>ͼ<EFBFBD><CDBC>
|
|
|
|
|
Mat m_plateMat;
|
|
|
|
|
|
|
|
|
|
//! <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭͼ<D4AD><CDBC>λ<EFBFBD><CEBB>
|
|
|
|
|
RotatedRect m_platePos;
|
|
|
|
|
|
|
|
|
|
//! <20><><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>
|
|
|
|
|
String m_plateStr;
|
|
|
|
|
|
|
|
|
|
//! <20><><EFBFBD>ƶ<EFBFBD>λ<EFBFBD>ķ<EFBFBD><C4B7><EFBFBD>
|
|
|
|
|
LocateType m_locateType;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} /*! \namespace easypr*/
|
|
|
|
|
|
|
|
|
|
#endif /* endif __PLATE_H__ */
|