Eye Disease Dataset
Description
The Eye Disease Dataset is a collection of images related to various eye diseases. It provides a valuable resource for training and evaluating computer vision models for eye disease detection and classification. The dataset includes images representing five different eye disease classes: Bulging Eyes, Cataracts, Crossed Eyes, Glaucoma, and Uveitis.
Dataset Details
Dataset Name: Falah/eye-disease-dataset
Number of Rows: 383
Class Labels:
- '0': Bulging Eyes
- '1': Cataracts
- '2': Crossed Eyes
- '3': Glaucoma
- '4': Uveitis
Usage
Installation
You can install the dataset using the Hugging Face Datasets library:
pip install datasets
Accessing the Dataset
To access the Eye Disease Dataset, you can use the following Python code:
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("falah/eye-disease-dataset")
Dataset Structure
The dataset consists of a collection of images, each labeled with a specific eye disease class. The images are stored in a directory structure where each class has its own subdirectory. The directory structure is as follows:
βββ Bulging_Eyes
β βββ image1.jpg
β βββ image2.jpg
β βββ ...
βββ Cataracts
β βββ image1.jpg
β βββ image2.jpg
β βββ ...
βββ Crossed_Eyes
β βββ image1.jpg
β βββ image2.jpg
β βββ ...
βββ Glaucoma
β βββ image1.jpg
β βββ image2.jpg
β βββ ...
βββ Uveitis
βββ image1.jpg
βββ image2.jpg
βββ ...
Example Usage
Here's an example of how to load and visualize the Eye Disease Dataset:
import matplotlib.pyplot as plt
# Load the dataset
dataset = load_dataset("falah/eye-disease-dataset")
# Display the first image and its label
image = dataset["train"][0]["image"]
label = dataset["train"][0]["label"]
plt.imshow(image)
plt.title(f"Class Label: {label}")
plt.axis("off")
plt.show()
Citation
If you use the Eye Disease Dataset in your research or project, please consider citing it as:
@dataset{falah/eye-disease-dataset,
author = {Falah},
title = {Eye Disease Dataset},
year = {2023},
publisher = {Hugging Face},
version = {1.0.0},
url = {https://huggingface.co/falah/eye-disease-dataset}
}
License
The Eye Disease Dataset is available under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
- Downloads last month
- 44