AI-powered mobile wound assessment with 3D reconstruction and medical-grade precision
Clinical Challenge: Traditional wound assessment suffers from 44% measurement errors, subjective documentation, and lacks 3D analysis capabilities, leading to treatment delays and poor patient outcomes.
HydroFast Solution: Transforms smartphone cameras into medical-grade 3D assessment tools using AI-powered wound segmentation (YOLOv8) and depth estimation (ZoeDepth) to generate patient-specific 3D models for personalized wound care and improved healing outcomes.
- YOLOv8 Segmentation: IoU: 0.721, Dice: 0.838, Pixel Accuracy: 99.7%
- Complete Pipeline: 65-75 seconds (YOLO: 656ms, ZoeDepth: 63s, STL: 11s)
- Clinical Impact: 44% measurement improvement, 75% faster documentation
- 3D Output: ~30,000 vertices, STL files ready for 3D printing
- Frontend: React Native 0.76.9 + Expo SDK 52 (59MB bundle, <3s startup)
- Backend: Django 5.1.3 + REST Framework (60-420ms API responses)
- AI Models: YOLOv8 (Ultralytics) + ZoeDepth (PyTorch)
- Database: SQLite (dev) / PostgreSQL (prod) with <50ms queries
- 3D Processing: NumPy-STL mesh generation with automatic cleanup
- Securely manage patient records with full CRUD functionality on a cross-platform mobile app with comprehensive history tracking.
- Transform smartphone images into medical-grade 3D models using AI-powered wound segmentation and depth estimation to generate detailed STL files for analysis.
- Experience the full clinical workflow, from patient creation to final 3D model generation. The platform automates measurements and securely stores all data, including the exported STL files, in the patient's history.
- Authentication & Dashboard: Clean medical app design with role-based access
- Patient Management: Comprehensive CRUD operations with search, edit, and history tracking
- AI Processing Screens: Real-time progress indicators with technical visualizations and metrics
- 3D Visualization: Static mesh previews with technical specifications
- File Management: Individual file downloads (STL models, preview images) with patient-centric organization and automatic cleanup
- Session Management: UUID-based processing with secure temporary file handling
- Cross-Platform Consistency: Feature parity between iOS/Android platforms
- Medical UI/UX: Healthcare-focused design patterns with accessibility considerations
- Performance Optimization: Smart caching and offline capability
- Professional Aesthetics: Clean, medical-grade interface suitable for clinical environments
- Individual File Downloads: Each file (STL models, preview images, depth maps) downloads separately through the device's default browser/app
- Download All Feature: Sequential download of all available files with 1-second delays between downloads
- File Access: Direct URL-based downloads using
Linking.openURL()for cross-platform compatibility - Patient Organization: Files organized in patient-specific directories for easy management
- Navigation: React Navigation 6 with optimized stack management
- State Management: React hooks with context API
- Network: Smart caching with offline capability
- Processing: Session-based pipeline with comprehensive automatic temp file cleanup
- Concurrency: Multiple simultaneous processing sessions with isolated temporary storage
- Session Manager: UUID-based temporary file management with automatic cleanup of all temp directories (
generated_stl,stl_previews,processed_scans, sessions) and error-safe operations ensuring zero temp accumulation - API Architecture: RESTful endpoints with granular AI processing steps for step-by-step workflow
- Database: SQLite development with PostgreSQL production support and patient-centric file organization
- Depth Estimation: ZoeDepth monocular depth estimation from smartphone images
- Wound Segmentation: Advanced computer vision for precise tissue analysis
- 3D Generation: Mesh processing with STL export
- Storage: Organized patient-centric file structure
- Testing: Comprehensive test suite with 95% coverage
- Deployment: Docker-ready with environment configuration
- Python 3.8+ with pip
- Node.js 16+ with npm
- Git for repository cloning
git clone https://github.com/your-username/HydroFast.git
cd HydroFast
# Create and activate virtual environment
python -m venv .venv-win
.venv-win/Scripts/activate
# Install backend dependencies
cd backend
pip install -r requirements.txtCreate a .env file in the project root directory (/HydroFast/.env):
# Required for creating default admin and user accounts
DEFAULT_ADMIN_PASSWORD=your_secure_admin_password
DEFAULT_USER_PASSWORD=your_secure_user_password# Initialize database and create users with passwords from .env
python manage.py migrate
python manage.py create_default_user
python manage.py load_sample_patients# Get your IP address
ipconfig
# Note your IPv4 address (e.g., 172.30.1.3)Create a separate .env file in the frontend/ directory:
API_BASE_URL=http://YOUR_IP_ADDRESS:8000
# This can be the same as DEFAULT_USER_PASSWORD
BACKEND_PASSWORD=your_secure_user_passwordcd backend/scripts
python run_server.py
# Server will start at http://YOUR_IP:8000cd frontend
npm install
npx expo start
# Scan QR code with Expo Go app on mobile deviceHydroFast features detailed logging across both frontend and backend for comprehensive monitoring and debugging:
Backend Logging:
π΅ [2025-08-03 13:45:21,925] INFO - apps.ai_processing.session_manager: Session directory ready
π΅ [2025-08-03 13:45:28,783] INFO - apps.ai_processing.processors.wound_detector: Successfully processed segmentation mask
π΅ [2025-08-03 13:45:41,861] INFO - apps.ai_processing.processors.zoedepth_processor: Successfully loaded ZoeD_NK model
π΅ [2025-08-03 13:46:09,796] INFO - apps.ai_processing.session_manager: Total temp cleanup completedFrontend Logging:
(NOBRIDGE) LOG [PatientService] β
Successfully fetched 20 patients (took 115ms)
(NOBRIDGE) LOG [ProcessingScreen] API call for depth_analysis successful
(NOBRIDGE) LOG [MeshDetectionScreen] Complete AI processing pipeline finished!- Real-time monitoring of API calls, processing steps, and user interactions
- Performance tracking with execution times and resource usage
- Session management logging for UUID-based temporary file handling
- Error tracking with detailed stack traces and context information
- Local Backend Architecture: Requires same Wi-Fi network between mobile app and local server
- Cloud Scalability: Current local deployment needs cloud infrastructure for multi-user production
π¨βπΌ AI Engineer: Anse Min | π§ ansemin1025@gmail.com
π¬ For Medical Professionals & Researchers:
- Clinical trial collaborations welcome
- Research data sharing agreements available
- Custom feature development for specific medical workflows
πΌ For Healthcare Organizations:
- Enterprise deployment and training
- HIPAA compliance and security auditing
- Integration with existing EMR systems
HydroFast is designed for educational and research purposes. Always consult qualified healthcare professionals for medical decisions. This software is not FDA approved for clinical diagnosis.














