mirror of https://github.com/davisking/dlib.git
Set label image size
This commit is contained in:
parent
0fc72cc00e
commit
276e763df0
|
@ -77,6 +77,7 @@ int main(int argc, char** argv) try
|
||||||
matrix<rgb_pixel> rgb_label_image;
|
matrix<rgb_pixel> rgb_label_image;
|
||||||
matrix<rgb_pixel> input_chip;
|
matrix<rgb_pixel> input_chip;
|
||||||
|
|
||||||
|
rgb_label_image.set_size(input_image.nr(), input_image.nc());
|
||||||
rgb_label_image = rgb_pixel(0, 0, 0);
|
rgb_label_image = rgb_pixel(0, 0, 0);
|
||||||
|
|
||||||
for (const auto& instance : instances)
|
for (const auto& instance : instances)
|
||||||
|
|
Loading…
Reference in New Issue