1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #9414 from gadcam:HOGDescriptor-winSigma

This commit is contained in:
Alexander Alekhin
2017-08-24 15:57:18 +00:00
+1 -1
View File
@@ -100,7 +100,7 @@ size_t HOGDescriptor::getDescriptorSize() const
double HOGDescriptor::getWinSigma() const
{
return winSigma >= 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
return winSigma > 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
}
bool HOGDescriptor::checkDetectorSize() const