From a6602dd75cdf854be1f33f29c367713eb414dcd8 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Fri, 17 Feb 2012 08:42:58 +0000 Subject: [PATCH] fixed #1492 --- samples/python/chessboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python/chessboard.py b/samples/python/chessboard.py index 31372b0db..94966b1ee 100755 --- a/samples/python/chessboard.py +++ b/samples/python/chessboard.py @@ -10,7 +10,7 @@ if __name__ == "__main__": im = cv.LoadImage(filename, cv.CV_LOAD_IMAGE_GRAYSCALE) im3 = cv.LoadImage(filename, cv.CV_LOAD_IMAGE_COLOR) else: - url = 'https://code.ros.org/svn/opencv/trunk/opencv/samples/c/left01.jpg' + url = 'http://code.opencv.org/svn/opencv/trunk/opencv/samples/cpp/left01.jpg' filedata = urllib2.urlopen(url).read() imagefiledata = cv.CreateMatHeader(1, len(filedata), cv.CV_8UC1) cv.SetData(imagefiledata, filedata, len(filedata))