22namespace trafficlight {
34 virtual void getCropBox(
const int width,
const int height,
47 CropBox(
float crop_scale,
int min_crop_size);
54 void Init(
float crop_scale,
int min_crop_size);
63 virtual void getCropBox(
const int width,
const int height,
68 float crop_scale_ = 2.5f;
69 int min_crop_size_ = 270;
82 virtual void getCropBox(
const int width,
const int height,
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