快速开始
跨平台的API
平台相关的API
模块内容
Wiki
Format the result: 定义图像识别结果格式.
Check if the input images valid or not.
检查图像识别的输入.
Turn img_mat into gray_scale, so that template match can figure the img data. “print(type(im_search[0][0])”) can check the pixel type.
Save the picture and compress
pil_img – PIL image
path – save path
quality – the image quality, integer in range [1, 99]
max_size – the maximum size of the picture, e.g 1200