36 if (stream_ !=
nullptr) {
37 cudaStreamDestroy(stream_);
62 std::string
Name()
const override {
return "YoloObstacleDetector"; }
73 std::vector<base::ObjectSubType> types_;
74 std::vector<float> expands_;
75 std::vector<float> anchors_;
84 int obj_k_ = kMaxObjSize;
87 float confidence_threshold_ = 0.f;
88 float light_vis_conf_threshold_ = 0.f;
89 float light_swt_conf_threshold_ = 0.f;
93 std::shared_ptr<base::Blob<bool>> overlapped_ =
nullptr;
94 std::shared_ptr<base::Blob<int>> idx_sm_ =
nullptr;
96 bool with_box3d_ =
false;
97 bool with_frbox_ =
false;
98 bool with_lights_ =
false;
99 bool with_ratios_ =
false;
100 bool with_area_id_ =
false;
101 float border_ratio_ = 0.f;