fix LSD test (wrong detector kind)

pull/11279/head
shimat 7 years ago
parent 86488ac1bc
commit 68db42e9be
  1. 2
      modules/imgproc/test/test_lsd.cpp

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

Loading…
Cancel
Save