mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
revert PR 5362
This commit is contained in:
parent
56c89e0a98
commit
89df7923a7
@ -998,7 +998,7 @@ public:
|
|||||||
{
|
{
|
||||||
if( result == 1 )
|
if( result == 1 )
|
||||||
result = -(int)classifier->data.stages.size();
|
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();
|
mtx->lock();
|
||||||
rectangles->push_back(Rect(cvRound(x*scalingFactor),
|
rectangles->push_back(Rect(cvRound(x*scalingFactor),
|
||||||
|
Loading…
Reference in New Issue
Block a user