Merge pull request #9414 from gadcam:HOGDescriptor-winSigma

pull/9401/merge
Alexander Alekhin 8 years ago
commit bc3280d64d
  1. 2
      modules/objdetect/src/hog.cpp

@ -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

Loading…
Cancel
Save