🌈 搜索
📅  最后修改于: 2022-03-11 15:00:55.080000             🧑  作者: Mango
import cv2 image = cv2.imread("img.png") image = ~image cv2.imwrite("img_inv.png",image)