Python Pocketsphinx: Keyword isn't recognised when using Decoder class
问题 I'm trying to detect a keyword from a .wav file using Pocketsphinx, specifically with the decoder class. When I give it this .wav file and print what it detects it isnt even close. Here is the code: import pocketsphinx as ps import requests import json import sys, os import subprocess model_path = ps.get_model_path() data_path = ps.get_data_path() print("start") print(os.getcwd()) subprocess.call("sox -V4 /home/miro/client_audio.wav -r 16000 -c 1 client_audio.wav", shell=True) config = ps