Commit ea8f9b03 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #6062 from StevenPuttemans:fix_cascade_detect

parents 56c89e0a 89df7923
......@@ -998,7 +998,7 @@ public:
{
if( result == 1 )
result = -(int)classifier->data.stages.size();
if( -result >= 0 ) // TODO: Add variable to define a specific last accepted Stage - ABI_COMPATIBILITY problem with new/changed virtual functions - PR #5362
if( classifier->data.stages.size() + result == 0 )
{
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