import cv2
import numpy as np
img = cv2.imread('xiaoyuanka.jpg')
HSV = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
H, S, V = cv2.split(HSV)
LowerBlue =
python opencv 提取特殊颜色物体
![](https://img-home.csdnimg.cn/images/20240711042549.png)
import cv2
import numpy as np
img = cv2.imread('xiaoyuanka.jpg')
HSV = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
H, S, V = cv2.split(HSV)
LowerBlue =