4 #include "VideoReader.h"
11 TK_DECLARE_PTR(Detector);
18 unsigned int detect(const cv::Mat& frame, Detection* detections){return 2;}
23 // 检测目标的类型,目前只有一个类human,默认等于0。为以后可以检测的更多类别预留
24 unsigned int object_type;
27 // 检测目标的坐标,包括物体中心的x、y坐标,物体的高和宽
28 unsigned int center_x = 100;
29 unsigned int center_y = 100;
30 unsigned int height = 200;
31 unsigned int width = 200;
33 unsigned int feature_size;
40 #endif /* _DETECTOR_H_ */