直接代码 import cv2.cv as cv saveImagePath = 'E:/ScreenTestImages/' colorRed = [0,0,255] colorGreen = [0,255,0] colorBlue = [255,0,0] colorWhite = [255,255,255] colorBlack = [0,0,0] colorAqua = [255,255,0] colorFuchsia = [255,0,255] colorYellow = [0,255,…