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.
2 parents 8e7e24a + d5e64f4 commit bc3280dCopy full SHA for bc3280d
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