Giter Site home page Giter Site logo

ocrbot-1's Introduction

A star ⭐ from you means a lot to us!

Telegram bot to extract text from image

Open Source Love svg1

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN.
  2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on "Manage App"
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/StarkBotsIndustries/OCRBot
  2. Now head to this page and install Tesseract installer.

  3. Use it to install Tesseract and copy the PATH to where it is installed.

  4. Now uncomment out this line. Fill the inverted commas with your own PATH.

  5. Edit Config.py and fill the needed variables

  6. Enter the directory

    cd OCRBot
  7. Install all requirements using pip.

    pip3 install -r requirements.txt
  8. Run the file

    python3 main.py

Environment Variables

Mandatory Vars

Functions

More features soon, this is a minimal example :)

  1. Extract text from image
  2. Send any amount of images at once, and it will work the same.

To-Do

That's on you mainly...

PRs Welcome

Credits

Support

Channel :- @StarkBots

Group Chat :- @StarkBotsChat

:)

ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

ocrbot-1's People

Contributors

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