All Projects → peted70 → Mr Realtime Translator

peted70 / Mr Realtime Translator

Licence: mit
Real-time translation services in Mixed Reality. Core pieces to get audio from the mic in Unity and stream over a websocket to the Azure Translator API and process the responses - as you speak!

Projects that are alternatives of or similar to Mr Realtime Translator

Dxr
DXR is a Unity package for rapid prototyping of immersive data visualizations in augmented, mixed, and virtual reality (AR, MR, VR) or XR for short.
Stars: ✭ 134 (+509.09%)
Mutual labels:  unity, hololens, mixed-reality
Hololenswithopencvforunityexample
HoloLens With OpenCVforUnity Example
Stars: ✭ 142 (+545.45%)
Mutual labels:  unity, hololens, mixed-reality
Mixedrealitytoolkit Unity
Mixed Reality Toolkit (MRTK) provides a set of components and features to accelerate cross-platform MR app development in Unity.
Stars: ✭ 4,817 (+21795.45%)
Mutual labels:  unity, hololens, mixed-reality
Holoviveobserver
Shared Reality: Observe a VR session from the same room using a HoloLens!
Stars: ✭ 126 (+472.73%)
Mutual labels:  unity, hololens, mixed-reality
KEYSDK-WH
Simplified mapping with KEY SDK.
Stars: ✭ 12 (-45.45%)
Mutual labels:  hololens, mixed-reality
Hololenscamerastream
This Unity plugin makes the HoloLens video camera frames available to a Unity app in real time. This enables Unity devs to easily use the HoloLens camera for computer vision (or anything they want).
Stars: ✭ 233 (+959.09%)
Mutual labels:  unity, hololens
SpatialAlignment
Helpful components for aligning and keeping virtual objects aligned with the physical world.
Stars: ✭ 29 (+31.82%)
Mutual labels:  hololens, mixed-reality
HoloLensWithDlibFaceLandmarkDetectorExample
HoloLens With DlibFaceLandmarkDetector Example
Stars: ✭ 19 (-13.64%)
Mutual labels:  hololens, mixed-reality
hololens-terrain-viewer
Holographic mapping powered by ArcGIS
Stars: ✭ 36 (+63.64%)
Mutual labels:  hololens, mixed-reality
MixedRealityResources
Mixed Reality related resources
Stars: ✭ 190 (+763.64%)
Mutual labels:  hololens, mixed-reality
Mapssdk Unity
This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
Stars: ✭ 307 (+1295.45%)
Mutual labels:  unity, mixed-reality
Livescan3d Hololens
A Unity application for receiving and rendering point clouds on Hololens and other devices.
Stars: ✭ 459 (+1986.36%)
Mutual labels:  unity, hololens
Xrtk Core
The Official Mixed Reality Framework for Unity
Stars: ✭ 219 (+895.45%)
Mutual labels:  unity, mixed-reality
Hololens facial recognition
A Unity hololens app to detect faces and display their attributes
Stars: ✭ 217 (+886.36%)
Mutual labels:  unity, hololens
MixedRealityToolkit
Evergine.MRTK provides a set of components and features to accelerate cross-platform XR application development in Evergine.
Stars: ✭ 32 (+45.45%)
Mutual labels:  hololens, mixed-reality
Simple Webxr Unity
⭐ Bringing WebXR to Unity 3D with 3 files ! B-)
Stars: ✭ 215 (+877.27%)
Mutual labels:  unity, hololens
Holobot
HoloLens bot demo
Stars: ✭ 26 (+18.18%)
Mutual labels:  hololens, cognitive-services
Mixedreality Webrtc
MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
Stars: ✭ 568 (+2481.82%)
Mutual labels:  unity, hololens
Ar Vrcourse
VR,AR,MR 开发入门教程
Stars: ✭ 298 (+1254.55%)
Mutual labels:  hololens, mixed-reality
Mixedrealitycompanionkit
This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
Stars: ✭ 522 (+2272.73%)
Mutual labels:  hololens, mixed-reality

Mixed Reality Real-time Translator

Note that this repository includes the Mixed Reality Toolkit for Unity as a submodule. See instructions here https://github.com/mtirion/MRTKAsSubModule if you are not familiar with submodules or their use in a Unity project.

alt tag

A quick guide of the different Unity components and how they can be used together and reused. For a detailed description see http://peted.azurewebsites.net/mixed-reality-real-time-translator/

Unity Components

Microphone Audio Getter

This script is the one that retrieves the audio data from the microphone. You can set the sample rate and chunk size here. Currently it takes the signed float audio data procided by Unity and converts it to signed 16bit PCM data as required by the Translator API. This could be extended to support more formats if required.

alt tag

The output can be routed to another component which implements the AudioConsumer abstract class. There are two of those in the project; one to send the data to the Translator API (Translator API Consumer) and another to save the data into a WAV file (for testing).

Translator API Consumer

This component handles all communication with the Translator API including the Authentication, streaming the Audio data over the WebSocket connection and retrieving the textual and audio responses. To and From languages can be set here along with a selection of voices for the resulting audio file. Note - although there is a key there I have disabled it so you will need to sign up for your own key which you can do using the instructions here https://www.microsoft.com/en-us/translator/trial.aspx#get-started

alt tag

Again, components can be plugged in to respond to the responses from the Translator API. These are plugged in with the AudioReceivedHandler and TextReceivedHandler abstract classes. There are implementations for those in the sample and they look like this:

alt tag

For further details see http://peted.azurewebsites.net/mixed-reality-real-time-translator/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].