appropriate logic behind last accepted stage when rejectingLevels is true
This commit is contained in:
parent
0f1fdd885d
commit
7b0b12de58
@ -998,7 +998,7 @@ public:
|
|||||||
{
|
{
|
||||||
if( result == 1 )
|
if( result == 1 )
|
||||||
result = -(int)classifier->data.stages.size();
|
result = -(int)classifier->data.stages.size();
|
||||||
if( classifier->data.stages.size() + result == 0 )
|
if( -result >= 0 ) // TODO: Add variable to define a specific last accepted Stage - ABI_COMPATIBILITY problem with new/changed virtual functions - PR #5362
|
||||||
{
|
{
|
||||||
mtx->lock();
|
mtx->lock();
|
||||||
rectangles->push_back(Rect(cvRound(x*scalingFactor),
|
rectangles->push_back(Rect(cvRound(x*scalingFactor),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user