Sphinx - Reconocimiento De Voz

Sphinx - Reconocimiento De Voz
Article
Quote    Download Post  
Post Sphinx - Reconocimiento De Voz 
 
Hola a todos.

Sphinx es un proyecto de código abierto de reconocimiento de voz creado y mantenido por la Universidad Carniege Mellon.

Fuente: http://cosasquenuncaencuentro.blogs...cmu-sphinx.html

Saludos.



 
tincho - Profile PM  
tincho [ Saturday, 06 May 2017, 17:30 ]


Sphinx - Reconocimiento De Voz
Comments
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Hola Tincho.

¿ Está en español ?. En el blog que enlazas parece que si.
En cambio en la web del proyecto, dice...

Citar:

Which language model to build next


Y entre los idiomas está el español. Como si fuese para la próxima versión.  
Claro que tampoco puedo probarlo.

Para el que hace videoconferencias, videotutoriales es normal tener un micrófono.
En mi caso hace que no veo un micro desde el tiempo de la Sound Blaster Awe32. Que dicho
micro tenía la característica que solo recogía el sonido más próximo a el. Cuando normalmente
estamos acostumbrados a micros que cogían hasta a la vecina cantando en el portal.

Saludos



 
Shell - Profile PM  
Shell [ Sunday, 07 May 2017, 20:25 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Hola, este post es de hace un tiempo pero no por ello deja de ser interesante.
Encontré un ejemplo de como usar estas librerías tan interesantes pero dicho ejemplo esta escrito en python  
Apelo a Vuott, nuestro guru de las librerías y el lenguaje C, para que, si tiene tiempo y le parece interesante, nos ilustre sobre como hacer algo en gambas con ella.
Dejo el link del ejemplo

Saludos.



 
tincho - Profile PM  
tincho [ Tuesday, 02 October 2018, 11:35 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
tincho escribió:  
pero dicho ejemplo esta escrito en python






 
vuott - Profile PM  
vuott [ Tuesday, 02 October 2018, 12:13 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Si, lo siento jajaja  

Saludos.



 
tincho - Profile PM  
tincho [ Tuesday, 02 October 2018, 12:24 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Citar:

Encontré un ejemplo de como usar estas librerías tan interesantes pero dicho ejemplo esta escrito en python


 moe



 
Shell - Profile PM  
Shell [ Tuesday, 02 October 2018, 13:30 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Pero como era de esperar el ejemplo no funciona. Aparece un error. al instalar con pip el prgrama.

Saludos.



 
tincho - Profile PM  
tincho [ Tuesday, 02 October 2018, 13:51 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Tincho:

Citar:

Pero como era de esperar el ejemplo no funciona. Aparece un error. al instalar con pip el prgrama.


Pues no es tan antiguo el tema en el blog.  

¿ Qué error te dio ?. No puedo probarlo...

Saludos



 
Last edited by Shell on Tuesday, 02 October 2018, 14:03; edited 1 time in total 
Shell - Profile PM  
Shell [ Tuesday, 02 October 2018, 14:02 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Shell escribió:  
¿ Qué error te dio ?. No puedo probarlo...

Me dio un error al instalar
Al ejecutar el comando
pip install pocketsphinx

Devuuelve el error
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main


Saludos.



 
tincho - Profile PM  
tincho [ Tuesday, 02 October 2018, 14:25 ]
Quote    Download Post  
Post Re: Sphinx - Reconocimiento De Voz 
 
Luego encontre otros scripts pero me da el mismo error ya que tambien me pide instalar:
pip install SpeechRecognition
pip install pocketsphinx
 


Script 1 - Delayed speech-to-text:

import speech_recognition as sr  
# obtain audio from the microphone  
r = sr.Recognizer()  
with sr.Microphone() as source:  
  print("Please wait. Calibrating microphone...")  
  # listen for 5 seconds and create the ambient noise energy level  
  r.adjust_for_ambient_noise(source, duration=5)  
  print("Say something!")  
  audio = r.listen(source)  

# recognize speech using Sphinx  
try:  
  print("Sphinx thinks you said '" + r.recognize_sphinx(audio) + "'")  
except sr.UnknownValueError:  
  print("Sphinx could not understand audio")  
except sr.RequestError as e:  
  print("Sphinx error; {0}".format(e))

 


Script 2 - Immediate albeit inaccurate speech-to-text:

import os
from pocketsphinx import LiveSpeech, get_model_path
model_path = get_model_path()
speech = LiveSpeech(
verbose=False,
sampling_rate=16000,
buffer_size=2048,
no_search=False,
full_utt=False,
hmm=os.path.join(model_path, 'en-us'),
lm=os.path.join(model_path, 'en-us.lm.bin'),
dic=os.path.join(model_path, 'cmudict-en-us.dict')
)
for phrase in speech: print(phrase)




 
tincho - Profile PM  
tincho [ Tuesday, 02 October 2018, 15:09 ]
Display posts from previous:    
Post new topic  Reply to topic  Page 1 of 3
Goto page 1, 2, 3  Next
 

Users browsing this topic: 0 Registered, 0 Hidden and 1 Guest
Registered Users: None


 


   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1683s (PHP: -34% SQL: 134%)
SQL queries: 23 - Debug Off - GZIP Enabled