Questions tagged [pocketsphinx-android]

PocketSphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.

CMUSphinx is an open-source toolkit for speech recognition. Pocketsphinx is one of the decoders provided by CMUSphinx specifically targeted on mobile platforms like Android.

This tag is for questions related to problems running Pocketsphinx decoder on Android platform.

To get more information on pocketsphinx on android, see https://cmusphinx.github.io/wiki/tutorialandroid/.

109 questions
0
votes
1 answer

Audio processing never starts in pocketsphinx-android

I've been trying to implement speech recognition on android-driven smart-glasses Vuzix M300 (there's a built-in solution already, but it doesn't support the language I need). I'm trying to run just a pocketsphinx-android demo-app (which in that very…
0
votes
1 answer

What are the steps for getting the pocketSphinx android demo to work?

I have simply cloned the demo project from the cmuSphinx site into android studio as the instructions say, but the project fails to build and run. Can someone list a step by step guide for getting the demo to run properly?
user4162732
0
votes
1 answer

Noise Reduction in pocketsphinx android

I am currently working on my bachelor thesis and I want to use pocketsphinx for hotword detection including noise reduction to make it work in noisy environment. For that I downloaded the up to date pocketsphinx-android-demo, modified some things…
Jean
  • 1
0
votes
1 answer

Keywords spotting: hypotesis is null until it is exactly one of the keyword you are looking for

I'm using onPartialResult method to look if the hypotesis is one of the keyword I'm interested in and it works well. Here's my code: @Override public void onPartialResult(Hypothesis hypothesis) { Log.d(TAG, "onPartialResult"); if…
0
votes
1 answer

Use Pocketsphinx Demo on Android with Studio 2.3.1

I would like to test the Pocketsphinx Demo by from VCS, in Studio 2.3.1 I've clone the project using VCS/github with the project URL http://github.com/cmusphinx/pocketsphinx-android-demo But when I run it the minimum SDK is 24 Is it possible to run…
0
votes
0 answers

PocketSphinx on Android recognises words even if they aren't spoken

I am using PocketSphinx for android-23. I want to code an offline assistant for one of my apps. I have successfully used recognizer.addKeyphraseSearch to initialize the assistant. For eg. In this case I say "Hello" to initialize it. this is my…
0
votes
1 answer

Pocketsphinx takes too much battery on android

I am using pocketsphinx to spot a keyword continuously in a service. The problem is, it takes up a huge amount of battery, making the app completely unusable for an average user. Well, the original code is in B4A, but this is how it will…
0
votes
1 answer

What is the meaning of switchSearch() method, KWS_SEARCH attribute, and parameter of startListening() method, in the demo project?

All the questions are related to the demo project in android for pocketsphinx, given on the official site of CMUSphinx. I don't understand what the method switchSearch() really does. The method is using KWS_SEARCH="wakeup" attribute, what is the use…
0
votes
1 answer

Split hypothesis on individual keyphrases

I use Pocketsphinx in my Android app. I have a relatively small set of commands to be recognized independently, so I ended up using a keyword search from a file that looks like this: one/1.0/ done/1.0/ recognition on/1e-10/ recognition…
SqueezyMo
  • 1,606
  • 2
  • 21
  • 34
0
votes
2 answers

How can I tell Android Studio NOT to look in the jniLibs folder for a specific library?

I'm new to android studio and am working on an existing project that is using OpenCV. I need to implement CMU's Pocketsphinx for Android, and in following the installation steps they give I have created a jniLibs folder in my /src directory of my…
0
votes
1 answer

PocketSphinx on Android setKeywordThreshold() issue

I would like to lower the threshold via setKeywordThreshold() method. The default value of this in the official demo app is 1e-45. I was told that the minimal value could be 1e-200. See this article:…
Kevin Kuei
  • 193
  • 2
  • 17
0
votes
1 answer

Pocketsphinx: App doesnt start

i got a problem with PocketSphinx, whenever i execute that Code, the app automatically shuts down. As i already try to figure out why it doesnt work for hours , maybe someone can help me? :) so far the code looks like this, Main: public class…
JaBe
  • 13
  • 2
0
votes
0 answers

Incorrect alarm raised by pocketsphinx in android

I have implemented pocketsphinx in my my android application to recognize voice command and create some custom dictionary and words to recognize. Here is my implementation: private void setupRecognizer(File assetsDir) throws IOException { …
user526206
0
votes
1 answer

CMU PocketSphinx Recognize a dynamically entered word

Is there a method in pocketSphinx library, which would allow me to take input a word [name,nickname] as text from the user and then it can recognize it when that word is said. The flow would be - user inputs the word, then start the recognizer and…
Piyush dhore
  • 641
  • 1
  • 9
  • 16
0
votes
1 answer

Google recognizer and pocketsphinx in two different classes, how to loop them?

Yesterday i ask a simplified question of my problem, but think its too simplified. What my programm should do, is to hear a keyword and when he hear it, he should listen to what i said. (like if you told to siri or google now, by saying siri or ok…