Skip to content

An opencv based database populator to relieve the hassle!!! 🤖

License

Notifications You must be signed in to change notification settings

VishalS99/Smart-SQLizer

Repository files navigation

Smart SQLizer 🤖

An automated tool that autopopulates the database from entries in a table image, based on OpenCV and PyTesseract.


Dependencies

Based on python 3.6+.

Run pip install -r requirements.txt to install all dependencies.

How to setup?

Create a virtual environment:

  • Installing virtualenv : pip3 install virtualenv
  • Creating venv: python -m venv env
  • Activating env: source env/bin/activate

Install all dependencies.

Set up config.js by copying contents of config.example.json to config.json and fill in username and password of your database client.

Arguments

  • -p/ --path: Path of the image to be processed
  • -db/ --database: Name of the database
  • -t/ --table: Name of the table
  • -s/ --shade: 0 if heading is not, 1 if heading is dark

Executing the script:

Run python injector.py with respective arguments.

=====================
Have Fun
=====================

About

An opencv based database populator to relieve the hassle!!! 🤖

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages