You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

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