color-tracking

Tracking white color using python opencv

Tracking white color using python opencv Question: I would like to track white color using webcam and python opencv. I already have the code to track blue color. _, frame = cap.read() hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # define range of blue color in HSV lower_blue = np.array([110,100,100]) upper_blue = np.array([130,255,255]) #How to define this range …

Total answers: 3