--- title: Cornea AI Pentacam Analyzer emoji: 👁️ colorFrom: blue colorTo: indigo sdk: streamlit sdk_version: 1.31.0 app_file: app.py pinned: false --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # Cornea AI Pentacam Analyzer Advanced corneal analysis and diagnostics tool developed by Dr. Verónica Gómez Calleja, cornea specialist. ## Features - Comprehensive Pentacam scan analysis - Support for multiple file formats (PDF, PNG, JPG, JPEG) - Patient history and clinical data management - Comparative analysis between timepoints - Advanced corneal disease diagnostics including: - Keratoconus assessment using ABCD staging - Fuchs Endothelial Corneal Dystrophy (FECD) evaluation - Subclinical corneal edema detection using Sun criteria ## Setup 1. Install Python 3.8 or higher 2. Install dependencies: ```bash pip install -r requirements.txt ``` 3. Create a `.env` file with your Google API key: ``` GOOGLE_API_KEY=your_api_key_here ``` 4. Run the application: ```bash streamlit run app.py ``` ## Usage 1. Enter patient information and clinical history 2. Upload Pentacam scans (supported formats: PDF, PNG, JPG, JPEG) 3. Choose between single timepoint analysis or comparison between timepoints 4. Review the AI-powered analysis results ## Note This tool is designed to assist medical professionals in their analysis and decision-making process. It should not replace professional medical judgment.