Commit a0f6cd8d authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #5362 from Dikay900:cascade_reject_stage

parents 6ead9998 7b0b12de
......@@ -998,7 +998,7 @@ public:
{
if( result == 1 )
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();
rectangles->push_back(Rect(cvRound(x*scalingFactor),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment