Commit 2dd438c2 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3457 from burun:patch-1

parents 88f67ce6 c52a3f76
...@@ -58,7 +58,7 @@ Below is the code which are commented in detail : ...@@ -58,7 +58,7 @@ Below is the code which are commented in detail :
upper_blue = np.array([130,255,255]) upper_blue = np.array([130,255,255])
# Threshold the HSV image to get only blue colors # 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 # Bitwise-AND mask and original image
res = cv2.bitwise_and(frame,frame, mask= mask) res = cv2.bitwise_and(frame,frame, mask= mask)
......
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