Blame view

src/test/regionassist.h 968 Bytes
7ba45ddc   Zou XiKun   丢包SDK
1
2
3
4
5
6
7
  #ifndef __REGIONASSIST_H__
  #define __REGIONASSIST_H__
  #include "left_over_det.h"
  #include "cv.h"
  //using namespace cv;
  
  //描绘区域
e0b055a2   Zou XiKun   路数授权
8
  //void DrawRegion(unsigned char* pRGBIn, region_info* pRegionInfo, int numROI, int widthStep);
7ba45ddc   Zou XiKun   丢包SDK
9
10
11
12
13
14
15
16
17
18
  //画线
  void DrawLine(unsigned char* pRGBIn, int widthStep, const sy_point & p_roi, const sy_point & dir_point);
  //外接矩形描绘
  void ExternalRectangle(unsigned char* pRGBIn, ms_object_info *ObjInfo, int ObjCount, int widthStep, int numROI);
  void ExternalRectangle(unsigned char* pRGBIn, int  width, int height, ms_object_info *ObjInfo, int ObjCount, int widthStep, int numROI);
  // 轨迹描绘
  void Trajectory(unsigned char* pRGBIn, ms_object_info *ObjInfo, int ObjCount, int width, int height, int widthStep);
  
  //判断单向检测方向和绘制箭头
  void DrawArrow(IplImage * src, cv::Point  pStart, cv::Point  pEnd, int len, int alpha);
a74689b7   Zou XiKun   海思
19
  //int get_ArrowDir(IplImage *frame, CMPoint pROI0, CMPoint pROI1, CMPoint dir, cv::Point &pt1, cv::Point &pt2);
7ba45ddc   Zou XiKun   丢包SDK
20
  #endif