Skip to content

shahid-ullah/NothiOCRAPI

Repository files navigation

Requirements

python version 3.8

Server Installation Instructions

Install system packages

$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt install build-essential cmake python3-dev
$ sudo apt update
$ sudo apt install python3.8-dev
$ sudo apt install tesseract-ocr-ben
$ sudo apt install tesseract-ocr-eng
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config

clone the proeject

$ git clone https://github.com/shahid-ullah/NothiOCRAPI.git

change to project directory

  $ cd NothiOCRAPI

create a virtual environment

$ virtualenv venv

Activate Virtual Environment

$ source venv/bin/activate

Install packages in Virtual Environment

$ pip install -r requirements.txt

Remove unnecessay packages from virtualenviroment**

$ pip-sync

Collect static files\

 $ python manage.py collectstatic

start web development server

$ python manage.py runserver

API Usage Instructions

API End: POST /apiImageToText/
Form Data:
image: image_url
language: eng or ben or ben+eng

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published