From a28a556f605abd78ececd980d324ab364481e61b Mon Sep 17 00:00:00 2001 From: Valentin Tsatskin Date: Thu, 3 Sep 2015 15:45:36 -0400 Subject: [PATCH] Fix variable names in python color spaces tutorial --- doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown b/doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown index 1418ef9..8fbd8dc 100644 --- a/doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown +++ b/doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown @@ -62,7 +62,7 @@ while(1): upper_blue = np.array([130,255,255]) # Threshold the HSV image to get only blue colors - mask = cv2.inRange(hsv, lower_green, upper_green) + mask = cv2.inRange(hsv, lower_blue, upper_blue) # Bitwise-AND mask and original image res = cv2.bitwise_and(frame,frame, mask= mask) -- 2.7.4