1 | initial version |
It allocates image pyramid with 64 levels and scale = 1.05 (default parameters). This can be the largest part.
Also it allocates memory for descriptors: nbins * cells_per_block * blocks_per_img * sizeof(float)
. For 1920x1080 it something about 4.4 MB.