Loading...
原视频:https://www.bilibili.com/video/BV1L441147AX我们有一张包含有不同种颜色球的图片,使用HSV颜色空间对某一种颜色的球做检测大体框架import cv2 import numpy as np def nothing(x): pass while True: # 读取的为BGR颜色空间 frame = cv2.imread...