unicorn-yh / PalpationTraining-v1

Palpation Training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palpation-Training-v1

Palpation Training


Run the project

  1. Open the Unity project.

  2. Open the Scene in Unity Assets/Scenes/Palpation22222 (This scene is the modification version of the Palpation Scene from the original git PalpationTraining.git )

  3. Change the HoloLens IPv4 address in the python script Assets/Scripts/PatientDialogGPT.py :

    ip = "your hololens ipv4 address"
    port = 5000
  4. 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";
  5. The TCP connection between HoloLens and GPT is on scripts HoloLensClient.cs and PatientDialogGPT.py in directory Assets/Scripts .

  6. Build the project on ARM64 and Local Machine in Build Settings in Unity.

  7. Run the build in Visual Studio.

  8. 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)

About

Palpation Training


Languages

Language:C# 64.8%Language:ShaderLab 17.2%Language:GLSL 10.1%Language:Objective-C 2.7%Language:HLSL 2.2%Language:Python 2.2%Language:C++ 0.9%Language:Batchfile 0.0%