Commit a68ffc81 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11279 from shimat:fix_LSD_test

parents 86488ac1 68db42e9
...@@ -224,7 +224,7 @@ TEST_F(Imgproc_LSD_NONE, whiteNoise) ...@@ -224,7 +224,7 @@ TEST_F(Imgproc_LSD_NONE, whiteNoise)
for (int i = 0; i < EPOCHS; ++i) for (int i = 0; i < EPOCHS; ++i)
{ {
GenerateWhiteNoise(test_image); GenerateWhiteNoise(test_image);
Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_STD); Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_NONE);
detector->detect(test_image, lines); detector->detect(test_image, lines);
if(50u >= lines.size()) ++passedtests; if(50u >= lines.size()) ++passedtests;
......
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