22namespace trafficlight {
50 CropBox(
float crop_scale,
int min_crop_size);
57 void Init(
float crop_scale,
int min_crop_size);
73 float crop_scale_ = 2.5f;
74 int min_crop_size_ = 270;
virtual void getCropBox(const int width, const int height, const base::TrafficLightPtr &light, base::RectI *crop_box)
Get the crop box object.
virtual void getCropBox(const int width, const int height, const base::TrafficLightPtr &light, base::RectI *crop_box)
Get the crop box object.
void Init(float crop_scale, int min_crop_size)
Initialize crop box object parameters.
virtual void getCropBox(const int width, const int height, const base::TrafficLightPtr &light, base::RectI *crop_box)=0
Get the crop box object.
std::shared_ptr< TrafficLight > TrafficLightPtr