贫血检测数据集-19761
基于图像像素值与血红蛋白水平的贫血检测数据集。

基本信息
资源简介
贫血检测数据集
【数据集背景】
本数据集源站标题为《Anemia Detection Dataset》。源站首次发布:2025-04-26。
【数据内容】
源站原始描述:! The dataset includes various attributes that capture the color composition of pixels in images and their corresponding hemoglobin (Hb) levels. Anemia is determined based on the hemoglobin levels, with a binary classification indicating whether an individual is anemic or not. ### **Attributes** 1. Number: A unique identifier for each record. 2. Name: The name of the individual. 3. %Red Pixel: The percentage of red pixels in the image. 4. %Green Pixel: The percentage of green pixels in the im…
【数据结构与技术规格】
文件数 1 个,合计 5.28 KB。
【主题与分类】
主题标签:health conditions。
【适用方向】
多模态数据适合跨模态对齐、融合建模与联合表征学习方向的研究。
【获取与许可】
源站页面:https://www.kaggle.com/datasets/shahriar26s/anemia-detection-dataset
使用许可:Apache 2.0。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
需登录公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
暂未开放有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
方式一:KaggleHub(Python,推荐 AI Agent 使用)
# 前置依赖: pip install kagglehub
import kagglehub
path = kagglehub.dataset_download("shahriar26s/anemia-detection-dataset")
print("数据已下载至:", path)
方式二:Kaggle CLI(命令行)
# 前置条件: 注册 Kaggle 账号, Settings > API > Create New Token
# 将 kaggle.json 放到 ~/.kaggle/ 并 chmod 600
pip install kaggle
kaggle datasets download -d shahriar26s/anemia-detection-dataset
unzip anemia-detection-dataset.zip -d anemia-detection-dataset/
数据说明
该数据集包含图像像素值和对应的血红蛋白水平,用于基于图像和血红蛋白数据预测贫血的检测任务。
数据加载示例(图像类)
from PIL import Image
import glob, os
files = (glob.glob(os.path.join(path, "**", "*.png"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.jpg"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tif"), recursive=True))
print("图像文件数:", len(files))
img = Image.open(files[0]); print("尺寸/模式:", img.size, img.mode)
# torchvision Dataset 方式:
# from torchvision import datasets
# ds = datasets.ImageFolder(path) # 要求 子目录=类别
目录组织与标注格式以源站说明和下载后实际文件为准。
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




