Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.
/ SIH_PyExtractor Public archive

Text Extractor for Smart India Hackathon 2018, Department of Space

Notifications You must be signed in to change notification settings

MJ10/SIH_PyExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install Dependencies

MySQL

  • sudo apt-get install mysql-server-5.7
  • sudo apt-get install libmysqlclient-dev

Setting up the Database

mysql -u <username> -p

CREATE DATABASE PyExtractor CHARACTER SET UTF8;
CREATE USER sih@localhost IDENTIFIED BY 'ISRO@PyE18';
GRANT ALL PRIVILEGES ON PyExtractor.* TO sih@localhost;
FLUSH PRIVILEGES;

Setup virtual environment

virtualenv -p python3 pyExtractor
cd pyExtractor/
source bin/activate
git clone https://github.com/MJ10/SIH_PyExtractor.git
cd SIH_PyExtractor/
pip install -r requirements.txt 

External Dependencies

  • Tesseract-OCR
  • Open-CV

Offline Map using OpenStreetMap and LeafletJS

  • Download the vectorised map file of the required area.
  • Run the server on port 8080 tileserver-gl-light 2017-07-03_asia_india.mbtiles