// // Created by Scheaven on 2020/5/20. // #ifndef INC_01_COORDINATE_TRANSFORMATION_CON_TARGET_H #define INC_01_COORDINATE_TRANSFORMATION_CON_TARGET_H #include #include #include using namespace std; #include #include #include #include #include #include #include #include "stdio.h" #include "stdlib.h" #include "math_util.h" // 初始化时区域结构 typedef struct _PInfo { SPoint2f* point; int count; }RegInfo; typedef struct _CamVec { RegInfo *regInfo; int count; }CamVec; // 传输的人体站立的点位信息 typedef struct _HumanInfo { int human_id; SPoint2f point; // float * feature; }HumanInfo; typedef struct _MatchHuman { HumanInfo* humanInfo; int count; //一共多少个人的坐标点 }MatchHuman; typedef struct _mulCam { MatchHuman* matchHuman; int cam_count; }MulCam; // 获取最终的结果信息 typedef struct _CamResult { map confidence_map; string cam_pair; //是哪两个摄像头相关 }CamResult; typedef struct _STarget { CamResult *camResult; map direction_map; // 相互关联的摄像头 }STarget; //typedef std::vector FIRST_VEC; #endif //INC_01_COORDINATE_TRANSFORMATION_CON_TARGET_H