Palpation Training
-
Open the Unity project.
-
Open the Scene in Unity
Assets/Scenes/Palpation22222
(This scene is the modification version of thePalpation
Scene from the original git PalpationTraining.git ) -
Change the HoloLens IPv4 address in the python script
Assets/Scripts/PatientDialogGPT.py
:ip = "your hololens ipv4 address" port = 5000
-
Change the Microsoft Cognitive Speech Service API key and Service Region in
Assets/Scripts/HoloLensClient.cs
:// Microsoft Cognitive Speech Service public string SpeechServiceAPIKey = "your speech service api key"; public string SpeechServiceRegion = "your service region";
-
The TCP connection between HoloLens and GPT is on scripts
HoloLensClient.cs
andPatientDialogGPT.py
in directoryAssets/Scripts
. -
Build the project on ARM64 and Local Machine in Build Settings in Unity.
-
Run the build in Visual Studio.
-
After successfully deploy and build the project on HoloLens, run the python script
PatientDialogGPT.py
to get connection with HoloLens. (GPT API might be malfunctioning occasionally)