voice-to-text-telegram-recognition

Форк
0

2 месяца назад
2 месяца назад
README.md

Russian

Voice to text translator

Telegram bot, for recognizing text from voice messages or video messages. Without using an API other than aiogram.
My TG channel - Click

📖 Description

The bot allows you to translate voice messages and video notes into text form.
You just need to forward or record such messages.

The translation is carried out by a trained vosk model, which you can pump if you know how, of course :)

You can also add a text recognition function from the video, and in general, do what you go xD

🖼 Screenshots

git

🧐 Instruction

0. First, you need to clone the repository to your computer;

1. The next step is to install the necessary libraries (versions are written in constants);

pip install vosk
pip install soundfile 
pip install aiogram
pip install moviepy
pip install librosa

2. Next, you need to download the vosk model for your language from the official website;

  • P.S: Personally, small models work better for me

3. After installation, unzip the model to the root folder;

4. Next, using https://t.me/BotFather create a bot and get its token;

5. Enter the received token and the path to the vosk model in the file constants.

✅ That's it, now you can launch the bot

If you still want to upgrade your vosk model, try this method - https://habr.com/ru/articles/735480/

Описание

Telegram-бот для распознавания текста из голосовых сообщений или видеосообщений

Языки

Python

Сообщить о нарушении

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.