Skip to content

Commit a28a556

Browse files
committed
Fix variable names in python color spaces tutorial
1 parent 9c3f957 commit a28a556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/py_tutorials/py_imgproc/py_colorspaces/py_colorspaces.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ while(1):
6262
upper_blue = np.array([130,255,255])
6363

6464
# Threshold the HSV image to get only blue colors
65-
mask = cv2.inRange(hsv, lower_green, upper_green)
65+
mask = cv2.inRange(hsv, lower_blue, upper_blue)
6666

6767
# Bitwise-AND mask and original image
6868
res = cv2.bitwise_and(frame,frame, mask= mask)

0 commit comments

Comments
 (0)