mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
parent
d27009c775
commit
d5e64f4eb2
@ -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