In this project, a Telegram bot is implemented that accepts text as an image, converts it into text and translates it.
-
Telegraf (https://www.npmjs.com/package/telegraf) - Telegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or TypeScript.
-
tesseract(https://www.npmjs.com/package/tesseract.js/v/2.1.1) - Tesseract.js is a javascript library that gets words in almost any language out of images
-
google-cloud/translate(https://www.npmjs.com/package/@google-cloud/translate) - The Cloud Translation API, can dynamically translate text between thousands of language pairs.
-
cors-proxy(https://allorigins.win/) - Pull contents from any page via API (as JSON/P or raw) and avoid Same-origin policy problems.
The project is under active development. You can get acquainted with the functionality that is planned to be implemented in the near future here: https://github.com/users/arkadiyshin/projects/5/