[3rd attempt] fixed HOGDescriptor::detectMultiScale() to group weights as well as ROIs
This commit is contained in:
		@@ -1060,7 +1060,9 @@ void HOGDescriptor::detectMultiScale(
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
    {
 | 
			
		||||
        groupRectangles(foundLocations, (int)finalThreshold, 0.2);
 | 
			
		||||
        vector<int> dummy;
 | 
			
		||||
        dummy.resize(foundLocations.size(), INT_MAX);
 | 
			
		||||
        groupRectangles(foundLocations, (int)finalThreshold, 0.2, &dummy, &foundWeights);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user