1 Star 1 Fork 1

whitetea00 / OCR-character-PyQt5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

OCR--PyQt5

基于PyQt5开发的OCR文字识别系统,调用了百度AI平台的API。

当前版本:0.50 beta

appdemo

环境

  • Python 3.6+
  • PyQt5 5.14
  • baidu-aip 2.2+

运行

  • 配置API

    该项目自带了一个测试用的 API 实例,可将 app.py 中的实例更换为自己的API

    PP_ID = '19105187'   #APP_ID
    API_KEY = 'IywiicFEKa5ny2ckUp29tHVk'  #API_KEY
    SECRET_KEY =  'uWnu44pu6lFjPZylFLMBymurGNTtrD2t'  #SECRET_KEY
  • 运行

    cd OCR-character-PyQt

    python app.py

应用程序

  • 该项目使用了pyinstaller 进行打包。可下载 application 目录下的的My_OCR_0.50_beta.exe 文件直接运行。

使用方法

  • 点击 “选择图片” 选择需要识别的图片;
  • 点击 “开始识别” 开始文字识别,结果将出现在右侧的文本框中;
  • 点击 “清空”,将清除已选择的图片和文本框中的内容;
  • 目前 “配置API Key” 选项还未绑定,可通过 app.py 中设置。

下一步

  • 绑定 “配置API Key” 功能
  • 加入截图功能
  • 加入深色主题

反馈

在使用中如遇到任何问题,可在该项目中反馈,或联系作者:chenzixin7314@foxmail.com

MIT License Copyright (c) 2020 chenzixin7314@foxmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

OCR文字识别,调用百度AI的API 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/whitetea00/OCR-character-PyQt5.git
git@gitee.com:whitetea00/OCR-character-PyQt5.git
whitetea00
OCR-character-PyQt5
OCR-character-PyQt5
master

搜索帮助