diff --git a/modules/julia/samples/chessboard_corners.jl b/modules/julia/samples/chessboard_corners.jl index cc9a1e7b8..ca9111d9c 100644 --- a/modules/julia/samples/chessboard_corners.jl +++ b/modules/julia/samples/chessboard_corners.jl @@ -2,9 +2,8 @@ using OpenCV const cv = OpenCV - -# chess1.png is at https://raw.githubusercontent.com/opencv/opencv_extra/master/testdata/cv/cameracalibration/chess1.png -img = cv.imread("chess1.png",cv.IMREAD_GRAYSCALE) +file = download("https://raw.githubusercontent.com/opencv/opencv_extra/master/testdata/cv/cameracalibration/chess1.png") +img = cv.imread(file,cv.IMREAD_GRAYSCALE) climg = cv.cvtColor(img, cv.COLOR_GRAY2BGR) # Find the chess board corners