mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Increased the threshold for using separable filters.
This commit is contained in:
parent
0ffdc78242
commit
64f36ea160
@ -581,7 +581,7 @@ namespace dlib
|
|||||||
for (unsigned long l = 0; l < feats.size(); ++l)
|
for (unsigned long l = 0; l < feats.size(); ++l)
|
||||||
{
|
{
|
||||||
rectangle area;
|
rectangle area;
|
||||||
if (num_separable_filters > 62)
|
if (num_separable_filters > 31*3)
|
||||||
{
|
{
|
||||||
area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]);
|
area = spatially_filter_image(feats[l][0], saliency_image, w.filters[0]);
|
||||||
for (unsigned long i = 1; i < w.filters.size(); ++i)
|
for (unsigned long i = 1; i < w.filters.size(); ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user