Skip to content

Commit 0686806

Browse files
authored
Update edge_drawing.cpp
1 parent 734db18 commit 0686806

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/ximgproc/src/edge_drawing.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ void EdgeDrawingImpl::detectLines(OutputArray _lines)
12941294
double* x = new double[(width + height) * 8];
12951295
double* y = new double[(width + height) * 8];
12961296

1297+
lines.clear();
12971298
linesNo = 0;
12981299

12991300
// Use the whole segment

0 commit comments

Comments
 (0)