A Telegram bot that extracts text from images created using nodejs.
This bot uses Tesseract.js to perform Optical Character Recognition (OCR) on images sent to it. It can extract text from images in various languages.
- Extracts text from images in various languages
- Supports multiple image formats (e.g. JPEG, PNG, GIF)
- Easy to use: just send an image to the bot and it will respond with the extracted text
- Start a conversation with the bot on Telegram (note that the bot might not be served by the time you read this): https://t.me/nodejs_ocr_bot
- Send an image to the bot
- The bot will respond with the extracted text
To run the bot on your own server, follow these steps:
- Clone this repository:
git clone https://github.com/hoseinhamzei/telegram-ocr-bot-nodejs.git - Install the dependencies:
npm install - Set up your own Telegram bot token and API key
- Run the bot:
npm run start
Released under the MIT License.
Contributions and new features are welcome! If you'd like to contribute to the bot, please fork this repository and submit a pull request.