rexsimiloluwah / inec-ocr-poc

A proof of concept (POC) application for performing OCR on INEC statement of result forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INER OCR APP 🇳🇬

A POC application for performing OCR on INEC statement of result images

Introduction

Uses

How it works?

Requirements

  • Python 3.x

To run the application locally

  1. Clone the repository
$ git clone https://github.com/rexsimiloluwah/inec-ocr-poc.git 
$ cd inec-ocr-poc
  1. Setup a virtual environment
# using virtualenv
$ python -m venv env 
$ source env/bin/activate
  1. Install the dependencies from requirements.txt
$ pip install -r requirements.txt
  1. Run the web server
$ uvicorn src.web.main:app --reload

# using make
$ make start-web

To run the application using Docker

$ docker pull similoluwaokunowo/inec-ocr-app
$ docker run -p 8040:8040 similoluwaokunowo/inec-ocr-app

Testing the application

$ pytest

About

A proof of concept (POC) application for performing OCR on INEC statement of result forms


Languages

Language:Python 72.0%Language:JavaScript 16.1%Language:CSS 6.4%Language:HTML 4.1%Language:Dockerfile 0.8%Language:Makefile 0.4%Language:Shell 0.3%