Commit ee0c9854 authored by Suleyman TURKMEN's avatar Suleyman TURKMEN Committed by Alexander Alekhin

Merge pull request #12649 from sturkmen72:patch-9

Update hog.cpp (#12649)
parent b41f38ec
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment