Commit 0f1fdd88 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5471 from StevenPuttemans:add_images_python_tutorials

parents 441eeef3 913c266b
...@@ -77,7 +77,7 @@ See the example below: ...@@ -77,7 +77,7 @@ See the example below:
import cv2 import cv2
import numpy as np import numpy as np
filename = 'chessboard.jpg' filename = 'chessboard.png'
img = cv2.imread(filename) img = cv2.imread(filename)
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
......
...@@ -50,7 +50,7 @@ import numpy as np ...@@ -50,7 +50,7 @@ import numpy as np
import cv2 import cv2
from matplotlib import pyplot as plt from matplotlib import pyplot as plt
img = cv2.imread('simple.jpg') img = cv2.imread('blox.jpg')
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
corners = cv2.goodFeaturesToTrack(gray,25,0.01,10) corners = cv2.goodFeaturesToTrack(gray,25,0.01,10)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment