Merge pull request #11279 from shimat:fix_LSD_test

pull/11280/head
Alexander Alekhin 7 years ago
commit a68ffc81da
  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