当前位置: 首页 > wzjs >正文

做自己的网站需要什么seo推广专员招聘

做自己的网站需要什么,seo推广专员招聘,seo排名工具外包,游戏下载网站模板pywinauto通过图片定位怎么更加精准的识别图片? 可以使用置信度的配置,添加了对比图片相似程度达到多少就可以认为是合适的定位图片 import time from time import sleep from pywinauto.application import Application from pywinauto.keyboard impo…

pywinauto通过图片定位怎么更加精准的识别图片?

可以使用置信度的配置,添加了对比图片相似程度达到多少就可以认为是合适的定位图片

import time
from time import sleep
from pywinauto.application import Application
from pywinauto.keyboard import send_keys
from pywinauto import mouse
import pyautogui#判断是否存在
def search_is_exist_image(image_address):try:button_location = pyautogui.locateOnScreen(image_address, confidence=0.8)return button_location is not Noneexcept Exception as e:logger.error(f'Error: {str(e)}')return False#间隔interval秒查询下元素image_address是否存在,超过time秒则停止
def search_is_exist_with_timeout(image_address, timeout, interval):start_time = time.time()while True:if search_is_exist_image(image_address):return Trueif time.time() - start_time > timeout:return Falsetime.sleep(interval)#间隔interval秒查询下多个元素image_address是否存在,超过time秒则停止
def search_is_exist_images_with_timeout(image_address_list, timeout, interval):start_time = time.time()while True:for index,image_address in enumerate(image_address_list):if search_is_exist_image(image_address):return indexif time.time() - start_time > timeout:return Nonetime.sleep(interval)#查找到元素并点击
def search_click(image_address):try:button_location = pyautogui.locateOnScreen(image_address, confidence=0.8)if button_location is not None:button_center = pyautogui.center(button_location)pyautogui.click(button_center) except Exception as e:logger.error(f'Error: {str(e)}')#查找到元素并移动上去
def search_move(image_address):try:button_location = pyautogui.locateOnScreen(image_address, confidence=0.8)if button_location is not None:button_center = pyautogui.center(button_location)pyautogui.moveTo(button_center, duration=0.5) except Exception as e:logger.error(f'Error: {str(e)}')    
http://www.dtcms.com/wzjs/439300.html

相关文章:

  • 在人才网站做业务看到招聘游戏推广员千万别去
  • 服务好的微网站建设鞍山seo公司
  • 安徽省淮南市城乡建设委员会网站今天最新的新闻头条新闻
  • 织梦网站问题建网站建设
  • wordpress 用微信登陆天津seo博客
  • 大屏网站做响应百度认证平台官网
  • 做网站和微信公众平台如何定价宁波seo推广服务
  • 影视网站怎么做原创域名批量注册查询
  • 政务网站建设工作方案最全资源搜索引擎
  • 管理网站广州最新疫情通报
  • 个人可以做b2b网站吗整站优化外包服务
  • 数据分析网站开发广东东莞最新情况
  • 加强政府网站建设与管理企业网站怎么制作
  • 可以做h5的软件seo快速排名优化公司
  • dz论坛做视频网站教程2023近期舆情热点事件
  • 怎么做阿里妈妈推广网站2022最新永久地域网名
  • 网站建设技术团队有多重要德州百度推广公司
  • 公司小程序开发网站seo优化有哪些方面
  • 观山湖网站建设长春网站建设公司
  • 网站开发中软文案例500字
  • wordpress指定分类主动推送百度山西seo基础教程
  • 学做网站先学什么百度网站收录提交
  • 中山网站建设文化方案有站点网络营销平台
  • 灰色链网站建设临沂森拓网络科技有限公司
  • 郑州高端网站微博推广
  • 做外贸网站那个好百度手机app
  • app制作平台排行广东seo推广
  • 手机端网站动效类怎么做什么是关键词排名优化
  • 用国外服务器做网站杭州seo网站建设
  • 只能在线观看的电影网站咋么做百度风云榜游戏