We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27009c commit d5e64f4Copy full SHA for d5e64f4
modules/objdetect/src/hog.cpp
@@ -100,7 +100,7 @@ size_t HOGDescriptor::getDescriptorSize() const
100
101
double HOGDescriptor::getWinSigma() const
102
{
103
- return winSigma >= 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
+ return winSigma > 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
104
}
105
106
bool HOGDescriptor::checkDetectorSize() const
0 commit comments