【记录】opencv TypeError: an integer is required (got type tuple)

报错:

TypeError: an integer is required (got type tuple)

解决方案:

src = cv2.cvtColor(src, cv2.COLOR_RGB2BGR)

你可能感兴趣的:(opencv,人工智能,计算机视觉)