Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs telegram OCR Bot

A Telegram bot that extracts text from images created using nodejs.

Description

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.

Features

  • 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

Usage

  1. 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
  2. Send an image to the bot
  3. The bot will respond with the extracted text

Installation

To run the bot on your own server, follow these steps:

  1. Clone this repository: git clone https://github.com/hoseinhamzei/telegram-ocr-bot-nodejs.git
  2. Install the dependencies: npm install
  3. Set up your own Telegram bot token and API key
  4. Run the bot: npm run start

License

Released under the MIT License.

Contributing

Contributions and new features are welcome! If you'd like to contribute to the bot, please fork this repository and submit a pull request.

About

basic telegram node.js bot example using node.js and typescript

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages