GithubHelp home page GithubHelp logo

barongeng / 7-segment-led-ocr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chunlei/7-segment-led-ocr

0.0 2.0 0.0 93 KB

led数码管OCR,企业Token实时分享(Home Camera + Python + OpenCV + TESSERACT + WebSite)

Python 14.63% JavaScript 47.25% HTML 38.12%

7-segment-led-ocr's Introduction

7-segment-led-ocr

企业公共token(RSA、OTP)网络共享

整体思路

  • 小蚁摄像头1080P对着token监控,PC上打开小蚁监控客户端,运行Python脚本,从监控画面截屏出token数字区域
  • 经过灰度、二值化、中值滤波,最后交给Tesseract去OCR,然后把结果存文件
  • node起个Web服务,用户登录通过后,可以查看实时token值,并提供日志记录以及报错反馈功能
  • 报错反馈的数据和图片日志文件可以用来强化训练Tesseract

python & dep

  • python 2.7
  • [email protected]+
  • pywin32
  • 把lang里的token.traineddata放到tessdata里
  • 环境变量 TESSDATA_PREFIX=C:\Program Files (x86)\Tesseract-OCR\
  • python main.py
  • 代码针对小蚁摄像头1080P,需要先安装PC客户端,然后从监控画面截屏出token数字区域

WebSite

  • 代码实现求快,直接用的es6语法,需要node 8.0+,Chrome 50+
  • cd server
  • node app.js
  • 支持记录日志
  • 支持反馈错误,用于后续强化训练

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.