Skip to content

dorisoy/egodent

Repository files navigation

🦷 EgoDent - AI-Powered Dental Photogrammetry

Democratizing dental implant planning through accessible, smartphone-based 3D reconstruction

License: MIT Python 3.10+ Status: MVP Development


πŸ“– Overview

EgoDent is an AI-powered extraoral photogrammetry platform that enables dentists to create accurate 3D digital models from physical dental impressions, casts, or models using just a smartphone camera. By combining traditional Structure-from-Motion (SfM) techniques with modern deep learning, we aim to provide clinical-grade 3D scanning at a fraction of the cost of traditional desktop scanners.

The Problem

  • Traditional CT scans: $300-500 per scan + radiation exposure
  • Desktop dental scanners: $15,000-30,000 upfront cost
  • Lab scanning services: $20-50 per model + turnaround time
  • Limited access to affordable 3D digitization in general dental practices

Our Solution

  • Smartphone-based extraoral photogrammetry: <$10 per scan
  • AI-enhanced reconstruction: Clinical accuracy (Β±0.2mm target)
  • Cloud processing: No expensive hardware required
  • Mobile-first: Accessible to any dentist with a smartphone
  • Scan physical models, impressions, or casts anywhere

🎯 Project Status

Current Phase: MVP Development (Weeks 1-16)

  • Project planning and architecture
  • Technology stack selection
  • Baseline COLMAP implementation
  • Test dataset acquisition
  • Clinical validation study design
  • Mobile app prototype
  • Pilot program with dental practices

See STARTUP_PLAN.md for detailed roadmap.


πŸ“š Documentation

Document Description
STARTUP_PLAN.md Complete 6-month MVP roadmap, business strategy, go-to-market plan
TECHNICAL_ARCHITECTURE.md System architecture, technology stack, implementation details
QUICKSTART.md Get your first reconstruction working in <2 hours
RESEARCH_PRIORITIES.md Research questions, alternative approaches, innovation opportunities
PROMPTS.md Original business proposal and requirements

πŸš€ Quick Start

Prerequisites

  • Python 3.10+
  • 8GB+ RAM (16GB recommended)
  • GPU optional (speeds up processing)

Installation

# Clone repository
git clone https://github.com/yourusername/egodent.git
cd egodent

# Create virtual environment
cd backend
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Verify installation
python -c "import pycolmap; print('βœ… pycolmap installed')"
python -c "import open3d; print('βœ… open3d installed')"

Run Your First Reconstruction

# Generate test images from a 3D model
cd scripts
python generate_test_images.py ../datasets/test_models/dental_arch.obj

# Run reconstruction
cd ../app/pipeline
python simple_reconstruction.py ../../../datasets/test_images/synthetic

# Validate results
cd ../../scripts
python validate_mesh.py /tmp/egodent_reconstruction/final_mesh.ply

See QUICKSTART.md for detailed instructions.


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Mobile App    β”‚  React Native / Flutter
β”‚  (iOS/Android)  β”‚  - Guided photo capture
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  - Real-time feedback
         β”‚           - 3D viewer
         β”‚ HTTPS
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   API Gateway   β”‚  FastAPI
β”‚   (REST API)    β”‚  - Authentication (JWT)
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  - HIPAA compliance
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Processing     β”‚  Celery Workers
β”‚   Pipeline      β”‚  - COLMAP reconstruction
β”‚                 β”‚  - AI enhancement
β”‚                 β”‚  - Mesh processing
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Data Layer    β”‚  PostgreSQL + Redis + S3
β”‚                 β”‚  - Metadata
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  - Images & 3D models

See TECHNICAL_ARCHITECTURE.md for details.


πŸ”¬ Technology Stack

Core Reconstruction

  • pycolmap: Structure-from-Motion (SfM) and Multi-View Stereo (MVS)
  • Open3D: Point cloud and mesh processing
  • OpenCV: Image processing and marker detection

AI Enhancement (Planned)

  • SuperPoint/SuperGlue: Feature detection and matching
  • MiDaS/DPT: Depth estimation
  • PointNet++: Point cloud segmentation
  • Nerfstudio: Neural Radiance Fields (research track)

Backend

  • FastAPI: REST API framework
  • Celery: Async task queue
  • PostgreSQL: Metadata storage
  • Redis: Cache and message broker
  • AWS S3: Image and model storage

Mobile

  • React Native: Cross-platform mobile app
  • Three.js: 3D visualization
  • TensorFlow Lite: On-device AI (optional)

