mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
slightly simplified code
This commit is contained in:
parent
2a3d7494e5
commit
da44aa6299
@ -449,9 +449,7 @@ namespace dlib
|
||||
|
||||
dets.clear();
|
||||
|
||||
array<integral_image_generic<double> > saliency_images;
|
||||
saliency_images.set_max_size(get_num_components_per_detection_template());
|
||||
saliency_images.set_size(get_num_components_per_detection_template());
|
||||
array<integral_image_generic<double> > saliency_images(get_num_components_per_detection_template());
|
||||
|
||||
array2d<double> temp_img(feats.nr(), feats.nc());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user