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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user