python 0 篇文章

selenium python 自动滑块检测

selenium python 自动滑块检测
‍思路爬图片目标检测:Canny 边缘检测后正交相似匹配定位,求得相对水平距离 distance。注意根据页面图像元素 clientWidth,和原图像尺寸做一次尺度缩放。用 selenium 模拟鼠标运动,copyhttps://github.com/CharlesPikachu/SeleniumLogin。‍效果‍遇到的问题本来想直接用 edgedriver 的,但是 edgedriver 启动直接报错,http

PDM - 基于 PEP 582 的 python 包管理

预备知识:pythonpath、pyvenv、PEP582。官网 https://pdm.fming.dev/简易使用说明安装 pipxinstallpdm,添加至 $PATH,bash 配置 pdm 自动补全 pdmcompletionbash|sudotee/etc/bash_completion.d/_pdmpdmconfig 查看全局开启 pdm 缓存:pdmconfiginstall.cacheon 配置 pyp