08 2023 档案

摘要: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 阅读(410) 评论(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 阅读(48) 评论(0) 推荐(0) 编辑
摘要:import ctypes # 定义Windows API函数 import time user32 = ctypes.WinDLL("user32") user32.ShowWindow.argtypes = [ctypes.c_void_p, ctypes.c_int] user32.ShowW 阅读全文
posted @ 2023-08-02 23:48 zwnsyw 阅读(87) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示