Delayed Speech Recognition

Dominik Rausch 0 Reputation points
2024-03-11T12:14:23.62+00:00

I am developing an application that uses speech recognition on the hololens.

I'm using Unity 2022.3 with MRTK 2.8.

Everything works fine if I run the application from visual studio (as explained here: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2). However, if I start the application directly from the Hololens (either after installing it from an app package, or using the deploy from visual studio), speech recognition is very laggy. There is a delay of several seconds between saying a phrase and its resulting recognition event.

I already tried running without online speech service, with disconnected Wifi, and I already reset the device, but the issue persists.

Anybody got an idea how to fix this?

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
380 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ying Li - MSFT 725 Reputation points Microsoft Vendor
    2024-03-22T07:40:32.8333333+00:00

    Hello, Welcome to Microsoft Q&A,

    I have tested official voice command sample (The SpeechInputExample scene in MRTK/Examples/Demos/Input/Scenes/Speech). The sample functioned as expected after being deployed to HoloLens and I didn’t reproduce your issue.

    My environment:

    Unity 2021.3.27f1

    Visual Studio 2022

    MRTK 2.8.3

    Mixed Reality Open XR 1.9.0

    You can try this sample with Unity 2021.3 LTS (recommend version). If this issue persists, it could potentially be a hardware-related problem. In such a case, consider testing it on a different device.

    To acquire MRTK 2 examples scenes, please refer to Example scenes - MRTK 2 | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments