1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

fixed path to the test image in precornerdetect test

This commit is contained in:
Vadim Pisarevsky
2011-06-21 12:07:16 +00:00
parent 784e12cc2d
commit 9f6cbb507e
+1 -1
View File
@@ -2108,7 +2108,7 @@ class DocumentFragmentTests(OpenCVTests):
def test_precornerdetect(self):
from precornerdetect import precornerdetect
im = self.get_sample("samples/c/right01.jpg", 0)
im = self.get_sample("samples/cpp/right01.jpg", 0)
imf = cv.CreateMat(im.rows, im.cols, cv.CV_32FC1)
cv.ConvertScale(im, imf)
(r0,r1) = precornerdetect(imf)