自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (2)
  • 收藏
  • 关注

原创 uiautomator2 ,坐标区域图片,白色文字识别

param image_input: 文件路径 (str) 或 PIL.Image 对象。:param img_input: 文件路径 (str) 或 PIL.Image 对象。:return: 预处理后的二值图像 (OpenCV格式)# 转换PIL图像为OpenCV格式 (BGR)# 识别文字(中文需指定lang='chi_sim')处理图像中的白色文字(支持文件路径或PIL图像对象)# 其他模式转换为RGB再处理。# 直接转换RGB为BGR。# 确保图像是3通道的RGB格式。# 处理PIL图像对象。

2025-08-19 14:55:03 381

原创 python 图片识别白色字体的文字

安装Tesseract OCR引擎(Ubuntu/Debian)# 安装Python依赖2.

2025-08-19 14:01:21 420

原创 python uiautomator2 图像定位

screenshot = d.screenshot(format='pillow') # 返回PIL.Image对象。print(f"中心坐标: ({center_x}, {center_y})")screenshot.save("screen.png") # 可选保存。print(f"置信度: {max_val:.2f}")print(f"匹配位置: ({x}, {y})")print("未找到匹配目标")print("成功点击目标")# 6. 点击目标位置 (可选)# 4. 执行模板匹配。

2025-08-14 09:09:10 348

原创 ubuntu 安装微软雅黑字体

将字体文件复制到新建的目录 cp /path/to/your/msyh*.ttc ~/.fonts/msyh/重新打开office,就可以使用微软雅黑字体了。

2025-07-29 15:15:27 412

原创 python pyqt5 菜单栏实现多页面切换

("003", "压力传感器", "101.3 kPa", "警告", "2023-07-28 10:23:47"),("004", "流量计", "12.8 L/min", "正常", "2023-07-28 10:23:48"),("001", "温度传感器", "25.6°C", "正常", "2023-07-28 10:23:45"),("002", "湿度传感器", "45.2%", "正常", "2023-07-28 10:23:46"),

2025-07-29 08:42:37 985

原创 Ubuntu H.264视频打不开

【代码】Ubuntu H.264视频打不开。

2025-07-17 14:47:59 159

原创 Python日志输出到QTextEdit信号槽

log_manager.emit_log(f"工作线程启动 (ID: {self.currentThreadId()})", "blue")log_manager.emit_log(f"数据获取失败: {str(e)}", "red")log_manager.emit_log(f"保存日志失败: {str(e)}", "red")log_manager.emit_log("开始获取数据...", "blue")log_manager.emit_log("应用程序启动成功", "green")

2025-07-16 17:35:48 606

原创 Ubuntu Could not load the Qt platform plugin “xcb“

【代码】Ubuntu Could not load the Qt platform plugin “xcb“

2025-07-16 16:04:11 433

原创 ModuleNotFoundError: No module named ‘reportlab.graphics._renderPM‘

pip install --upgrade --force-reinstall reportlab[graphics] #重新安装完整版ReportLab。pip uninstall reportlab # 先卸载现有版本。

2025-07-16 09:30:06 138

原创 python 3.13 NOTE: You must install tkinter on Linux to use MouseInfo.

【代码】python 3.13 NOTE: You must install tkinter on Linux to use MouseInfo.

2025-07-16 09:21:23 186

原创 Ubuntu python ModuleNotFoundError: No module named ‘distutils‘

【代码】Ubuntu python ModuleNotFoundError: No module named ‘distutils‘

2025-07-15 11:23:40 383

原创 Ubuntu如何安装Python 3.13.5

Ubuntu如何安装Python 3.13.5

2025-07-15 09:15:01 463

原创 WebDriverException: Message: Unexpected error launching Internet Explorer

问题:browser = webdriver.Ie() 时出现 WebDriverException: Message: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set t

2016-06-07 16:20:51 576

原创 loadrunner error 27727

错误提示:Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Resource Page Timeout is a Warning" Run-Time Setting to Yes/No to have this message as a war

2016-05-25 10:44:37 274

原创 redis安装

1. redis安装下载路径http://download.redis.io/releases/ 1.1 redis 安装[root@testserver ~]# cd /opt/software/redis-2.8.24[root@testserver redis-2.8.24]#  make[root@testserver redis-2.8.24]#  m

2015-12-22 21:54:27 198

原创 MySQL性能优化之参数配置

Linux系统上安装MySQL 5.6修改MySQL配置打开MySQL配置文件my.cnfvi /etc/my.cnf  或者mysql下的配置文件my.cnf 1. back_log=500back_log值指出在MySQL暂时停止回答新请求之前的短时间内多少个请求可以被存在堆栈中。也就是说,如果MySql的连接数据达到max_connections时,新来的请求将会被存

2015-12-21 13:05:54 214

原创 查询mysql当前连接数

查询mysql当前连接数1.show status   Threads_connected  当前的连接数   Connections  试图连接到(不管是否成功)MySQL服务器的连接数。   Max_used_connections  服务器启动后已经同时使用的连接的最大数量。2.set GLOBAL max_connections=连接数;    flush pr

2015-12-21 11:39:08 246

原创 oracle 运行./runInstaller出错

>>> Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-12-02_02-31-23AM. Please wait ...[oracle@jkserver database]$ Except

2015-12-02 14:45:59 1390

转载 Loadrunner 中参数执行顺序

在Loadrunner录制脚本及执行的过程中,经常会用到变量参数化来进行一些不同组合及唯一性值的设定,对于Loadrunner参数化的文章也很多,在此也不在繁述,今天我们就探讨下如何更高效的进行Loadrunner参数化,以更好的提高工作效率。很多人在接触参数化时,都多少有这这样的困扰:我的参数化设置执行结果和我预期的结果有很大区别!在很多系统中对数据唯一性要求很高的话,我们会经常碰到

2015-11-13 11:44:13 761

selenium webdriver python 第三版本

python 自动化测试框架;selenium webdriver python 第三版本

2019-02-01

车载网络系统解析.ppt

车载网络系统解析; 导航控制单元;电话控制单元J738仪表控制单元;数字音响控制单元;网关;故障诊断接口;驻车加热控制单元;电话准备系统控制单元

2019-09-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除