speech-recognition

Small-size speech recognition on Android to look for keywords

a 夏天 提交于 2019-12-10 10:39:44
问题 I'm developing a voice command app and need to use speech to text in Android. I want my app to work offline. Its yet possible only in jellybean version and it requires huge sized database to download and keep in the device. But i don't require whole database, i just want few keywords for the conversions. Is it possible to record a .wav files on our own and set its reference to a particular word and when a voice input is given we could match the two voice tracks and recognize the corresponding

Keyword is not detected using pocketsphinx on android

蹲街弑〆低调 提交于 2019-12-10 10:16:13
问题 Can anybody explain me how I can convert my speech to text using pocketsphinx? I try this: import com.example.speechtutor.SpeechRecognizerRecorder; import com.example.speechtutor.SpeechRecognizerRecorderSetup; import edu.cmu.pocketsphinx.Hypothesis; import edu.cmu.pocketsphinx.RecognitionListener; import static edu.cmu.pocketsphinx.Assets.syncAssets; public class SpeakActivity extends Activity implements RecognitionListener { SpeechRecognizerRecorder recognizer; private File appDir; String

ActivityNotFoundException: No Activity found to handle Intent (RECOGNIZE_SPEECH)

天涯浪子 提交于 2019-12-10 09:35:17
问题 I'm trying to make an app using the voice recognizer. This is a piece of my code: public class Habla extends Activity{ private static int code = 123; ... public void escuchar() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, numberResults); startActivityForResult(intent, code); } ... } The error is the following: android.content

x-webkit-speech, how to auto click the mic icon to record many words automatically?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 04:15:08
问题 I am working on chrome browser. The code <input x-webkit-speech> will show this: if you click the mic icon, you can input speech. like this My question is how to make it record voice to recognize automatically, without manually click the mic icon ? Such as when the page loaded, it start to record; or write codes to emulate a click event? Is it possible? May you give a sample code or x-webkit-speech API's document? Thank you. 回答1: This should not be possible, because if it were it would be a

Continuous Speech Recognition on browser like “ok google” or “hey siri”

℡╲_俬逩灬. 提交于 2019-12-10 00:05:01
问题 I am doing a POC and my requirement is that I want to implement the feature like OK google or Hey Siri on browser. I am using the Chrome Browser's Web speech api . The things I noticed that I can't continuous the recognition as it terminates automatically after a certain period of time and I know its relevant because of security concern. I just does another hack like when the SpeechReognition terminates then on its end event I further start the SpeechRecogntion but it is not the best way to

Simple speech recognition from scratch

前提是你 提交于 2019-12-09 23:57:13
问题 The most alike question I found related to my question is this (simple speech recognition methods) but since had passed 3 years and the answers are not enough I will ask. I want to compute, from scratch, a simple speech recognition system, I only need to recognize five words. As much as I know, the more used audio features for this application are the MFCC, and HMM for classification. I'm able to extract the MFCC from audio but I still have some doubts about how to use the features for

USB Microphone not working with Windows IOT Core

懵懂的女人 提交于 2019-12-09 23:05:56
问题 I tried both the November 2015 release (build 10586) and the Feb 2016 Insider Preview release (build 14262), however my USB microphone is not working with Windows 10 IOT core . Scenario: I am creating a speech recognition based program using windows IOT Core. I am using Windows.Media.SpeechRecognition api for this job. When I run the program on a simulator in my Window 10 PC using Visual Studio 2015, microphone works and sound gets detected and the program functions as required. However when

Wake up android phone with certain words like Hi Galaxy or Ok Google

心已入冬 提交于 2019-12-09 16:11:26
问题 I would like to wake up an android phone by saying for example "Hello George", but could not find any useful answers. First of all , is android app needs to listen as service in background for this feature or not? I would appreciate if anyone knows how to implement this issue or have any clue. Best Regards Thank you 回答1: Hi I'm the developer of Open Mic+ http://OpenMic.RSenApps.com, which does something very similar to what you want. The truth is this is a lot more complicated than it sounds

Speech Recognition Service in Android

半城伤御伤魂 提交于 2019-12-09 13:30:06
问题 I have an Android application that uses speech recognition in an Activity. The GUI doesn't do anything except for contain the speech recognition objects. I would like to port this over to a service so I can talk to the application while it's running in the background. However, as far as I know, the speech recognition service has to use onActivityResult, which is unavailable for Services. Is there a way to either contain an Activity in a Service such that its GUI is not displayed, or perform

Programmatically importing MS Speech API speech profile

。_饼干妹妹 提交于 2019-12-09 07:11:20
问题 I have a Windows 7 computer trained to my voice, and I would like to distribute my speech profile along with a software package I have created. I know of tools such as WSRProfile.exe (http://www.microsoft.com/download/en/details.aspx?id=16296), which allow one to save and load new speech profiles. However, is there a away to implement this in my own code (C#), without requiring any external tools or applications? Thanks in advance. 回答1: You can follow the procedure described here: http:/