에서 골격 데이터를 추적 할 수 KINECT SDK를 얻을 수 없다 내가 함께 음성 인식을 사용할 수 마녀의 프로그램 ..나는 음성 인식을하고 I '는 SIME 시간
RecognizerInfo ri = GetKinectRecognizer();
speechRecognitionEngine = new SpeechRecognitionEngine(ri.Id);
// Create a grammar from grammar definition XML file.
using (var memoryStream = new MemoryStream(Encoding.ASCII.GetBytes(fileContent)))
{
var g = new Grammar(memoryStream);
speechRecognitionEngine.LoadGrammar(g);
}
speechRecognitionEngine.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(speechEngine_SpeechRecognized);
speechRecognitionEngine.SpeechRecognitionRejected += new EventHandler<SpeechRecognitionRejectedEventArgs>(speechEngine_SpeechRecognitionRejected);
speechRecognitionEngine.SetInputToAudioStream ( 센서를했습니다. AudioSource.Start(), 새로운 SpeechAudioFormatInfo (EncodingFormat.Pcm, 16000, 16, 1, 32000, 2, null));
speechRecognitionEngine.RecognizeAsync(RecognizeMode.Multiple);
.. 벌금과 SpeechRecognized 이벤트가 올바르게 해고 작업
all'is ..
문제는 내가 골격 데이터 추적을 anable 때,,
sensor.SkeletonStream.Enable();
sensor.SkeletonStream.TrackingMode = SkeletonTrackingMode.Seated;
sensor.SkeletonFrameReady += sensor_SkeletonFrameReady;
음성 인식 작업을 중지 ...
도와 드릴까요?
정말 고마워요!
? 음성 인식과 골격 추적기 모두 처리 능력이 뛰어납니다. CPU 사용량이 너무 많을 수 있습니다. –
그것은 macbooc 프로 13 인치 – user322416
그냥 추적을 활성화하거나 당신의 애플 리케이션을 교수형 수있는 해골 프레임 뭔가 다른 일을하고 있습니까? –