摘要: import win32gui import win32ui import win32con import numpy as np import cv2 import base64 # 通过句柄截取窗口内容 def capture_window_by_handle(handle): left, to 阅读全文
posted @ 2023-08-22 21:03 zwnsyw 阅读(352) 评论(0) 推荐(0) 编辑
摘要: ''' pip install numpy pip install opencv-python ''' from io import BytesIO import cv2 import numpy as np def pic_compress(pic_path, out_path, target_s 阅读全文
posted @ 2023-08-22 18:58 zwnsyw 阅读(42) 评论(0) 推荐(0) 编辑