This is a Telegram bot created with Python-telegram-bot v20.1 module that allows users to extract the text from a PDF document and convert PDFs to images.
- python-telegram-bot
- pdf2jpg
- PyPDF
- Python 3.x
Install Packages :
pip install -r requirements.txt
/start : Starts the bot.
/help : Get the help description of the bot.
Just send the PDF to the bot, choose any one option Extract Text
or Extract Images
Extract Text: It will extract the text from pdf and uploads the txt file from pdf.
Extract Images: It will convert the pdf to images and upload the images one by one.
Note : This bot is made to be run on a Local System.
Just run this command
python main.py