Code Monkey home page Code Monkey logo

ocr-character-pyqt5's Introduction

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” 功能
  • 加入截图功能
  • 加入深色主题

反馈

在使用中如遇到任何问题,可在该项目中反馈,或联系作者:[email protected]

ocr-character-pyqt5's People

Contributors

whitetea00 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.