A comprehensive web application for forensic dental analysis, image enhancement, and dental identification using AI-powered image processing.
The Forensic Dental AI System assists forensic odontologists and dental professionals in analyzing dental X-rays for identification purposes. It offers advanced image processing, automated tooth detection, and professional forensic reporting capabilities.
- Multiple Degradation Simulations: Simulate thermal, water, or trauma damage to dental X-rays
- AI-Powered Enhancement: Enhance contrast and sharpness for degraded images
- Real-time Processing: Instant image transformation and analysis
- Automated Tooth Detection: Identifies individual teeth in X-rays
- Condition Assessment: Classifies teeth (healthy, filled, crowned, root canal, etc.)
- Confidence Scoring: Provides confidence levels for all analyses
- Comprehensive Metrics: Image clarity, forensic utility, identification confidence
- Professional Reports: Generates detailed forensic analysis reports
- Legal Admissibility: Assesses evidence suitability for legal use
- Step-by-Step Workflow: Evidence preparation → Enhancement → Analysis → Reporting
- Image Library: Pre-loaded dental X-ray samples
- File Upload: Supports JPG, JPEG, and PNG formats
- Python 3.8+
pippackage manager
-
Clone the repository:
git clone <your-repository-url> cd forensic-dental-ai
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
-
Open http://localhost:8501 in your browser.
forensic-dental-ai/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── README.md # This file
├── LICENSE # License information
├── bitewing_1.jpg # Sample dental X-ray
├── degraded_sample.jpg # Sample degraded image
├── panoramic_1.jpg # Sample panoramic X-ray
└── periapical_1.jpg # Sample periapical X-ray
The system uses Pillow and NumPy for advanced image processing:
- Gaussian blur for degradation simulation
- Contrast and sharpness enhancement
- Dynamic analysis based on actual image properties
- Unique fingerprint generation for each image
- Dynamic dental condition detection
- Forensic utility scoring algorithms
- Built with Streamlit for responsive web interface
- Multi-tab workflow for organized analysis
- Real-time feedback and progress indicators
- Evidence Preparation: Load a dental X-ray from the library or upload your own
- Apply Degradation: Simulate various types of damage to the image
- AI Enhancement: Process the degraded image to improve quality
- Dental Analysis: View automated tooth detection and condition assessment
- Generate Report: Create a professional forensic report for legal use
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Dental X-ray samples from open-source repositories
- Streamlit for the excellent web framework
- Pillow and NumPy for image processing capabilities