20220904 Color range change
This commit is contained in:
parent
6fbae252f9
commit
d0a5510aa6
|
@ -163,8 +163,8 @@ class GraspObject():
|
||||||
cv_image2 = cv2.cvtColor(cv_image1, cv2.COLOR_BGR2HSV)
|
cv_image2 = cv2.cvtColor(cv_image1, cv2.COLOR_BGR2HSV)
|
||||||
|
|
||||||
# 蓝色物体颜色检测范围
|
# 蓝色物体颜色检测范围
|
||||||
LowerBlue = np.array([95, 90, 100])
|
LowerBlue = np.array([100, 100, 140])
|
||||||
UpperBlue = np.array([130, 210, 255])
|
UpperBlue = np.array([140, 255, 255])
|
||||||
# LowerBlue = np.array([4, 103, 162])
|
# LowerBlue = np.array([4, 103, 162])
|
||||||
# UpperBlue = np.array([85, 136, 181])
|
# UpperBlue = np.array([85, 136, 181])
|
||||||
mask = cv2.inRange(cv_image2, LowerBlue, UpperBlue)
|
mask = cv2.inRange(cv_image2, LowerBlue, UpperBlue)
|
||||||
|
|
Loading…
Reference in New Issue