Let LineSegmentDetector output line segment coordinates in float precision, as supported by the LSD algorithm.

This commit is contained in:
karelknoest
2014-12-11 10:30:24 +01:00
parent 95ecdc3af9
commit 1ded2de2dd
4 changed files with 19 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ int main(int argc, char** argv)
#endif
double start = double(getTickCount());
vector<Vec4i> lines_std;
vector<Vec4f> lines_std;
// Detect the lines
ls->detect(image, lines_std);