Apollo 10.0
自动驾驶开放平台
postprocess.cc 文件参考
postprocess.cc 的引用(Include)关系图:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::camera
 

函数

void apollo::perception::camera::get_intersect_bbox (const NormalizedBBox &bbox1, const NormalizedBBox &bbox2, NormalizedBBox *intersect_bbox)
 Get the intersect bbox object
 
float apollo::perception::camera::get_bbox_size (const NormalizedBBox &bbox)
 
float apollo::perception::camera::get_jaccard_overlap (const NormalizedBBox &bbox1, const NormalizedBBox &bbox2)
 Get the jaccard overlap object
 
void apollo::perception::camera::get_max_score_index (const std::vector< float > &scores, const float threshold, const int top_k, std::vector< std::pair< float, int > > *score_index_vec)
 Get the max score index object
 
void apollo::perception::camera::apply_softnms_fast (const std::vector< NormalizedBBox > &bboxes, std::vector< float > *scores, const float score_threshold, const float nms_threshold, const int top_k, std::vector< int > *indices, bool is_linear, const float sigma)
 softnms for objects
 
void apollo::perception::camera::apply_boxvoting_fast (std::vector< NormalizedBBox > *bboxes, std::vector< float > *scores, const float conf_threshold, const float nms_threshold, const float sigma, std::vector< int > *indices)
 filter target detection results based on given thresholds and parameters.
 
void apollo::perception::camera::apply_nms_fast (const std::vector< NormalizedBBox > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, const float eta, const int top_k, std::vector< int > *indices)
 nms for objects
 
void apollo::perception::camera::filter_bbox (const MinDims &min_dims, std::vector< base::ObjectPtr > *objects)
 filter out the objects in the object array based on the given minimum dimension conditions and retain the objects that meet the conditions
 
void apollo::perception::camera::recover_bbox (int roi_w, int roi_h, int offset_y, std::vector< base::ObjectPtr > *objects)
 recover detect bbox result to raw image
 
void apollo::perception::camera::fill_base (base::ObjectPtr obj, const float *bbox)
 add bbox value to object
 
void apollo::perception::camera::fill_bbox3d (bool with_bbox3d, base::ObjectPtr obj, const float *bbox)
 add alpha h w l to object
 
void apollo::perception::camera::fill_frbox (bool with_frbox, base::ObjectPtr obj, const float *bbox)
 add car front and backward bbox value to object
 
void apollo::perception::camera::fill_lights (bool with_lights, base::ObjectPtr obj, const float *bbox)
 add car lights value to object
 
void apollo::perception::camera::fill_ratios (bool with_ratios, base::ObjectPtr obj, const float *bbox)
 add ratio value to object
 
void apollo::perception::camera::fill_area_id (bool with_flag, base::ObjectPtr obj, const float *data)
 add area id value to object
 
int apollo::perception::camera::get_area_id (float visible_ratios[4])
 calculate the area id based on the visible ratios
 
const float * apollo::perception::camera::get_cpu_data (bool flag, const base::Blob< float > &blob)
 
void apollo::perception::camera::get_objects_cpu (const YoloBlobs &yolo_blobs, const cudaStream_t &stream, const std::vector< base::ObjectSubType > &types, const NMSParam &nms, const yolo::ModelParam &model_param, float light_vis_conf_threshold, float light_swt_conf_threshold, base::Blob< bool > *overlapped, base::Blob< int > *idx_sm, std::vector< base::ObjectPtr > *objects)
 Get the objects cpu object