Glaucoma AI is an Android application that leverages machine learning to assist in glaucoma detection from eye images. Users can capture or select images of their eyes, input demographic information, and receive instant analysis powered by a TensorFlow Lite model.
- Kotlin & Java (Android development)
- Android Jetpack (Data Binding, View Binding, ConstraintLayout, CameraX)
- Material Components (UI/UX)
- Hilt for dependency injection
- TensorFlow Lite for on-device machine learning
- ML Kit – Face Detection
- Retrofit & OkHttp for networking
- Glide for image loading
- Gradle (build system)
-
Clone the repository:
git clone https://github.com/KrishNachnani/glaucoscan-android.git
-
Open in Android Studio:
- Launch Android Studio.
- Select Open an existing project and choose the cloned folder.
-
Configure dependencies:
- Ensure you have the latest Android SDK and build tools installed.
- Gradle will sync and download dependencies automatically.
-
Add TensorFlow Lite model:
- Place your
.tflite
model file (e.g.,glaucoma_model.tflite
) in theapp/src/main/assets
directory.
- Place your
-
Run the app:
- Connect your Android device or start an emulator.
- Click Run in Android Studio.
- Launch the app.
- Enter your age, gender, and ethnicity (optional).
- Capture or select an eye image (right or left).
- Submit the form to analyze for glaucoma.
- View results and confidence score.
This project is for educational and research purposes. See the repository for license details.