speech to text

조회 수: 40 (최근 30일)
Dhaval Gondaliya
Dhaval Gondaliya 2012년 3월 20일
편집: Adam Danz 2019년 12월 13일
I am doing a project on the speech recognition for home automation but i can not find the code to convert the speech into the text and also i can not justify that what is spoken in the speech? so please any one can help me?
I have some code to distinguish the speech but it does not work for different speeches.
If you have that code then please send me .
My email id :dhavalgondaliya55@gmail.com.
  댓글 수: 3
Walter Roberson
Walter Roberson 2012년 9월 4일
Please be more specific about the difficulty you are encountering.
Adam Danz
Adam Danz 2019년 12월 13일
편집: Adam Danz 2019년 12월 13일
Several comments have been removed where users were merely leaving their personal email addresses asking for code.
See Gabriele Bunkheila's answer below for source code.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2012년 3월 20일
  댓글 수: 3
PK
PK 2013년 1월 23일
Hi Image analyst I have seen these links but in the second link can you tell me how exactly to work with code.
Walter Roberson
Walter Roberson 2013년 1월 23일
The company sells the source code for about Eur 30.
I would not think it especially likely that Image Analyst has paid the company for the source to a speech project... not his line of work.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Gabriele Bunkheila
Gabriele Bunkheila 2018년 1월 16일
편집: Gabriele Bunkheila 2018년 3월 6일
Hi Dhaval,
I work at MathWorks and I noticed this old enquiry of yours just now. This is probably not directly relevant to your original question, but I thought I'd leave a link to our recent MATLAB Central sumbission speech2text in case it was useful to others:
That leverages 3rd party speech-to-text web services (so far including from Google, Microsoft and IBM) calling their web API directly from MATLAB via a simple MATLAB Function. This may turn in handy to test the performance of your own solution using well-established services.
The syntax looks like the following:
>> [samples, fs] = audioread('helloaudioPD.wav');
>> soundsc(samples, fs)
>> speechObject = speechClient('Google','languageCode','en-US');
>> outInfo = speech2text(speechObject, samples, fs);
>> outInfo.TRANSCRIPT
ans =
'hello audio product Developers'
>> outInfo.CONFIDENCE
ans =
0.9385
Please refer to the html folder in the submission for a step-by-step getting started guide.
Thanks,
Gabriele.
  댓글 수: 3
Gabriele Bunkheila
Gabriele Bunkheila 2018년 12월 7일
Hi Kavitha,
You can find altearnative sintax options (i.e. for IBM and Microsoft) at the following page in the online documentation:https://www.mathworks.com/help/audio/ug/speech2text.html
I hope this helps.
Regards,
Gabriele.
Henan Yu
Henan Yu 2019년 10월 6일
Hello Gabriele,
I am doing the Speech recognition project, and I followed the link you shared, but it turns out this error: 'unauthorized' voice. Here is my code:
[y,fs] = audioread('audio-file.flac');
soundsc(y, fs)
speechObject = speechClient('IBM','languageCode','en-US')
speechObjectIBM = speechClient('IBM','keywords',"example,keywords",'keywords_threshold',0.5);
speechObjectIBM.Options
outInfo = speech2text(speechObject,y,fs)
I am wondering is this because the code is not correct or there is something wrong with my .JSON file ?
Looking forward to hearing from you.
Thank you
Regards,
Henan

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Speech Recognition에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by