Comments (7)
Check out the Microsoft docs for instructions: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-voice-input
from microsoft-openxr-unreal.
Check out the Microsoft docs for instructions: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-voice-input
Yeah, I saw this docs and it's not what i'm asking for. I want to get a recognized phrase from plugin not by speech mapping. I'm trying to send phrase in string form
from microsoft-openxr-unreal.
Gotcha! While dictation isn't supported by the Microsoft OpenXR plugin out of the box, dictation is supported via the SpeechRecognizer WinRT API. We use the same WinRT API to get keywords in the Microsoft OpenXR plugin, so one option would be for you to copy/paste our code and make some small changes to use dictation instead of keywords, then surface that dictated text to your game.
Here is the Microsoft OpenXR plugin code that calls the WinRT speech recognizer with a Keywords constraint in order to recognize keywords: https://github.com/microsoft/Microsoft-OpenXR-Unreal/blob/main/MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/SpeechPlugin.cpp#L203
The ResultGenerated just has the keyword: https://github.com/microsoft/Microsoft-OpenXR-Unreal/blob/main/MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/SpeechPlugin.cpp#L248
Here is an example of code that uses that same SpeechRecognizer with a dictation constraint:
https://github.com/microsoft/Windows-universal-samples/blob/master/Samples/SpeechRecognitionAndSynthesis/cpp/Scenario_ContinuousDictation.xaml.cpp#L101
Then the ResultGenerated callback will have the dictated text instead of the keyword: https://github.com/microsoft/Windows-universal-samples/blob/master/Samples/SpeechRecognitionAndSynthesis/cpp/Scenario_ContinuousDictation.xaml.cpp#L353
from microsoft-openxr-unreal.
Thank you!! It looks like exactly what i'm looking for! I'll try this. And thank you for a such detailed guide!
from microsoft-openxr-unreal.
You're welcome, glad to be able to help!
from microsoft-openxr-unreal.
Hi, I am trying to do the same as @Pecka95 described: I need a functionality as the dictation mode (not speech mapping), but I'm not sure how to include it on my app.
I was following the files you provided and I was able to test the speechRecognitionAndSyntesis app on the Hololens device and it is exactly what I need; however, I'm having hard time figuring out how to include it on an app created directly on Unreal.
Could you please guide me with this? or does it work just for UWP apps?
from microsoft-openxr-unreal.
@Pecka95, have you been able to successful implement the above approach? We are looking for a similar implementation
from microsoft-openxr-unreal.
Related Issues (20)
- Very bad performance when remoting on UE 5.1 (In Editor)
- Support LOD and better spatial mesh quality in Scene Understanding
- Unnecessary Plane Updates when using spatial mapping.
- Audio capture feature in LocatableCamPlugin?
- Crashes with GPUScene
- Crash When Creating Standalone Game
- 5.0.3 Compile error
- Hololens2 Mixed reality capture (MRC) HologramTransparency
- Support for UE 5.2? HOT 22
- How to add a gesture controller in multiplayer?
- QR Detection HOT 2
- Can't get Tracking State [UE5] HOT 2
- Crashes under stress [UE5] HOT 3
- Handtracking problems with long Sleeves [UE5]
- Spatial mapping/Scene Understanding cannot generate collision for Mesh Data HOT 3
- [Question] Best material practice for Hololens
- Update EARObjectClassification in Unreal Engine to include the ObjectTypes for Scene Understanding
- How to do the equivalent of enabling EnableSceneObjectMeshes and EnableWorldMesh according to the docs
- Holographic Streaming with package executable (UE v5.1)
- UE5.1 Spatial Mapping/ Scene Understanding, bad triangles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-openxr-unreal.