mirror of
https://github.com/opencv/opencv.git
synced 2026-09-29 04:09:43 +03:00
Merge pull request #5301 from vtsatskin:patch-1
This commit is contained in:
commit
79100efec6
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user