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

migration: github.com/opencv/opencv

This commit is contained in:
Alexander Alekhin
2016-06-16 17:39:38 +03:00
parent 688bd28987
commit bb5e25ba7c
76 changed files with 96 additions and 96 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ if __name__ == "__main__":
if len(sys.argv) > 1:
img0 = cv.LoadImageM( sys.argv[1], cv.CV_LOAD_IMAGE_COLOR)
else:
url = 'https://raw.github.com/Itseez/opencv/master/samples/c/lena.jpg'
url = 'https://raw.github.com/opencv/opencv/master/samples/c/lena.jpg'
filedata = urllib2.urlopen(url).read()
imagefiledata = cv.CreateMatHeader(1, len(filedata), cv.CV_8UC1)
cv.SetData(imagefiledata, filedata, len(filedata))