How To Implement Real-Time Voice Translation In Unity With HoloLens 2
Вставка
- Опубліковано 15 жов 2024
- In today's mixed reality video I show you a real-time voice translation prototype I created for the HoloLens 2, this prototype uses Microsoft Cognitive Services Speech Translation to get the voice from the built-in microphone, send it to azure, and display the translated results in a MRTK window.
You can download the SpeechSDK for Unity here:
github.com/Azu...
Also the example shown in this video is available in Patreon today with "Early Access To Source Code" tier / dilmerv
Device sponsored by Enklu www.enklu.com
Recommended Unity Asset For Today is "VR Interaction Framework"
assetstore.uni...
** Support me by Subscribing to the channel as it will help me in bringing a lot more content **
bit.ly/2NmnFMu
Get realtime indie development tips from me in Twitter
/ dilmerv
Subscribe to my indie development videos & game releases newsletter
www.dilmergame...
Blog about Indie development and startup
www.dilmergame...
In the next video I plan to add more options and update the menu to use a hand tracking menu for quick language selection, also if you want to see more prototypes with mixed reality let me know in the comments below !
Thanks everyone
Great!! I always think that voice-based interaction is the best interaction
Thanks and I agree ! voice makes it so easy to work with :)
Great, now I only need a Hololens! :)
Cool and this works in the Unity editor with the simulator as well ! thanks for your comment :)
where did you find the GUI from the MRTK demos? Somehow I can't find it. Thanks
Hi Dilmer! I got a project that involves detecting objects with Hololens2 and the user needs to put the object in a simple box and the program detects that the object is in the box. Do you have any ideas how can i detect a real object using HoloLens2?
Hi, I want to apply this technology to make an utility that can help the people to enjoy movies created with other language voice can be listened in their own language. can we work together for this venture?
Thank you for your kind comment and hopefully you found someone to help you out !
This feature must be required in anywhere, if not we have a hard time typing in the air.
Absolutely 🔥
funciona con la primera versión de hololens?
En realidad no lo he probado con la primera versión, pero podrías intentar ;)
Nice Video, keep it up!
Can you show us how to implement the other way around - text to speech?
I used a sample, but I only get it to work in Unity, if I build it into the HL2 I'll get a connection failure and no audio.
greetings!
Great idea and thanks for your feedback !
SpeechSDK link is out of date
Thanks for the info, I just updated it and you can also find it here github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/unity/virtual-assistant
Is there a similar speech-to-text solution that would work for Oculus Quest 2?
Yes I did the same for Oculus with MRTK github.com/dilmerv/MRTKOculusQuest2VoiceTranslator
@@dilmerv Cool! Thank you, I will check it out!
hello where to find this example code Thank you
The demo is available here github.com/dilmerv/HoloVoiceTranslator but more likely it needs to be updated at this point.