Comprehensive Unity VR application for heart anatomy education with AI assistant integration, optimized for Meta Quest and featuring Turkish language medical terminology support.
HeartLab VR AI is an immersive virtual reality application that revolutionizes medical education by combining:
HeartLab VR AI/
โโโ Assets/
โ โโโ Scripts/
โ โ โโโ AI/ # AI Integration
โ โ โ โโโ HuggingFaceAPI.cs
โ โ โ โโโ MedicalPromptManager.cs
โ โ โ โโโ TurkishMedicalTerms.cs
โ โ โ โโโ ResponseCache.cs
โ โ โโโ VR/ # VR Interactions
โ โ โ โโโ VRInputManager.cs
โ โ โ โโโ GazeTracker.cs
โ โ โ โโโ VoiceRecognition.cs
โ โ โ โโโ TextToSpeech.cs
โ โ โโโ HeartModel/ # 3D Heart System
โ โ โ โโโ HeartPartManager.cs
โ โ โ โโโ AnatomicalMapping.cs
โ โ โ โโโ HeartPartDetector.cs
โ โ โโโ UI/ # User Interface
โ โ โโโ VRUIManager.cs
โ โ โโโ EducationalPanel.cs
โ โโโ Prefabs/ # Unity Prefabs
โ โ โโโ HeartModel/
โ โ โโโ VR/
โ โ โโโ UI/
โ โโโ Resources/ # Data & Assets
โ โโโ MedicalData/
โ โโโ Audio/
โโโ ProjectSettings/ # Unity Configuration
โโโ Documentation/ # Project Documentation
git clone https://github.com/aydincollab/HeartLab-VR-AI.git
cd HeartLab-VR-AI
# Open Unity Hub and add the project folder
# Or open directly with Unity 2022.3 LTS
# Set environment variables
export AZURE_SPEECH_KEY="your_azure_speech_key"
export AZURE_SPEECH_REGION="westeurope"
export HUGGINGFACE_API_KEY="your_huggingface_api_key"
# File > Build Settings
# Select Android platform for Meta Quest
# Configure XR settings for your VR headset
// Get VR input manager
var vrInput = VRInputManager.Instance;
// Listen for part selection
vrInput.OnHandPointingStarted += (position) => {
Debug.Log($"User pointing at: {position}");
};
// Handle voice commands
vrInput.OnVoiceCommandDetected += (command) => {
Debug.Log($"Voice command: {command}");
};
// Send medical query to AI
var aiAPI = HuggingFaceAPI.Instance;
aiAPI.SendMedicalQuery("Sol ventrikรผl ne iลe yarar?", "sol_ventrikul");
// Handle AI response
aiAPI.OnResponseReceived += (response) => {
textToSpeech.Speak(response);
};
// Select heart part
var heartManager = HeartPartManager.Instance;
var leftVentricle = heartManager.GetPartByName("sol_ventrikul");
heartManager.SelectPart(leftVentricle);
// Get anatomical information
var mapping = GetComponent<AnatomicalMapping>();
string info = mapping.GetDetailedDescription("sol_ventrikul", "tr");
# Required for AI features
AZURE_SPEECH_KEY=your_azure_speech_key_here
AZURE_SPEECH_REGION=westeurope
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
We welcome contributions from the medical and VR development communities!
# Fork the repository
git clone https://github.com/your-username/HeartLab-VR-AI.git
cd HeartLab-VR-AI
# Create feature branch
git checkout -b feature/your-feature-name
# Make changes and commit
git commit -m "Add your feature"
# Push and create pull request
git push origin feature/your-feature-name
| Metric | Target | Achieved |
|---|---|---|
| Frame Rate | 90 FPS | โ 90 FPS |
| AI Response Time | < 2 seconds | โ 1.5s avg |
| Gaze Tracking Rate | 120 Hz | โ 120 Hz |
| Memory Usage | < 4 GB | โ 3.2 GB |
| Build Size | < 500 MB | โ 450 MB |
This project is licensed under the MIT License - see the LICENSE file for details.
This application is designed for educational purposes only and should not be used as a substitute for professional medical education or training. Always consult qualified medical professionals for clinical guidance.
Revolutionizing Medical Education Through Immersive VR and AI
Made with โค๏ธ by the HeartLab VR Team
Comprehensive Unity VR application for heart anatomy education with AI assistant integration, optimized for Meta Quest and featuring Turkish language medical terminology support.
HeartLab VR AI is an immersive virtual reality application that revolutionizes medical education by combining:
HeartLab VR AI/
โโโ Assets/
โ โโโ Scripts/
โ โ โโโ AI/ # AI Integration
โ โ โ โโโ HuggingFaceAPI.cs
โ โ โ โโโ MedicalPromptManager.cs
โ โ โ โโโ TurkishMedicalTerms.cs
โ โ โ โโโ ResponseCache.cs
โ โ โโโ VR/ # VR Interactions
โ โ โ โโโ VRInputManager.cs
โ โ โ โโโ GazeTracker.cs
โ โ โ โโโ VoiceRecognition.cs
โ โ โ โโโ TextToSpeech.cs
โ โ โโโ HeartModel/ # 3D Heart System
โ โ โ โโโ HeartPartManager.cs
โ โ โ โโโ AnatomicalMapping.cs
โ โ โ โโโ HeartPartDetector.cs
โ โ โโโ UI/ # User Interface
โ โ โโโ VRUIManager.cs
โ โ โโโ EducationalPanel.cs
โ โโโ Prefabs/ # Unity Prefabs
โ โ โโโ HeartModel/
โ โ โโโ VR/
โ โ โโโ UI/
โ โโโ Resources/ # Data & Assets
โ โโโ MedicalData/
โ โโโ Audio/
โโโ ProjectSettings/ # Unity Configuration
โโโ Documentation/ # Project Documentation
git clone https://github.com/aydincollab/HeartLab-VR-AI.git
cd HeartLab-VR-AI
# Open Unity Hub and add the project folder
# Or open directly with Unity 2022.3 LTS
# Set environment variables
export AZURE_SPEECH_KEY="your_azure_speech_key"
export AZURE_SPEECH_REGION="westeurope"
export HUGGINGFACE_API_KEY="your_huggingface_api_key"
# File > Build Settings
# Select Android platform for Meta Quest
# Configure XR settings for your VR headset
// Get VR input manager
var vrInput = VRInputManager.Instance;
// Listen for part selection
vrInput.OnHandPointingStarted += (position) => {
Debug.Log($"User pointing at: {position}");
};
// Handle voice commands
vrInput.OnVoiceCommandDetected += (command) => {
Debug.Log($"Voice command: {command}");
};
// Send medical query to AI
var aiAPI = HuggingFaceAPI.Instance;
aiAPI.SendMedicalQuery("Sol ventrikรผl ne iลe yarar?", "sol_ventrikul");
// Handle AI response
aiAPI.OnResponseReceived += (response) => {
textToSpeech.Speak(response);
};
// Select heart part
var heartManager = HeartPartManager.Instance;
var leftVentricle = heartManager.GetPartByName("sol_ventrikul");
heartManager.SelectPart(leftVentricle);
// Get anatomical information
var mapping = GetComponent<AnatomicalMapping>();
string info = mapping.GetDetailedDescription("sol_ventrikul", "tr");
# Required for AI features
AZURE_SPEECH_KEY=your_azure_speech_key_here
AZURE_SPEECH_REGION=westeurope
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
We welcome contributions from the medical and VR development communities!
# Fork the repository
git clone https://github.com/your-username/HeartLab-VR-AI.git
cd HeartLab-VR-AI
# Create feature branch
git checkout -b feature/your-feature-name
# Make changes and commit
git commit -m "Add your feature"
# Push and create pull request
git push origin feature/your-feature-name
| Metric | Target | Achieved |
|---|---|---|
| Frame Rate | 90 FPS | โ 90 FPS |
| AI Response Time | < 2 seconds | โ 1.5s avg |
| Gaze Tracking Rate | 120 Hz | โ 120 Hz |
| Memory Usage | < 4 GB | โ 3.2 GB |
| Build Size | < 500 MB | โ 450 MB |
This project is licensed under the MIT License - see the LICENSE file for details.
This application is designed for educational purposes only and should not be used as a substitute for professional medical education or training. Always consult qualified medical professionals for clinical guidance.
Revolutionizing Medical Education Through Immersive VR and AI
Made with โค๏ธ by the HeartLab VR Team