Merge pull request #10024 from iago-suarez:bugfix-lsd-multiple-imgs-issue#10023
This commit is contained in:
commit
4781f0a337
@ -430,6 +430,9 @@ void LineSegmentDetectorImpl::detect(InputArray _image, OutputArray _lines,
|
||||
if(w_needed) Mat(w).copyTo(_width);
|
||||
if(p_needed) Mat(p).copyTo(_prec);
|
||||
if(n_needed) Mat(n).copyTo(_nfa);
|
||||
|
||||
// Clear used structures
|
||||
list.clear();
|
||||
}
|
||||
|
||||
void LineSegmentDetectorImpl::flsd(std::vector<Vec4f>& lines,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user