Giter Site home page Giter Site logo

yunjuanwang / ocr-from-scratch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from usamamuneeb/ocr-from-scratch

0.0 0.0 0.0 24.58 MB

Implementation of OCR from scratch using Python and TensorFlow

HTML 18.59% JavaScript 39.34% Python 41.14% CSS 0.93%

ocr-from-scratch's Introduction

OCR-from-scratch

Implementation of OCR (Optical Character Recognition) from scratch using Python and TensorFlow

Authors

Usama Muneeb (GitHub); Yunjuan Wang (GitHub)

University of Illinois at Chicago (UIC)

1. Running the Server

1.1 Setting up the environment

1.1.1 Install Node.js.

The application is developed on version 10 LTS. Other versions may continue to support but are untested.

Install the required Node packages:

Clone the Git repository, enter the directory and install packages:

git clone https://github.com/usamamuneeb/OCR-from-scratch.git
cd OCR-from-scratch
npm install formidable socketio gm pdfkit

Install the GraphicsMagick DLL for the gm Node package.

Windows Download

1.1.2 Install Python

Python 3.6.X is required. As of yet, TensorFlow works with Python 3.6.X.

Python Downloads

Install respective Python packages

python -m pip install tensorflow opencv image numpy

1.2 Running the Server

Make sure you are in the project directory and run:

cd OCR-from-scratch
node server.js

2. Accessing the frontend

The frontend can be accessed at port 8000 of the machine running the server application.

If using on local system, open a browser and point to:

http://localhost:8000

ocr-from-scratch's People

Contributors

usamamuneeb 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.