python截屏组合图像识别功能遇到的坑(windows)

想尝试 截屏功能+图像识别 组合实现

过程中遇到很多的坑 特意记录在此 


#####截屏功能####

# Python实现可自定义大小的截屏功能
# 原贴 https://jingyan.baidu.com/article/219f4bf788addfde442d38fe.html


#####图像识别####
# Python3一行代码实现图片文字识别
# https://blog.csdn.net/qiushi_1990/article/details/78041375
# 【python 图像识别】图像识别从菜鸟走向大神系列1
# https://blog.csdn.net/u013421629/article/details/72912523




# windows下安装cv2模块
# https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
# 下载 xxxxxx.whl
# pip install xxx.whl


# Python已有pip后不能用的问题解决办法:
# 参考:https://blog.csdn.net/yu757371316/article/details/54962305
# 说明:在python.exe 目录拖入cmd中 执行命令
# cmd中进python交互模式import模块测试一下


# windows下安装PIL模块
# https://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow
# 下载 Pillow‑5.2.0‑cp36‑cp36m‑win_amd64.whl
# pip install xxx.whl


# windows下安装pytesseract源码安装
# https://github.com/madmaze/pytesseract
# 参考:https://www.jb51.net/article/86020.htm
# 图片文字OCR识别-tesseract-ocr4.00.00安装使用
# 参考 https://jingyan.baidu.com/article/219f4bf788addfde442d38fe.html


# Windows PyHook3安装和使用
# 安装PyHook
# 原贴 https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook
# 安装pywin32  包括 pythoncom win32gui win32api
# https://github.com/mhammond/pywin32/releases
# 出现no module named win32api 错误解决办法
# python -m pip install --upgrade pywin32 更新一下即可
# PyHook在Python3的windows下的一个bug,linux不会报错
# MouseSwitch() missing 8 required positional arguments:
# 'msg', 'x', 'y', 'data', 'time', 'hwnd', and 'window_name'
# 原贴 https://blog.csdn.net/u014563989/article/details/77247659


# 源码安装 python setup.py install
# 原贴 https://blog.csdn.net/weixin_37584762/article/details/79580386
# python 安装库的两种方式:pip安装 IDE安装:pycharm
# 原贴 https://blog.csdn.net/M_WBCG/article/details/70316875


# Python的KeyboardSwitch() missing 8解决方法
# https://blog.csdn.net/u014563989/article/details/77247659


# 安装报错“error: Microsoft Visual C++ 14.0 is required. ”解决方法:
# 安装 Microsoft visual c++ 14.0
# 原贴 https://blog.csdn.net/qq_38316655/article/details/79417709
# https://pan.baidu.com/s/1WaBxFghTll6Zofz1DGOZBg

# https://964279924.ctfile.com/fs/1445568-239446865

待续

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值