#ifndef HUMAN_RUNING_H #define HUMAN_RUNING_H #include #include "camera_config.h" #include "human_velocity.h" #include using namespace std; class Human_Run{ public: char cam_id; //相机编号 vector> cam_vec_ray; //区域信息 int base_distance; //相机基线距离 int base_length; //相机基线长度 int angle; //相机角度 int frame_presrate; int bottom_distance; vector human_vec; map human_velocity_map; public: Human_Run(char cam_id); double get_human_velocity(int rps,int human_id, int x1, int y1, int x2, int y2); }; #endif