Giter VIP home page Giter VIP logo

electron-ocr's Introduction

electron-ocr

OCR(Optical Character Recognition), Electron, Tools

项目预览

demo

功能介绍

  • 图片上传:实现拖拽
  • 图片预览:上传完成,直接进入预览页,同时执行文字识别,成功后返回结果,并拷贝入粘贴板,可语音播报
  • 菜单页:简单的导航列表,持续扩充
  • 在线演示功能:提供了更多的图片,便于演示效果
  • 繁体字识别:繁体字需要调用付费接口,所以需要单独处理,增加了繁体校准功能
  • 大图裁切:为了精准识别,需要将图片化繁为简
  • ...

技术方案

  • electron
  • electron-compile
  • electron-reload
  • react
  • react-router@4
  • react-motion
  • ES6/ES7
  • Promise
  • Surperagent
  • Less
  • eslint
  • cropper
  • Material-UI
  • ...

使用说明

1.clone 项目

git clone https://github.com/chenfengyanyu/electron-ocr.git

2.安装依赖包,建议使用淘宝镜像 cnpm 安装

cnpm i

3.项目根目录创建文件 config.js,代码参考 config.sample.js 因为使用了百度 AI 文字识别接口,所以需要获得接口使用的 Key 值。

const Keys = {
  ak: 'BGGSqHB2FoTiXpPIziVLCjzv', // 您的 Api Key
  sk: 'ojvVMC7yW2GPuQ7kATDVr4RCzNyw19sZ' // 您的 Secret Key
}

export default Keys;

4.完成上述过程,启动程序

npm run start

5.项目打包 因为要下载打包的二进制文件,所以会很慢,而且打包过程会占用较大系统内存。

npm run package

注意事项

  1. 暂时只支持 OS X 系统的打包,其他系统稍后支持。
  2. 项目还有很多细节未完成,暂不提供下载。

欢迎加入

项目还在持续开发中,更多的细节需要处理,欢迎大家加入,打造最好用以及最聪明的识图软件桌面应用!

electron-ocr's People

Contributors

chenfengyanyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

electron-ocr's Issues

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.