📜  颜色到黑白 cv2 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.302000             🧑  作者: Mango

代码示例1
import cv2

originalImage = cv2.imread("PATH/TO/IMG")
grayImage = cv2.cvtColor(originalImage, cv2.COLOR_BGR2GRAY)