Real-time Speech Recognition in 15 minutes with AssemblyAI

Поділитися
Вставка
  • Опубліковано 11 лис 2021
  • Get your free speech-to-text API token 👇
    www.assemblyai.com/?...
    Transcribing in real-time is a super skill only court reporters can brag about. But luckily, we don’t need to learn how to type fast to get transcriptions of audio quickly. Thanks to Assembly AI’s Streaming Speech-to-Text model (previously real-time speech recognition), it is very simple to set up a python script that can listen for audio and turn it to text.
    In this video, we will see how to create this script on Python with the help of pyaudio, web sockets and asynchronous functions. The app will have the power to listen to audio input through a microphone and display the transcription in real-time. We will integrate this code into a simple Streamlit application to showcase the real-time speech recognition with a touch of interactivity.
    If you’d like to follow along, don’t forget to get your own AssemblyAI API token for free at assemblyai.com
    You can find the code from this tutorial in this GitHub repository: github.com/misraturp/Real-tim...
    Find the written form of this tutorial here: www.assemblyai.com/blog/real-...
    AssemblyAI Streaming STT docs: www.assemblyai.com/docs/speec...

КОМЕНТАРІ • 72

  • @saifullahkhan9837
    @saifullahkhan9837 2 роки тому +11

    The accuracy and formatting is quite interesting here.

    • @AssemblyAI
      @AssemblyAI  2 роки тому +2

      Thank you! - Mısra

    • @debojitmandal8670
      @debojitmandal8670 7 місяців тому

      ​@@AssemblyAIhi what if I want the input to be not from microphone and i want it from my speaker or laptop speaker how do I do it then.

  • @lfmtube
    @lfmtube Рік тому +1

    Most instructional and useful video. Thank you.

  •  2 місяці тому +1

    Thanks for everything :)

  • @amineelarif7001
    @amineelarif7001 2 роки тому

    that is sick! goodjob

  • @otomakannioc8213
    @otomakannioc8213 10 місяців тому

    Very sympathic and engaging presentation. Maybe the most beautiful side of Artificial Intelligence 😊

  • @pjayo
    @pjayo Рік тому +5

    Is there a JavaScript version of this video please? Both service side and front end…

  • @Pinkijhabnp
    @Pinkijhabnp 7 місяців тому

    Thank you for this nice tutorial

  • @slimyelow
    @slimyelow 9 місяців тому

    Very kewl it works. However for the live service a $8 minimum is required. - but totally worth it

  • @Asparuh.Emilov
    @Asparuh.Emilov 2 роки тому +3

    This is really awesome! I would prefer though to see the final result as a short highlights at the beginning of your videos before you go into the details of how to. But thanks anyway for the effort and the time! Hugs!

    • @AssemblyAI
      @AssemblyAI  2 роки тому +2

      Thanks for the feedback! It's definitely a good idea to give an impression of the app that is being built. With the newer videos we do a preview at the beginning of the videos indeed. - Mısra

    • @Asparuh.Emilov
      @Asparuh.Emilov 2 роки тому

      @@AssemblyAI 🤗🤗♥️♥️

  • @ashiqashervegar7973
    @ashiqashervegar7973 Рік тому +2

    How can I use this for transcribing particular chrome tabs for online meetings? Can you help me with that?

  • @MrThought2012
    @MrThought2012 10 місяців тому +1

    Very nice and easy setup! Took me ages to achieve the same with whisper. However, are you planning to support other languages, german, french or even a multilinugal model?

    • @omarsiddiqi5018
      @omarsiddiqi5018 8 місяців тому

      Can I ask how you were able to do it?

  • @ckames22
    @ckames22 2 роки тому +3

    Awesome 👍

  • @claudiotassis
    @claudiotassis Рік тому +4

    Incredible video. Would I be able to use chatGPT, as an intermediate, to correct the sentences based on vocabulary and grammar, and after that, get the response from that chatGPT "reviewed" sentences?

    • @mohamedshagie3342
      @mohamedshagie3342 11 місяців тому +1

      Yup i tried to make it but it worked only text cant use speak 😅

  • @lookersky6145
    @lookersky6145 Рік тому +1

    I've this installed and worked on windows. My question is that Real-time Speech Recognition only recognize english ? Does it support other languages ? Thank you.

  • @HomelessRafi
    @HomelessRafi Рік тому

    How can I introduce um, ahs, and other filler words in to the Realtime transcription? I see it is an option for uploading an audio file

  • @PoojaVerma-sl6mg
    @PoojaVerma-sl6mg 9 місяців тому

    Could you please instruct me on how I can include this in my Angular project?

  • @1992kshitizyadav
    @1992kshitizyadav Місяць тому

    As of now, only the English language is supported in the live transcription feature. when can we expect more language support ?

  • @adhikesavan9377
    @adhikesavan9377 Рік тому +1

    when i tried to install pyaudio terminal displays this error: "Cannot open include file: 'Python.h': No such file or directory "

  • @fahnub
    @fahnub Рік тому +2

    Does it also offer diarization in real time?

  • @usus8420
    @usus8420 2 місяці тому

    hi great works but what about smartphone ?

  • @weebiesoftware6296
    @weebiesoftware6296 2 місяці тому

    I want to implement a realtime app using voice recognition on python 3 / android 11 on my samsung s22. It's my understanding portaudio is NOT supported on Android 11. Is portaudio your only way to get to the mic?

  • @REALVIBESTV
    @REALVIBESTV Рік тому

    Can this work in Unreal Engine 5

  • @moncefarajdal4582
    @moncefarajdal4582 2 роки тому +1

    Can you please let me know how can I integrate this in my JAVA Maven project?

    • @AssemblyAI
      @AssemblyAI  2 роки тому

      Hey Moncef, unfortunately I also don't have experience on that. -Mısra

  • @user-mx5lv5qp5y
    @user-mx5lv5qp5y 11 місяців тому

    can you pls let me know how to save that text

  • @Miguel-hq1lx
    @Miguel-hq1lx 2 місяці тому

    is it possible to transcribe in real-time in other languages, such as spanish?

  • @bakhshizade
    @bakhshizade 8 місяців тому

    I am here for Freddie.

  • @KashyapJadav
    @KashyapJadav Рік тому +1

    Live transcript is paid version?

  • @borr2749
    @borr2749 Рік тому +1

    Assembly ai real time transcription doesn't have a free trial ?

  • @onintsoavola5698
    @onintsoavola5698 6 місяців тому

    Is it possible to make it faster ? The transcription takes a little time

  • @MDMUHTADEEFAIAZKHANSOUMIK
    @MDMUHTADEEFAIAZKHANSOUMIK Рік тому

    Can we setup Bangla language for this system?

  • @GiulianoGolfieri
    @GiulianoGolfieri Рік тому +1

    Is it possible to use this service in other languages apart from English?

    • @tiagofyhnesteves74
      @tiagofyhnesteves74 Рік тому

      im also trying to find an answer to this question

    • @GiulianoGolfieri
      @GiulianoGolfieri Рік тому +2

      @@tiagofyhnesteves74 they answered to me privately. It's not possible yet. I switched to Azure cognitive services, which is multi-language.

    • @frizzfrizz3550
      @frizzfrizz3550 8 місяців тому +1

      @@GiulianoGolfieri I had taken it for granted that it was a multilingual service, a fucking morning's work wasted. Grazie della info, Giuliano

  • @rubibeats
    @rubibeats Рік тому

    how to add custom ui?

  • @spinal_cord
    @spinal_cord Рік тому +1

    I know this is a little old, but I get a 4002 error, what might cause that?

    • @walker71391
      @walker71391 11 місяців тому

      Did you ask ChatGPT?

  • @IntricateMoon
    @IntricateMoon Рік тому

    I'm on windows, When I try to run it it does nothing, just creates a new line on the terminal. when I cloned the github repo, it was working, hmmm

    • @AssemblyAI
      @AssemblyAI  Рік тому

      Have you tried speaking while the code is running? It might be that you don't have a microphone connected to the computer.

  • @parameswaranesnsce-cse9491
    @parameswaranesnsce-cse9491 5 місяців тому

    can we speak any indic languages , will this endpoint will transcribe or not ?

    • @AssemblyAI
      @AssemblyAI  5 місяців тому

      Yes AssemblyAI's API supports Hindi Transcription, check out this tutorial: ua-cam.com/video/3WlNOCeyyjQ/v-deo.html

  • @eagold
    @eagold 2 роки тому +2

    buut.. if i have no money to buy the pro key?😕

    • @AssemblyAI
      @AssemblyAI  2 роки тому +1

      You can get started for free!

  • @angelfernando8954
    @angelfernando8954 2 роки тому +1

    Hi. how can i change the lenguage to transcript in spanish?

    • @AssemblyAI
      @AssemblyAI  2 роки тому +1

      Hey Angel, here is the documentation on transcribing in languages other than English. docs.assemblyai.com/walkthroughs#specifying-a-language

    • @dirtydevil81
      @dirtydevil81 2 роки тому

      @@AssemblyAI But do different languages work with realtime transcription on this specific endpoint? The documentation, regarding changing the language, is not clear about this.

    • @giovanniied
      @giovanniied Рік тому

      @@dirtydevil81 do you find a solution?

  • @loubino18
    @loubino18 3 місяці тому

    Should have mentioned cost to go to pro version.... why hide it?

  • @siamkamelia87
    @siamkamelia87 2 роки тому

    does this work for song transcription ? in real time ?

    • @AssemblyAI
      @AssemblyAI  2 роки тому +1

      Hey Siam, depending on the amount of background music and clarity of pronunciation you'd get varying levels of success with transcribing songs.

  • @ibrahimimohssine8131
    @ibrahimimohssine8131 2 роки тому

    is assemblyAI support arabic language with vowelization?

    • @AssemblyAI
      @AssemblyAI  2 роки тому +2

      We are launching support for Arabic in late January!

  • @Pokurtek
    @Pokurtek 2 роки тому +1

    Aha Türk !

  • @marlontuquerres6072
    @marlontuquerres6072 Рік тому

    THIS IS ONLY AVAILABLE ON MAC/LINUX, RIGHT?

    • @AssemblyAI
      @AssemblyAI  Рік тому

      No, it is available independent of the operating system.

  • @benyusu8045
    @benyusu8045 7 місяців тому

    received 4001 (private use) Not authorized; then sent 4001 (private use) Not authorized

  • @barankaya3333
    @barankaya3333 Рік тому

    Türk müsün?

  • @valerozanoni952
    @valerozanoni952 Рік тому

    When i added this line
    if json.loads(result_str)['message_type'] == 'FinalTranscirpt':
    it wouldnt transcript anything anymore