Abstract
Keratoconus is a progressive corneal disease that requires early and accurate detection to prevent severe visual impairment. This study presents a deep learning-based classification model for distinguishing between healthy and keratoconic eyes using dynamic corneal imaging data from the CORVIS system. A hybrid CNN-RNN architecture was developed, combining a fine-tuned InceptionV3 network for spatial feature extraction with a recurrent LSTM module to capture temporal patterns across image sequences. To ensure robust evaluation, a 10-fold stratified cross-validation strategy was employed, with data splits performed at the patient level to avoid data leakage. The model achieved an average accuracy, precision, recall, and F1-score of approximately 0.90 across folds, demonstrating strong generalization performance. Boxplot visualizations of metric distributions further confirmed model stability and revealed minimal performance variance. Class-wise analysis showed high effectiveness in detecting both healthy and keratoconic cases, although slightly greater variability was observed in the classification of healthy eyes. These results indicate that the proposed method is a promising tool for keratoconus screening and may complement existing diagnostic workflows. Further validation on external datasets is recommended prior to clinical deployment.
Keywords: Deep learning, Keratoconus, Cornea, Biomechanics, CNN-RNN, Fuzzy logic
Subject terms: Corneal diseases, Machine learning
Introduction
The cornea is the crucial element of the refractive system of the eye, accounting for its 70% of the total refractive power. The quality of vision depends on its shape and transparency, as well as on the stability and integrity of the corneal structure, which result from the biomechanical properties of the cornea1,2. They determine its response to stress and deformation. This process depends on the cornea’s viscoelastic properties. Cornea can be considered as complex biomechanical composite. The corneal stroma, accounting for more than 90% of its thickness, consists of 300–500 lamellar sheets made of unbranched collagen fibrils stretching across the entire cornea from limbus to limbus. Every sheet has a very regular organization: all fibrils are parallel to each other and regularly spaced3,4.
Biomechanical properties of the cornea are important for intraocular pressure (IOP) measurement, and play a role in such clinical conditions as keratoconus, corneal refractive surgery, and glaucoma5.
Keratoconus is a progressive, non-inflammatory disorder of the cornea characterized by thinning, cone-shaped convexity, and changes in biomechanical parameters6. This leads to irregular astigmatism, impaired vision, and decreased visual acuity. The etiology of corneal cone is not yet fully understood, but the influence of genetic, biomechanical, and environmental factors is indicated7. Early diagnosis is crucial to halt disease progression and implement appropriate treatment8,9.
Traditional diagnostic methods used to date are mainly based on analyzing the shape and thickness of the cornea using topography and tomography (Scheimpflug, OCT)10. Although these techniques allow the evaluation of advanced corneal cone, their effectiveness in detecting early changes is limited8,11,12. Consequently, methods based on corneal biomechanical properties are becoming increasingly important.
One modern diagnostic tool is the Ocular Response Analyzer (ORA), which measures the cornea’s response to dynamic deformation by determining corneal hysteresis coefficients (CH) and coefficients of resilience (CRF)13,14. In the case of the corneal cone, these values are reduced, indicating structural weakness in the tissue15.
Another commonly used diagnostic method is Corvis ST (Corneal Visualization Scheimpflug Technology), which records the dynamic deformation of the cornea using an air jet and Scheimpflug imaging16,17. This system provides a series of biomechanical indices, including stiffness and deformation indices, that enable earlier detection of degenerative changes in corneal structure.
Corvis ST (Oculus Optikgeräte GmbH, Wetzlar, Germany) is a non-contact semi-automatic device designed to analyze corneal biomechanics in vivo. It uses an air pulse to induce central corneal compression and deformation, and obtains real-time corneal deformation data from a high-speed Scheimpflug camera that records 4300 high-resolution horizontal images per second18–20. A slow-motion reconstruction of corneal deformation is displayed on the device.
The Scheimflug image allows for the evaluation of central corneal thickness (CCT). For ocular biomechanical parameters, two corneal applanations are applied. During the first applanation, intraocular pressure (IOP) is calculated21. Corneal biomechanical parameters include the first/second applanation time (A-time1/A-time2), the first/second applanation length (A-length1/A-length2), corneal velocity during the first/second applanation moment (Vin/Vout), highest concavity time, highest concavity-radius (HC-radius), deformation amplitude (DA), distance between bending points of the cornea (peak distance - PD), and the concave radius of curvature (R) at the point of highest concavity.
The application of Scheimpflug imaging to identify corneal biomechanical parameters using artificial intelligence methods, along with results from other studies (including multimodal data, i.e., numerical and imaging data), enables effective classification of keratoconus. Extracting the basic geometric features of the cornea based on the changing curves of its deformation during the examination enabled the correct diagnosis of the condition with 99% accuracy using a neural network22. Expanding the biomechanical features of the cornea using topographic data (obtained with the Pentacam device) enabled the Random Forest model to achieve high classification accuracy (89%)23. A similar combination of feature sets enabled the authors to identify the optimal diagnostic indicator with an AUC of 93%24. Comparing data from three devices (Sirius, Pentacam, and Corvis) identified indicators with the highest diagnostic accuracy (AUC = 91% for Sirius and 82% for Corvis)25. Transfer learning is also applied in the classification of keratoconus. The authors compared the diagnostic accuracy of the ResNet152, VGG16, and InceptionV3 models on images obtained from the Corvis device, with ResNet152 achieving the highest AUC (99%)26. The latest review27 of the application of artificial intelligence models in the diagnosis of corneal diseases highlights their high diagnostic accuracy and notes limitations related to the lack of external validation and population heterogeneity. In the context of the visual system, fuzzy logic has been utilized in various applications. Recent studies further support the growing importance of artificial intelligence and wearable technologies in the broader context of keratoconus diagnostics, monitoring, and risk-factor assessment. In particular, machine learning and deep learning approaches have been applied not only to corneal imaging and progression prediction, but also to the objective detection of eye-rubbing behavior, which is clinically relevant for the development and progression of ectatic disease28–30. These findings are consistent with the rationale of the present study, which uses dynamic CORVIS ST imaging and a CNN-RNN architecture to extract spatial and temporal features for keratoconus classification. The integration of calibration data and near-infrared (NIR) camera data using fuzzy logic has enhanced the gaze-tracking system regardless of marker type31. In a similar application involving the detection of the pupil center and corneal reflection, a fuzzy system that accounted for the driver’s head rotation effectively reduced detection errors under vehicle conditions32. Fuzzy reasoning has also found applications in the diagnosis of various ocular conditions. The comparison of three selected classification strategies - using an artificial neural network, a fuzzy classifier, and a neuro-fuzzy classifier - enabled achieving 100% specificity in the diagnosis of cataracts, iritis and cyclitis, and corneal opacities33. A system integrating artificial neural networks with adaptive neuro-fuzzy inference systems enabled classification with up to 100% accuracy (in certain classes) in diagnosing abnormalities in corneal layers34. This demonstrates that integrating medical imaging with additional diagnostic information via fuzzy systems can enhance diagnostic efficacy, serving as a precursor to the development of automated diagnostic systems. An example of such integration can be found in the work35, where the authors differentiated healthy patients from those with diabetic neuropathy using measurements of nerve fiber length. The integration of corneal topography imaging data (using the Pentacam device) with a fuzzy classifier enabled the diagnosis of keratoconus in a multi-class classification process with very high accuracy, reaching up to 98%36. The above examples demonstrate that incorporating a fuzzy system and additional diagnostic information can lead to more effective diagnoses. In the context of corneal medical image processing, fuzzy reasoning can also be applied at an earlier stage to remove noise, eliminate artifacts, and sharpen both the anterior and posterior edges of the cornea, which is crucial for further analysis of anatomical structures and biomechanical properties. In37, the authors proposed an Adaptive Cascaded Decoder based on dynamic convolution, which enhances medical image segmentation by adaptively adjusting the receptive field, combining local and global image features, and sharpening blurred boundaries and improving contrast.
Materials and methods
Study participants
The study using the Corvis ST device involved two groups of patients seen in an outpatient clinic: a pilot group diagnosed with keratoconus (57 eyes) and a control group (47 eyes). The research was conducted at the Department of Ophthalmology, Medical University of Lublin, from March to August 2024.
Before participation, each patient provided written informed consent. The study was conducted in accordance with Good Clinical Practice (GCP) guidelines. It was approved by the Local Ethics Committee of the Medical University of Lublin (approval number KE-0254/98/03/2023) and conducted in compliance with the Declaration of Helsinki.
Preliminary ophthalmic examinations included: objective and subjective refraction, slit-lamp examination, intraocular pressure measurement, and corneal tomography. Patients included in the study met the following inclusion criteria:
Healthy eyes:
Normal corneal tomography and topography results (K max < 47 D, lower-upper difference < 1.5 D, oblique axis radial index < 22º).
Normal elevation maps of the anterior and posterior corneal surfaces.
Normal corneal thickness distribution (CCT > 480 μm).
No corneal scarring.
No clinical signs of keratoconus.
No family history of keratoconus.
-
2.
Eyes with keratoconus:
Abnormal corneal tomography and topography results (K max > 47 D, lower-upper difference > 1.5 D, oblique axis radial index > 22º).
Abnormal elevation maps of the anterior and posterior corneal surfaces.
Central or inferior corneal protrusion.
Thin cornea.
No corneal scarring.
Exclusion criteria included various types of corneal ectasias (such as pellucid marginal degeneration (PMD) or keratoglobus), corneal endothelial diseases, previous ocular surgeries, and eye infections.
Data Acquisition
All examinations were performed at the Department of Ophthalmology, Medical University of Lublin, using the Corvis ST device (Oculus Optikgeräte GmbH, Wetzlar, Germany) according to the manufacturer’s standard protocol. An experienced operator acquired measurements under controlled conditions.
For each eye, the full set of Corvis ST parameters was recorded. In addition, the dynamic corneal deformation sequence induced by the air puff was exported for further analysis. The recordings captured the successive phases of corneal deformation, from the initial state through inward applanation, maximum concavity, outward applanation, and recovery.
All recordings were reviewed for technical quality before inclusion. Only complete examinations with sufficient image quality were included in further analysis. The data were anonymized before processing. Each eye was treated as a separate case, while cross-validation splitting was performed at the patient level to prevent data leakage.
Video processing
This article presents a study on the classification of videos from the CORVIS device examination for the diagnosis of keratoconus. The input dataset consisted of 104 videos: 57 representing eyes with keratoconus and 47 representing healthy cases. Each video obtained from the CORVIS examination contained 139 frames at 200 × 576 pixels. The video lengths and frame sizes were consistent across all examinations, so no standardization was required.
Proper data preparation is a crucial step in training and implementing artificial intelligence algorithms for medical imaging. Medical images often contain noise or glitches that hinder the algorithm’s ability to learn and recognize patterns in the training data. Preprocessing can improve the classification performance of medical images, as highlighted by the authors in37. Furthermore, using appropriate image preprocessing methods can accelerate training and reduce hardware requirements, which is critical in some applications. An example can be found in38, where the authors explore the implementation of classification and segmentation models for MRI images on edge devices such as Nvidia Jetson, Raspberry Pi, and an Android smartphone.
Video preprocessing was performed using the OpenCV library39. Each video displays essential information about the examination, including patient data, the examined eye, and the test date. Additionally, each frame contains the manufacturer’s watermark (Oculus). Therefore, removing these text elements from the videos becomes essential, as the leakage of personal patient information or the examined eye could lead the algorithm to treat this data as relevant for classification, which is unacceptable. Moreover, the CORVIS device manufacturer’s logo (watermark) is a bright, sharp-edged object, which could prevent the algorithm from detecting subtle corneal edges and their deformation over time, crucial features for diagnosis.
Therefore, text and logo removal were carried out using the following procedure:
Edge detection using the Canny algorithm.
Enhancement of thin text edges using dilation.
Contour detection.
For each detected contour, a bounding rectangle is computed, and conditions related to the minimum and maximum letter sizes and aspect ratio (width-to-height ratio) are checked.
Based on the elements from step 4, a mask is created, and text is removed using inpainting, i.e., filling in the masked regions based on their surroundings (background appearance estimation).
In the first stage, the Canny edge detector is applied to identify object boundaries with high contrast, which are characteristic of textual elements. Subsequently, morphological dilation is performed on the edge image to enhance thin and discontinuous letter structures, thereby improving the coherence of their representation. In the processed image, external contours are detected, and a bounding rectangle is computed for each. Candidate text regions are then filtered based on geometric features such as width, height, and the aspect ratio. Contours that meet the predefined criteria are projected onto a binary mask, defining regions to be removed. In the final step, an image inpainting algorithm is applied to reconstruct the marked regions using information from their immediate surroundings. As a result, a frame with removed textual elements and a restored background is obtained.
The results of the operations can be observed in the example video frames (Fig. 1).
Fig. 1.
Representative CORVIS ST video frames before (a) and after (b) preprocessing, illustrating effective removal of textual overlays and device watermark while preserving diagnostically relevant corneal geometry and deformation patterns.
A comparison of sample images before preprocessing (Fig. 1a) and after its application (Fig. 1b) clearly demonstrates the effectiveness of the implemented processing algorithms. All textual annotations have been successfully removed, ensuring full anonymization of each image while preserving the characteristic corneal curvature observed at different stages of the examination.
In the diagnosis of keratoconus, some of the most important parameters are the shape, thickness, and biomechanics of the cornea. Therefore, the corneal edges are a crucial diagnostic feature for the algorithm, as they enable assessment of both corneal thickness and the degree of deformation. The CORVIS device overlays special curves on images taken during the examination, fitting them to the corneal edges; however, these overlays are not applied to the video frames generated by the device. For this reason, the Canny edge detection algorithm40 was applied, along with a corresponding filter applied to each video frame, to facilitate the extraction of these features from the analyzed image. An example of applied filters is shown in Fig. 2.
Fig. 2.
Examples of corneal edge detection results using the Canny-based preprocessing pipeline: (a) raw frames and (b) corresponding edge-enhanced images highlighting anterior and posterior corneal boundaries, along with visible artifacts such as reflections and blinking-induced noise.
Unfortunately, CORVIS examination videos may contain various distortions and glitches - for instance, the patient may blink or move during the test, which further causes image blurring. Therefore, selecting appropriate parameters for the Canny algorithm is a compromise: to detect corneal edges properly, the algorithm may also detect glitches as edges in some recordings. As a result, in certain cases, additional disturbances - or even parts of the patient’s eyelashes (when blinking during the exam) - are also detected as edges.
The example presented in Fig. 2 illustrates the next stage of image processing, involving edge enhancement and corneal contour extraction, and reveals varying outcomes. In the first case (Fig. 2b, top) - corresponding to the initial phase of the examination - both the anterior and posterior corneal surfaces are clearly delineated. However, some additional noise is present due to light reflections. In the second case (Fig. 2b, middle) - a subsequent phase of the examination where corneal deformation is already visible - the extracted contour is also correctly marked. In the final case (Fig. 2b, bottom), where corneal deformation is again present, the curvature is properly extracted; however, artifacts resulting from blinking are also visible.
The final step in the preprocessing of individual video frames was resizing the images to 200 × 200 pixels, a size more suitable for most algorithms and that also enabled faster training due to the reduced number of pixels. Next, every video frame was also normalized.
The next stage involved processing the entire videos. While the preprocessing of individual frames aimed to facilitate the extraction of spatial features such as textures, edges, shapes, and spatial arrangements, the classification of an entire video also depends on temporal features –the variability of frames over time, such as object motion, changes in brightness or structure, and inter-frame correlations. It was observed that among the 139 frames recorded during the examination, only some contain useful temporal information related to corneal biomechanics. The initial frames depict a static state in which the patient is waiting for the examination to begin, and the cornea remains still (except for minimal movement, for example, from breathing). Then, an air puff is applied to deform the cornea, and the following frames capture the sequence from the initial state through maximum deformation back to the initial state.
In addition to the dynamic video sequence, the Corvis ST device provides images corresponding to three key corneal states: the initial state, applanation, and highest concavity. Together with the intermediate biomechanical response, these phases contain the most diagnostically relevant information. Each examination video consisted of 139 frames. The initial part of the sequence corresponded to the baseline state before the air puff, followed by the deformation phase leading to maximum concavity, and finally the recovery phase, during which the cornea returned toward its original shape. Because the initial and final parts of the sequence contained highly similar spatial information with limited biomechanical variation, including all frames during feature-extractor training could introduce redundancy and bias the model toward repetitive patterns. Therefore, to reduce memory requirements and training time while preserving the most dynamically informative part of the sequence, only the 55-frame segment corresponding to the main corneal deformation phase was used to train the feature-extraction model. In contrast, the sequential model based on a recurrent neural network (RNN) was trained using the complete 139-frame examination sequences. While the reduced 55-frame subset was sufficient for learning spatial representations, the recurrent component operated on the full temporal sequence to preserve the complete temporal structure of the examination, including the baseline, deformation, and recovery phases.
For consistency, the additional baseline models used in the final comparative analysis (3D CNN and Transformer-based architectures) were trained using the same selected 55-frame segment and the same patient-level cross-validation protocol.
Model Architecture
Due to the complexity of image classification and the relatively small dataset available, a 10-fold stratified cross-validation approach was used. This method involves dividing the data into 10 equal parts, using 9 for training and 1 for validation, and changing the validation subset in each iteration. The stratified variant ensures that each subset maintains approximately the same ratio of diseased to healthy cases, with the splits performed at the patient level rather than at the level of individual image files. This approach allowed the algorithm to avoid bias toward a particular test set and to tune model parameters properly. It is also important to note that video preprocessing was performed before cross-validation. Therefore, all decisions regarding data preparation were made independently of the division into training and validation sets.
Among the available methods that support image classification using both spatial and temporal features, the following are the most popular:
CNN-RNN - a model that combines convolutional neural networks for extracting spatial features with recurrent networks for classifying based on their temporal evolution across video frames.
3D CNN - a convolutional neural network that takes sequences of frames (or entire videos) as input, simultaneously analyzing spatial features and temporal context41.
Transformer - a special model using a self-attention mechanism, allowing each input element (e.g., an image patch) to reference other elements and determine which ones are most relevant42.
This study adopted the first approach - a CNN-RNN model - while also leveraging transfer learning. The CNN-RNN architecture was selected as a compromise between representational capacity and model complexity. Compared with 3D CNN architectures, which jointly process spatial and temporal information using computationally expensive volumetric convolutions, the proposed approach separates spatial feature extraction from temporal sequence modeling, thereby reducing the number of trainable parameters and the risk of overfitting. Compared with Transformer-based architectures, the CNN-RNN model requires substantially fewer training samples and exhibits more stable learning behavior under limited-data conditions. This is particularly important in the present study, given the relatively small patient-level dataset available for training and validation.
For spatial feature extraction, the pre-trained InceptionV3 model43, trained on the ImageNet dataset, was used. Due to the specific nature of images generated during CORVIS examinations, the last 20 layers of the model were additionally fine-tuned on the training set for each fold to better adapt the feature extractor for keratoconus detection. The full model was not retrained to reduce training time and avoid overfitting.
Training of the feature extractor involved adding a densely connected final layer with a single neuron and a sigmoid activation function. The model was trained for 100 epochs using the Binary Crossentropy loss function and the Adam optimizer44 with a learning rate of 0.001 and a batch size of 4. Two callbacks were defined during training: the first, EarlyStopping, monitored the validation loss with a patience of 5 epochs; the second, ModelCheckpoint, saved the best model (by validation loss) to a file for use as a feature extractor in the final model.
The final layer responsible for binary classification was removed from the trained model, allowing it to be used for extracting spatial features from individual video frames. However, spatial features alone are not sufficient. Therefore, the article proposes a two-part model: spatial feature extraction using InceptionV3, followed by classification with a recurrent neural network. The architecture of the entire model is shown in Fig. 3. In the sequential part of the model, one LSTM layer with 16 units was used, followed by a 20% dropout layer for regularization, then a densely connected layer with 16 neurons and ReLU activation, and finally a classification layer with 1 neuron and a sigmoid activation function. This compact LSTM configuration was intentionally selected to limit the number of trainable parameters and reduce the risk of overfitting, particularly given the limited patient-level dataset. This recurrent network was trained for 100 epochs using the Binary Crossentropy loss function and the Adam optimizer with a learning rate of 0.0001 and a batch size of 32. A ModelCheckpoint callback was also applied to allow retrieval of the best-performing model based on validation loss. No data augmentation or class-balancing techniques were applied during model training, as it was decided that, for the sake of clinical reliability, the model should operate exclusively on real data from clinical examinations. Model hyperparameters were optimized via an iterative trial-and-error procedure, in which successive configurations were evaluated based on training dynamics (e.g., convergence rate and stability) and validation performance. This empirical approach enabled incremental adjustments to parameter values, facilitating the identification of settings that improved generalization.
Fig. 3.
Schematic representation of the proposed CNN-RNN architecture combining spatial feature extraction using a fine-tuned InceptionV3 network with temporal modeling via an LSTM module for classification of corneal deformation sequences.
Results
The learning curves for the two parts of the model described above – the feature extractor and the sequential component – are shown in Fig. 4 (example from validation split no. 7). It is evident that the validation loss is higher for the CNN-only model than for the complete model, which confirms that in the diagnosis of keratoconus, analyzing both the corneal topography and its biomechanics yields better results. Additionally, Fig. 5 presents the accuracy values obtained during both training and validation for the two models. It can be observed that relying solely on spatial features results in significantly lower accuracy in keratoconus detection than an approach that incorporates both spatial and temporal features.
Fig. 4.
Training and validation loss curves for the feature extractor (CNN) and the full CNN-RNN model (example from fold 7), demonstrating improved convergence and reduced validation loss when incorporating temporal dynamics.
Fig. 5.
Training and validation accuracy curves for the feature extractor (CNN) and the full CNN-RNN model (example from fold 7), demonstrating improved keratoconus detection capability when incorporating temporal dynamics.
Table 1. Mean and standard deviation of classification metrics obtained from 10-fold cross-validation for the model without edge detection and the model with full preprocessing procedure.
Table 1.
Summarizes the comparison of average values and standard deviations of key performance metrics obtained from 10-fold cross-validation for the model without edge detection and the model with the full preprocessing procedure.
| Preprocessing | Accuracy | Precision | Recall | F1-Score | AUC |
|---|---|---|---|---|---|
| Without edge detection | 0.77 ± 0.19 | 0.75 ± 0.20 | 0.73 ± 0.25 | 0.73 ± 0.23 | 0.83 ± 0.17 |
| With edge detection | 0.91 ± 0.11 | 0.91 ± 0.12 | 0.88 ± 0.19 | 0.88 ± 0.14 | 0.95 ± 0.07 |
The model trained on videos with edge detection applied achieved an average accuracy of 0.91 ± 0.11, with similarly high precision (0.91 ± 0.12) and slightly lower recall (0.88 ± 0.19) and F1-score (0.88 ± 0.14). These results indicate that the model maintains consistently strong performance across different data splits. Although the standard deviations reflect moderate variability – particularly in the F1-score and recall – the overall values remain within acceptable bounds. This supports the conclusion that the classifier is not overly sensitive to the particular training/test split and demonstrates good generalization to unseen data. It is also worth noting the significant difference in performance between the model without preprocessing (i.e., without edge detection) and the model employing the full video preparation pipeline. This demonstrates that an appropriate data preprocessing strategy is crucial and can substantially improve the accuracy of keratoconus detection. While Table 1 provides summary statistics, the accompanying boxplots offer a more detailed view of the metric’s distribution. They reveal the presence of outliers, variability between folds, and the symmetry or skewness of the metric values - information that mean and standard deviation alone cannot capture. Notably, such visualizations help identify individual folds where performance may drop significantly, which might otherwise be hidden in the average values. Taken together, the tabular and graphical results offer a more comprehensive assessment of the model’s stability and robustness.
Figure 6 presents boxplots for Accuracy, Precision, Recall, F1-Score, and Area Under the Receiver Operating Characteristic Curve (AUC) obtained from 10-fold cross-validation for the model without edge detection and the model with full preprocessing procedure. Each boxplot reflects the spread of the metric across the folds: the red line indicates the median, the blue box spans the interquartile range (IQR) - from the first quartile (Q1) to the third quartile (Q3), the whiskers extend to values within 1.5 × IQR, and red plus signs (+) represent outliers.
Fig. 6.
Boxplots of classification performance metrics (Accuracy, Precision, Recall, F1-score, and AUC) across 10-fold cross-validation for the model without edge detection and the model with full preprocessing procedure, illustrating median performance, interquartile range, and presence of outliers.
The boxplots in Fig. 6 illustrate the distributions of core evaluation metrics across all folds for the model without edge detection and for the model with Canny edge detection. For the model with a full preprocessing procedure, all metrics exhibit high median values, ranging from approximately 0.9 to 1.00, suggesting strong and consistent model performance. The box plots show that the median values of precision, recall, and AUC reached 1.0, indicating high performance in keratoconus detection across most validation splits. At the same time, outliers were observed across all metrics, with values ranging from 0.40 to 0.76. Further inspection showed that validation split no. 4 was the most challenging for the model. This may reflect the presence of more ambiguous cases or lower-quality recordings in that subset. The comparison of box plots also indicates that the proposed video preprocessing procedure, including edge detection, improved the model’s stability and robustness. Improvements were observed across all evaluated metrics, with the largest gain in precision and recall, whose median values increased by approximately 0.22.
In the context of medical diagnostics, it is critical to evaluate F1-scores separately for each class, as high average metrics - such as those in Table 1 may mask poor performance on individual classes. Figure 7 addresses this by presenting boxplots of the F1-score for each class (Healthy and Keratoconus) across the 10 folds of cross-validation.
Fig. 7.
Class-wise distribution of F1-scores for Healthy and Keratoconus cases across 10-fold cross-validation, highlighting higher variability and occasional misclassification in the Healthy class compared to more stable performance in Keratoconus detection.
Figure 7 reveals consistent class-wise performance across the folds. Both the Healthy and Keratoconus classes achieve high median F1 scores of approximately 0.90–0.92, suggesting that the model is effective at identifying both conditions. However, subtle differences are evident: the Keratoconus class demonstrates higher consistency, with a narrower interquartile range and fewer extreme values. In contrast, the Healthy class shows greater variability and includes a noticeable outlier near 0.50, suggesting that, in at least one fold, the model had difficulty correctly classifying healthy samples. This may be due to class imbalance or overlapping feature distributions. Despite these deviations, the majority of F1-scores for both classes remain above 0.80, reflecting reliable overall performance and good generalization across classes.
To further evaluate whether the proposed CNN-RNN architecture provides advantages over alternative video-based deep learning approaches, we additionally compared its performance with two baseline models: a 3D CNN45 and a Transformer-based architecture46. This comparison was performed using the same 10-fold cross-validation protocol and the same evaluation metrics, allowing direct assessment of the contribution of the proposed hybrid spatial-temporal modeling strategy.
Table 2. Mean and standard deviation of classification metrics obtained from 10-fold cross-validation for the compared models.
Table 2.
Presents a baseline comparison of the proposed CNN-RNN architecture with two alternative deep learning approaches for video-based keratoconus detection: a 3D CNN model and a Transformer-based ViViT architecture.
| Model | Accuracy | Precision | Recall | F1-Score | AUC |
|---|---|---|---|---|---|
| CNN-RNN (proposed) | 0.91 ± 0.11 | 0.91 ± 0.12 | 0.88 ± 0.19 | 0.88 ± 0.14 | 0.95 ± 0.07 |
| 3D CNN [45] | 0.84 ± 0.09 | 0.85 ± 0.13 | 0.81 ± 0.14 | 0.81 ± 0.09 | 0.85 ± 0.13 |
| Transformer [46] | 0.75 ± 0.09 | 0.75 ± 0.29 | 0.62 ± 0.33 | 0.63 ± 0.26 | 0.74 ± 0.11 |
The proposed CNN-RNN model achieved the highest performance across all evaluated metrics, including Accuracy (0.91 ± 0.11), Precision (0.91 ± 0.12), Recall (0.88 ± 0.19), F1-score (0.88 ± 0.14), and AUC (0.95 ± 0.07). In comparison, the 3D CNN model achieved lower performance, particularly for AUC (0.85 ± 0.13), whereas the Transformer-based model demonstrated the weakest overall classification performance and substantially higher variability across validation folds.
Statistical comparison between models was performed using the Wilcoxon signed-rank test across the 10 cross-validation folds. The proposed CNN-RNN architecture achieved significantly higher AUC values compared with both the 3D CNN baseline (p = 0.027) and the Transformer-based model (p = 0.004). Additionally, statistically significant improvements over the Transformer model were observed for Accuracy (p = 0.016) and F1-score (p = 0.012). The remaining metrics also showed consistently higher median values for the proposed architecture, although not all comparisons reached the conventional significance threshold.
The comparison of metric distributions across validation folds is presented in Fig. 8.
Fig. 8.
Distribution of classification performance metrics across 10-fold cross-validation for the proposed CNN-RNN model and the compared baseline architectures.
The proposed CNN-RNN model demonstrated not only higher median performance but also lower fold-to-fold variability, indicating improved robustness and generalization. In contrast, the Transformer-based architecture exhibited markedly larger dispersion of results, particularly for Recall and F1-score, suggesting reduced stability under limited-data conditions. These findings indicate that combining convolutional spatial feature extraction with recurrent temporal modeling provides a more reliable representation of corneal deformation dynamics than either volumetric convolution alone or Transformer-based spatiotemporal attention mechanisms.
Discussion
In recent years, several studies have emerged that use advanced DL architectures for diagnosing keratoconus. Abdelmotaal et al. proposed a hybrid CNN-Transformer model (DenseNet + self-attention) for analyzing dynamic Scheimpflug images, achieving a sensitivity of 93%, specificity of 84%, and an AUC of 0.9747. Similarly, Ismael et al. integrated multimodal corneal data (topography, aberrometry, pachymetry, biomechanics) into a Transformer network, which significantly outperformed traditional SVM, RF, and classical CNN models in terms of accuracy and other metrics48. Our accuracy of ~ 0.90 is within the same range, suggesting that Transformer-like architectures can further improve recognition performance, indicating that the proposed approach remains competitive. It is worth noting that existing CNN or hybrid CNN+LSTM models typically achieved comparable results; however, they also suffer from a “black box” nature. A growing number of ophthalmology studies employ explainability techniques – e.g., Grad-CAM – to highlight image regions relevant to model decisions49. Although the proposed model has limited interpretability in the strict deep-learning sense, the input data were strongly constrained through preprocessing and corneal contour extraction, thereby reducing the influence of irrelevant background information and focusing the analysis on clinically meaningful deformation patterns.
This study evaluated a deep learning classification model for its ability to distinguish between healthy eyes and those affected by keratoconus using a 10-fold stratified cross-validation framework. The model consistently demonstrated strong performance across all key evaluation metrics, with average values for accuracy, precision, recall, and F1-score hovering around 0.90 and an AUC of about 0.95. These results indicate that the model is effective within the available cohort and shows promising internal generalization across varying training and validation splits.
The application of 3D CNN models for keratoconus detection based on the collected dataset was investigated in another study45, in which the best-performing model achieved an average accuracy of approximately 89%. The present study proposes a model that slightly improves the performance of keratoconus detection. Moreover, it employs transfer learning by fine-tuning only the last 20 layers of the InceptionV3 model, enabling a significant reduction in training time. Additional comparative experiments in the present study demonstrated that the proposed CNN-RNN architecture also outperformed both 3D CNN and Transformer-based baseline models in overall classification stability and AUC, supporting the effectiveness of combined spatial-temporal feature modeling for dynamic corneal deformation analysis.
Low variability in accuracy and AUC further supports the model’s robustness. The model achieves very strong performance for the vast majority of validation splits, as evidenced by the high median values of precision, recall, and AUC. Further analysis confirmed that one of the folds was particularly challenging, likely because of a higher proportion of outlier samples. The results also indicate that incorporating edge detection during data preprocessing significantly improves the model’s stability.
Class-wise evaluation revealed subtle differences in model behavior. Although both the Healthy and Keratoconus classes achieved high median F1-scores, the Healthy class exhibited greater variability, including a single outlier. This suggests that the model may be less stable in some healthy cases, potentially due to feature overlap or class imbalance. Such behavior could have practical implications in clinical settings, such as an increased risk of false-positive diagnoses, particularly in screening-oriented settings, where high sensitivity must be balanced with an acceptable false-positive rate.
These findings emphasize the importance of complementing global metrics with per-class evaluations when assessing machine learning models for medical diagnostics. While averaged results can mask fold-specific or class-specific shortcomings, visual tools such as boxplots provide a richer, more nuanced understanding of model behavior. Overall, the proposed model presents a strong and promissing foundation for keratoconus detection, though further validation on external, diverse datasets is necessary.
An important issue is the limitations of the data sample used. Our analysis is based on a relatively small, single-center set of 104 measurements, which may limit the generalizability of the results. Recent works highlight that most DL models in keratoconus have been trained on small cohorts, often without external validation50.
It should be emphasized that the present study has a pilot character, reflecting both the exploratory nature of the proposed deep learning framework and the limited availability of high-quality corneal deformation recordings. In routine clinical practice, acquiring large and well-balanced datasets of dynamic CORVIS recordings remains difficult. In addition, the proposed pipeline was specifically designed for sequential image data extracted from CORVIS recordings, which limits the immediate availability of compatible external datasets acquired under comparable imaging protocols. Therefore, the dataset size should be interpreted in the context of these practical constraints rather than as a methodological shortcoming alone. While the use of stratified 10-fold cross-validation at the patient level reduces the risk of overfitting and data leakage, it does not replace true external validation, and the obtained performance estimates may still be subject to variability and optimistic bias. Therefore, further validation on independent, external datasets and multi-center cohorts is necessary to confirm the generalizability and robustness of the proposed model.
Limitations and Future Plans
Despite the promising outcomes, several limitations of this study must be acknowledged:
Dataset size and diversity: The model was evaluated using 10-fold cross-validation on a relatively limited dataset. Although this method helps reduce overfitting and assess generalization, the dataset may not reflect the full spectrum of clinical variability – such as different stages of keratoconus, comorbidities, or image acquisition inconsistencies. The present study should therefore be regarded as a pilot/proof-of-concept investigation, particularly limited by the availability of carefully curated dynamic CORVIS recordings.
Class imbalance and sensitivity: While overall performance was high, class-wise analysis revealed greater variability and an outlier for the Healthy class. This may indicate underlying class imbalance or less distinct feature representations in healthy eyes, increasing the potential for false positives in practice.
Lack of external validation: The model’s performance has not been validated on independent datasets or across multiple institutions. Its ability to generalize to external populations remains unproven. Although patient-level splitting was applied to prevent data leakage and strengthen internal evaluation, this does not substitute for validation on fully independent cohorts.
Limited interpretability: As with many deep learning models, particularly black-box classifiers, the current approach lacks clinical interpretability. At the same time, this limitation is partly mitigated by the adopted preprocessing strategy and corneal contour extraction, which constrain the input representation to deformation patterns of clinical relevance.
The results obtained in this study indicate the high effectiveness of the proposed model, but they also reveal important directions for further analysis. In particular, the observed greater variability in the results for the healthy class and the presence of individual outliers (Recall ~ 0.40) suggest the need for a more in-depth analysis of the model’s decision boundary and the characterization of common features for difficult-to-classify cases. Future research should utilize feature space exploration methods (e.g., embeddings) and error analysis, which may help identify subtle biomechanical patterns leading to misclassification. Expanding the dataset to include borderline cases (subclinical forms of keratoconus) could further enhance the model’s ability to detect early pathological changes12,51,52.
Another important direction of development is validation of the model on external, multi-center datasets, which will allow assessment of its true generalization ability in clinical settings. Current limitations related to the relatively small sample size and its homogeneity indicate the need to integrate data from different populations and diagnostic devices. In this context, a multimodal approach, combining biomechanical data with topographic and tomographic information, and clinical parameters, seems particularly promising. This could lead to further improvements in diagnostic performance and increased model robustness to input data variability.
An important element of future research should also be increasing the interpretability of the model through the implementation of explainable AI methods (e.g., Grad-CAM), enabling the identification of image regions and phases of corneal deformation crucial for decision-making. This will not only increase clinical confidence but also provide a better understanding of the biomechanical mechanisms involved in the development of keratoconus. Furthermore, the development of architectures based on transformers or hybrid CNN-Transformer approaches, as well as the optimization of key timeframe selection, could further improve model performance. In the long term, it is also worthwhile to develop real-time clinical decision support systems integrated directly with diagnostic devices.
Conclusions
This study demonstrates that the proposed deep learning model achieves high and consistent performance in classifying healthy versus keratoconic eyes. Across 10-fold cross-validation, the model maintained average accuracy, precision, recall, and F1-score around 0.90, indicating strong generalization and stability. Class-wise analysis confirmed the model’s effectiveness in detecting both conditions, though slightly greater variability was noted for the Healthy class.
By combining aggregate and class-specific evaluation metrics with boxplot visualizations, the study provides a comprehensive view of model reliability and performance variation across data splits. These findings support the model’s potential as a reliable tool for early keratoconus detection or screening. Its performance suggests that it could effectively complement current diagnostic workflows, potentially reducing misdiagnosis and enhancing clinical decision-making. Nevertheless, additional testing on independent and diverse datasets is required before clinical integration.
Author contributions
A.S., K.J., and A.P. designed the study. T.C. and D.W. prepared and conducted the study and described the study group. M.M. and D.G. acquired and prepared the data. J.G., A.S., and R.K. selected the artificial intelligence models and conducted their training and validation. A.S., R.K., D.W., and J.G. analyzed the results. KEJ created the charts and translated the text. R.R. and K.J. administered the project and provided substantive supervision. All authors reviewed the manuscript.
Funding
This research was supported by the Polish Ministry of Education and Science, grant no. MEiN/2023/DPI/2194, under the project titled “Lublin Digital Union - Use of Digital Solutions and Artificial Intelligence in Medicine - Research Project”.
Data availability
The datasets generated and/or analyzed during the current study are not publicly available due to patient privacy and ethical restrictions but are available from the corresponding author on reasonable request.
Code availability
The complete Python pipeline used for video preprocessing, model training, evaluation, and figure generation is publicly available in Zenodo at 10.5281/zenodo.19312928.
Declarations
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Kotecha, A. What biomechanical properties of the cornea are relevant for the clinician? Surv. Ophthalmol.52, S109–S114 (2007). [DOI] [PubMed] [Google Scholar]
- 2.Terai, N., Raiskup, F., Haustein, M., Pillunat, L. E. & Spoerl, E. Identification of biomechanical properties of the cornea: the ocular response analyzer. Curr. Eye Res.37, 553–562 (2012). [DOI] [PubMed] [Google Scholar]
- 3.Maurice, D. M. The cornea and sclera. in Vegetative Physiology and Biochemistry 289–368 (Elsevier, 10.1016/B978-1-4832-3090-0.50013-7. (1962).
- 4.Meek, K. M. The cornea and sclera. in Collagen (ed Fratzl, P.) 359–396 (Springer US, Boston, MA, 10.1007/978-0-387-73906-9_13. (2008). [Google Scholar]
- 5.Vellara, H. R. & Patel, D. V. Biomechanical properties of the keratoconic cornea: a review. Clin. Experimental Optometry. 98, 31–38 (2015). [DOI] [PubMed] [Google Scholar]
- 6.Romero-Jiménez, M., Santodomingo-Rubido, J. & Wolffsohn, J. S. Keratoconus: A review. Contact Lens Anterior Eye. 33, 157–166 (2010). [DOI] [PubMed] [Google Scholar]
- 7.Basu, S. & Vazirani, J. Keratoconus: current perspectives. OPTH201910.2147/OPTH.S50119 (2013). [DOI] [PMC free article] [PubMed]
- 8.Shi, Y. Strategies for improving the early diagnosis of keratoconus. OPTO1310.2147/OPTO.S63486 (2016). [DOI] [PMC free article] [PubMed]
- 9.Syta, A. et al. Machine learning-assisted early detection of keratoconus: a comparative analysis of corneal topography and biomechanical data. Sci. Rep.15, 24399 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Belin, M. W., Jang, H. S., Borgstrom, M. & Keratoconus Diagnosis Staging Cornea41, 1–11 (2022). [DOI] [PubMed] [Google Scholar]
- 11.Fernández Pérez, J., Valero Marcos, A. & Martínez Peña, F. J. Early diagnosis of keratoconus: what difference is it making? Br. J. Ophthalmol.98, 1465–1466 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Zhang, X., Munir, S. Z., Karim, S., Munir, W. & S. A. & M. A review of imaging modalities for detecting early keratoconus. Eye35, 173–187 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Schweitzer, C. et al. Screening of forme fruste keratoconus with the ocular response analyzer. Invest. Ophthalmol. Vis. Sci.51, 2403 (2010). [DOI] [PubMed] [Google Scholar]
- 14.Fontes, B. M., Ambrósio, R., Velarde, G. C. & Nosé, W. Ocular response analyzer measurements in keratoconus with normal central corneal thickness compared with matched normal control eyes. J. Refract. Surg.27, 209–215 (2011). [DOI] [PubMed] [Google Scholar]
- 15.Touboul, D. et al. Early biomechanical keratoconus pattern measured with an ocular response analyzer: Curve analysis. J. Cataract Refract. Surg.37, 2144–2150 (2011). [DOI] [PubMed] [Google Scholar]
- 16.Tian, L. et al. Corneal biomechanical assessment using corneal visualization scheimpflug technology in keratoconic and normal eyes. J. Ophthalmol.2014, 1–8 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Qin, X., Tian, L., Zhang, H., Chen, X. & Li, L. Evaluation of corneal elastic modulus based on Corneal Visualization Scheimpflug Technology. BioMed. Eng. OnLine. 18, 42 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Piñero, D. P. & Alcón, N. In vivo characterization of corneal biomechanics. J. Cataract Refract. Surg.40, 870–887 (2014). [DOI] [PubMed] [Google Scholar]
- 19.Huseynova, T., Waring, G. O., Roberts, C., Krueger, R. R. & Tomita, M. Corneal biomechanics as a function of intraocular pressure and pachymetry by dynamic infrared signal and scheimpflug imaging analysis in normal eyes. Am. J. Ophthalmol.157, 885–893 (2014). [DOI] [PubMed] [Google Scholar]
- 20.Hong, J. et al. A New Tonometer—The corvis ST tonometer: clinical comparison with noncontact and goldmann applanation tonometers. Invest. Ophthalmol. Vis. Sci.54, 659 (2013). [DOI] [PubMed] [Google Scholar]
- 21.Valbon, B. F. et al. Ocular biomechanical metrics by CorVis ST in healthy brazilian patients. J. Refract. Surg.30, 468–473 (2014). [DOI] [PubMed] [Google Scholar]
- 22.Tan, Z. et al. Artificial intelligence–based diagnostic model for detecting keratoconus using videos of corneal force deformation. Trans. Vis. Sci. Tech.11, 32 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Castro-Luna, G., Jiménez-Rodríguez, D., Castaño-Fernández, A. B. & Pérez-Rueda, A. Diagnosis of subclinical keratoconus based on machine learning techniques. JCM10, 4281 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Liu, Y., Zhang, Y. & Chen, Y. Application of a scheimpflug-based biomechanical analyser and tomography in the early detection of subclinical keratoconus in chinese patients. BMC Ophthalmol.21, 339 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Heidari, Z. et al. Evaluation of corneal topographic, tomographic and biomechanical indices for detecting clinical and subclinical keratoconus: a comprehensive three-device study. Int. J. Ophthalmol.14, 228–239 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Kuo, B. I. et al. Keratoconus screening based on deep learning approach of corneal topography. Trans. Vis. Sci. Tech.9, 53 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Nguyen, T. et al. Artificial intelligence in corneal diseases: A narrative review. Contact Lens Anterior Eye. 47, 102284 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Elahi, S. et al. Eye-Rubbing detection using a smartwatch: a feasibility study demonstrated high accuracy with machine learning. Trans. Vis. Sci. Tech.13, 1 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Giap, B. D., Lustre, J. B., Ong, J., Venugopal, A. & Nallasamy, N. Deep learning–based eye rubbing detection using wrist-based wearable devices to enable rigorous study of risk factors for ectasia progression. Cornea10.1097/ICO.0000000000004113 (2026). [DOI] [PubMed] [Google Scholar]
- 30.Hashemi, H., Jamali, A., Nabovati, P., Babapour Mofrad, F. & Khabazkhoob, M. The application of artificial intelligence-based algorithms in predicting the progression of keratoconus: a systematic review. Int. Ophthalmol.45, 482 (2025). [DOI] [PubMed] [Google Scholar]
- 31.Gwon, S., Jung, D., Pan, W. & Park, K. Estimation of gaze detection accuracy using the calibration information-based fuzzy system. Sensors16, 60 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Lee, D., Yoon, H., Hong, H. & Park, K. Fuzzy-system-based detection of pupil center and corneal specular reflection for a driver-gaze tracking system based on the symmetrical characteristics of face and facial feature points. Symmetry9, 267 (2017). [Google Scholar]
- 33.Acharya, U. R., Kannathal, N., Ng, E. Y. K., Min, L. C. & Suri, J. S. Computer-Based Classification of Eye Diseases. in International Conference of the IEEE Engineering in Medicine and Biology Society 6121–6124 (IEEE, New York, NY, 2006). 6121–6124 (IEEE, New York, NY, 2006). (2006). 10.1109/IEMBS.2006.260211 [DOI] [PubMed]
- 34.Sharif, M. S., Qahwaji, R., Ipson, S. & Brahma, A. Medical image classification based on artificial intelligence approaches: A practical study on normal and abnormal confocal corneal images. Appl. Soft Comput.36, 269–282 (2015). [Google Scholar]
- 35.Salahouddin, T. et al. Artificial intelligence–based classification of diabetic peripheral neuropathy from corneal confocal microscopy images. Diabetes Care. 44, e151–e153 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Ghaderi, M. & Sharifi, A. Jafarzadeh Pour, E. Proposing an ensemble learning model based on neural network and fuzzy system for keratoconus diagnosis based on Pentacam measurements. Int. Ophthalmol.41, 3935–3948 (2021). [DOI] [PubMed] [Google Scholar]
- 37.Litjens, G. et al. A survey on deep learning in medical image analysis. Med. Image. Anal.42, 60–88 (2017). [DOI] [PubMed] [Google Scholar]
- 38.Memon, K. et al. Edge computing for ai-based brain mri applications: a critical evaluation of real-time classification and segmentation. Sensors24, 7091 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Bradski, G. The Opencv Library. Dr Dobb’s J. Softw. Tools25, 120-125 (2000).
- 40.Canny, J. A computational approach to edge detection. IEEE Trans. pattern Anal. Mach. intelligence8, 679-698 (1986). [PubMed]
- 41.Ji, S., Xu, W., Yang, M. & Yu, K. 3D Convolutional neural networks for human action recognition. IEEE Trans. Pattern Anal. Mach. Intell.35, 221–231 (2013). [DOI] [PubMed] [Google Scholar]
- 42.Dosovitskiy, A. et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. Preprint at (2020). 10.48550/ARXIV.2010.11929
- 43.Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J. & Wojna, Z. Rethinking the inception architecture for computer vision. in IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2818–2826 (IEEE, Las Vegas, NV, USA, 2016). 2818–2826 (IEEE, Las Vegas, NV, USA, 2016). (2016). 10.1109/CVPR.2016.308
- 44.Kingma, D. P., Ba, J. & Adam a method for stochastic optimization. Preprint at (2014). 10.48550/ARXIV.1412.6980
- 45.Gęca, J. et al. Keratoconus diagnosis based on dynamic corneal imaging using 3D convolutional neural networks. Adv. Sci. Technol. Res. J.19, 257–272 (2025). [Google Scholar]
- 46.Arnab, A. et al. ViViT: A Video Vision Transformer. Preprint at (2021). 10.48550/ARXIV.2103.15691
- 47.Abdelmotaal, H. et al. A hybrid transformers-based convolutional neural network model for keratoconus detection in scheimpflug-based dynamic corneal deformation videos. JOVR20, 1–17 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Ismael, O. Enhancing keratoconus detection with transformer technology and multi-source integration. Artif. Intell. Rev.58, 22 (2024). [Google Scholar]
- 49.Mirsalehi, M. et al. Deep learning-based diagnosis of corneal condition by using raw optical coherence tomography data. Diagnostics (Basel). 15, 3115 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Bodmer, N. S. et al. Deep Learning models used in the diagnostic workup of keratoconus: a systematic review and exploratory meta-analysis. Cornea43, 916–931 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Gideon Abou Said, A., Gispets, J. & Shneor, E. Strategies for early keratoconus diagnosis: a narrative review of evaluating affordable and effective detection techniques. JCM 14, 460 (2025). [DOI] [PMC free article] [PubMed]
- 52.Magklaras, E., Karamitsou, K., Diakonis, V. F., Mprotsis, T. & Tsaousis, K. T. Early Detection of keratoconus: diagnostic advances and their impact on visual outcomes: a systematic review. Medicina62, 42 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The datasets generated and/or analyzed during the current study are not publicly available due to patient privacy and ethical restrictions but are available from the corresponding author on reasonable request.
The complete Python pipeline used for video preprocessing, model training, evaluation, and figure generation is publicly available in Zenodo at 10.5281/zenodo.19312928.








