Merge pull request #9414 from gadcam:HOGDescriptor-winSigma
This commit is contained in:
commit
bc3280d64d
@ -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…
Reference in New Issue
Block a user