Merge pull request #12649 from sturkmen72:patch-9

Update hog.cpp (#12649)
pull/12719/head^2
Suleyman TURKMEN 6 years ago committed by Alexander Alekhin
parent b41f38ecc7
commit ee0c985491
  1. 2
      modules/objdetect/src/hog.cpp

@ -138,6 +138,8 @@ void HOGDescriptor::setSVMDetector(InputArray _svmDetector)
bool HOGDescriptor::read(FileNode& obj)
{
CV_Assert(!obj["winSize"].empty());
if( !obj.isMap() )
return false;
FileNodeIterator it = obj["winSize"].begin();

Loading…
Cancel
Save