Coder Social home page Coder Social logo

jmandarino / meter-reader Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 44.07 MB

Graph data from a series of images. Using OCR, KNN/SVM and MINIST

Python 100.00%
digit-recognition python cv2 handwritten-digit-recognition seven-segment socr ocr mnist

meter-reader's Introduction

Seven segment display reader (Meter Reader)

Purpose:

To read the data from Coned Electric meters (7 segment displays) and graph the information

Workflow:

  1. place images inside in/imgs
  2. run setup.py python setup.py this creates images.json
  3. process image data from images.json by running python digit_ocr.py
  4. run data through MNIST and SVM/KNN
  5. Graph data and find trends

TOOLS:

  1. opencv
  2. sklearn
  3. MNIST Dataset
  4. Matplotlib

MAJOR TODO's :

  1. Connect user flows (processing img -> figure out image -> graph)
  2. Error Processing for (OCR)
  3. Error Processing for data (if ocr failed to read data correctly what should we do
  4. centralize paths instead of declaring them in each file

Requirements and how to install

TODO: later

Major issues:

image processing is strong enough given every picture is varied.

meter-reader's People

Contributors

jmandarino avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meter-reader's Issues

contour issue

Hi.
Thanks for the great project but I ran into the bug. I started the project as you described in the readme but there was an error:
digits_ocr.py:

displayCnt = None
....
lines 57-58:
if len(approx) == 4:
displayCnt = approx
displayCnt stays None!
and therefore
warped = four_point_transform(gray, displayCnt.reshape(4, 2))
doesn't work.

Could you please to fix that issue.

Thanks for your cool work again,
Andrii.

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.