πŸ“Š Target Metrics

Technical

  • Accuracy: <0.2mm mean deviation from reference scans
  • Success Rate: >90% of scans produce usable models
  • Processing Time: <5 minutes per scan
  • Image Requirements: 20-30 images per arch

Clinical

  • Clinical Acceptability: >80% of dentists approve for implant planning
  • Workflow Time: <10 minutes total (capture + processing)
  • Learning Curve: <30 minutes training for new users

Business

  • Cost per Scan: <$5 (cloud processing)
  • User Satisfaction: NPS >40
  • Retention: >80% monthly active users

πŸ§ͺ Research Priorities

Phase 1: Baseline (Current)

  1. Implement traditional COLMAP pipeline
  2. Test on dental phantoms
  3. Measure baseline accuracy
  4. Document limitations

Phase 2: AI Enhancement

  1. Integrate SuperPoint/SuperGlue
  2. Semantic segmentation (teeth vs gums)
  3. Depth estimation for preview
  4. Benchmark improvements

Phase 3: Clinical Validation

  1. Partner with dental schools
  2. Scan 30-50 patients
  3. Compare against iTero/TRIOS
  4. Statistical analysis

See RESEARCH_PRIORITIES.md for detailed research roadmap.


πŸ’° Business Model

Pricing Tiers

  • Free: 5 scans/month (for evaluation)
  • Professional: $99/month (unlimited scans)
  • Enterprise: $299/month (multi-user, API access, priority support)

Revenue Streams

  1. SaaS subscriptions (primary)
  2. Per-scan pricing for occasional users
  3. Hardware sales (marker kits, optional accessories)
  4. API licensing to dental software companies

Market Opportunity

  • TAM: $4.5B dental imaging market
  • Target: 200,000+ general dentists in US
  • Growth: 8.5% CAGR

🚧 Regulatory & Compliance

FDA Classification

  • Class II Medical Device (510(k) clearance required)
  • Timeline: 12-18 months
  • Cost: $100K-300K
  • Strategy: Start with "research use only", parallel FDA submission

HIPAA Compliance

  • βœ… Encryption at rest (AES-256)
  • βœ… Encryption in transit (TLS 1.3)
  • βœ… Access controls (RBAC)
  • βœ… Audit logging
  • βœ… Business Associate Agreements

🀝 Contributing

We're currently in stealth mode and not accepting external contributions. If you're interested in collaborating, please contact us at contact@egodent.com.


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: This is a commercial project. The MIT license applies to the open-source components and research code only. The production application and proprietary AI models are not open source.


πŸ‘₯ Team

Current Team (MVP Phase)

  • Technical Lead: [Your Name] - Photogrammetry & AI
  • Full-Stack Developer: [TBD]
  • Mobile Developer: [TBD]
  • Dental Advisor: [TBD] - Clinical validation

Advisors

  • Dr. [Name] - Prosthodontist, [University]
  • [Name] - Regulatory Affairs, Former FDA
  • [Name] - Dental Tech Entrepreneur

πŸ“ž Contact


πŸ™ Acknowledgments

Open Source Projects

Research

  • ETH Zurich - COLMAP development
  • Magic Leap - SuperPoint/SuperGlue
  • NVIDIA - Instant-NGP
  • Intel - MiDaS depth estimation

Datasets

  • 3DTeethSeg - Dental segmentation dataset
  • TeethSeg3D - 3D tooth dataset

πŸ“ˆ Roadmap

Q1 2025: MVP Development

  • Project planning
  • Baseline implementation
  • Test dataset acquisition
  • First successful reconstruction

Q2 2025: Validation

  • Clinical validation study
  • Pilot program (10 dentists)
  • Mobile app beta
  • FDA pre-submission meeting

Q3 2025: Soft Launch

  • Launch to 50-100 early adopters
  • Gather clinical data
  • Iterate based on feedback
  • FDA 510(k) submission

Q4 2025: Scale

  • FDA clearance
  • Commercial launch
  • Sales team expansion
  • Integration partnerships

πŸŽ“ Learn More

Papers

Tutorials

Courses


⚠️ Disclaimer

This software is currently in development and is NOT approved for clinical use. It is intended for research and development purposes only. Do not use this software for patient diagnosis or treatment planning without proper regulatory approval.


🌟 Star History

If you find this project interesting, please consider starring it on GitHub!

Star History Chart


Built with ❀️ by the EgoDent team

Making dental implant planning accessible to every dentist, everywhere.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages