Skip to main content

IDRiD: Indian Diabetic Retinopathy Image Dataset

516 fundus images with DR grade (0-4), macular edema grade (0-2), and pixel-level lesion segmentation for 81 images.

At a glance

FieldValue
Short nameidrid
Full nameIDRiD: Indian Diabetic Retinopathy Image Dataset
Primary categoryfundus
Contained modalitiesfundus
Tasksgrading, classification, segmentation
Samples516
Classes5 (Grade 0, Grade 1, Grade 2, Grade 3, Grade 4)
Splitstrain, test
Size2.5 GB
Source-stated termsCC BY 4.0
Normalized termscc-by
Descriptive screening labelStandard label without an explicit NC clause; not a permission finding
Terms scopedataset_files
Access frictionself_service_authenticated
Route backendManual (upstream-gated)
Availabilityavailable (checked 2026-07-21)
Acquisition supportguided_instructions_only
Legacy sample-loader statusStandard loader included

Notes

Requires IEEE DataPort account (free).

Access preflight and acquisition

# Read-only preflight
eyehub download idrid --data-dir ./data --dry-run --json

# Explicit transfer, only when preflight reports supported behavior
eyehub download idrid --data-dir ./data

Upstream page: ieee-dataport.org/open-access

Source-term evidence: ieee-dataport.org/open-access

Loader example

This entry includes a standard DatasetSample loader.

from pathlib import Path
from eyedatahub.datasets.registry import REGISTRY

data_dir = Path('~/.eyedatahub/data').expanduser()
ds = REGISTRY.get_dataset('idrid')
samples = ds.load(data_dir, split='test')
for s in samples[:5]:
print(s.sample_id, s.label, s.image_path)

Citation

@misc{idrid,
title = { IDRiD: Indian Diabetic Retinopathy Image Dataset },
note = { Porwal et al., 'Indian diabetic retinopathy image dataset (IDRiD): A database for diabetic retinopathy screening research', Data 2018 },
year = { 2018 },
url = { https://ieee-dataport.org/open-access/indian-diabetic-retinopathy-image-dataset-idrid },
}

Source-stated terms

  • Raw source string: CC BY 4.0
  • Normalized category: cc-by
  • Apparent scope: dataset_files
  • Descriptive screening label: Standard label without an explicit NC clause; not a permission finding

⚠️ Source-stated terms, scope, and normalized labels are curation metadata, not legal advice or a permission finding. Review the current official source before transfer or reuse.

  • airogs: AIROGS: AI for Robust Glaucoma Screening (113,893 records, cc-by-nc-nd)
  • eyecare_100k: Eyecare-100K: Multimodal Ophthalmology VQA Corpus (102,000 records, unknown)
  • justraigs: JustRAIGS: Just Referral AI Glaucoma Screening Dataset (101,442 records, cc-by-nc-nd)
  • eyepacs: EyePACS — Diabetic Retinopathy Detection (Kaggle 2015) (88,702 records, research-only)
  • multieye: MultiEYE: OCT-Enhanced Fundus Multi-Disease Benchmark (58,036 records, mit)
  • angioreport: AngioReport Fundus Angiography Report Dataset (55,361 records, unknown)
  • ffa_ir: FFA-IR Medical Report Dataset (47,247 records, unknown)
  • bidr: BiDR: Diabetic Retinopathy Diagnosis Dataset (35,126 records, unknown)