📄 cubiclewrapper.h
字号:
#if !defined(__CUBICLE_H__INCLUDED_)#define __CUBICLE_H__INCLUDED_#include <cv.h>#include <vector>using namespace std;#include "cubicles.h"#include "Rect.h"typedef vector<char> CStatusVector;class CubicleWrapper { public: CubicleWrapper(); ~CubicleWrapper(); void Initialize(int width, int height); void Process(IplImage* grayImage); void DrawOverlay(IplImage* iplImage, int overlay_level) const; void DrawMatches(IplImage* iplImage, int overlay_level) const; CuScanMatch GetBestMatch(); bool GotMatches() const { return m_matches.size()>0; } protected: CRect m_bbox; int m_min_width, m_max_width; int m_min_height, m_max_height; mutable CvFont m_cvFont; CuScanMatchVector m_matches;};#endif // __CUBICLE_H__INCLUDED_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -