Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
37
37
1 0.225217 0.182609 0.217391 0.229565
1 0.903478 0.753043 0.189565 0.243478
1 0.121739 0.898261 0.233043 0.200000
1 0.093043 0.340870 0.186087 0.215652
1 0.881739 0.945217 0.233043 0.106087
1 0.105217 0.082609 0.210435 0.161739
1 0.565217 0.194783 0.226087 0.229565
1 0.101739 0.561739 0.203478 0.215652
1 0.750435 0.326957 0.227826 0.250435
1 0.920000 0.417391 0.156522 0.240000
1 0.409565 0.916522 0.217391 0.163478
0 0.507826 0.515652 0.462609 0.478261
1 0.833043 0.536522 0.222609 0.234783
1 0.791304 0.735652 0.222609 0.191304
1 0.113889 0.655647 0.227778 0.225895
1 0.069444 0.449036 0.133333 0.242424
1 0.134722 0.300275 0.258333 0.247934
1 0.213889 0.833333 0.222222 0.217631
1 0.230556 0.151515 0.261111 0.242424
1 0.352778 0.725895 0.238889 0.250689
1 0.870833 0.579890 0.230556 0.239669
1 0.426389 0.944904 0.241667 0.104683
1 0.834722 0.398072 0.219444 0.305785
0 0.505556 0.487603 0.372222 0.374656
1 0.534722 0.866391 0.197222 0.228650
1 0.275000 0.389807 0.172222 0.272727
1 0.597391 0.913043 0.220870 0.170435
1 0.089565 0.287826 0.179130 0.217391
1 0.849565 0.544348 0.248696 0.226087
1 0.456522 0.143478 0.245217 0.255652
1 0.900000 0.307826 0.196522 0.243478
1 0.754783 0.736522 0.226087 0.238261
1 0.224348 0.060870 0.229565 0.118261
1 0.659130 0.057391 0.253913 0.114783
1 0.066957 0.777391 0.130435 0.215652
1 0.923478 0.083478 0.149565 0.163478
1 0.193043 0.614783 0.215652 0.231304
1 0.123478 0.481739 0.243478 0.215652
0 0.477391 0.492174 0.464348 0.466087
1 0.069444 0.409091 0.138889 0.245179
1 0.083333 0.165289 0.166667 0.236915
1 0.737500 0.104683 0.247222 0.209366
1 0.172222 0.926997 0.250000 0.140496
1 0.226389 0.735537 0.247222 0.247934
1 0.884722 0.263085 0.225000 0.250689
1 0.475000 0.085399 0.255556 0.170799
1 0.270833 0.166667 0.208333 0.212121
1 0.636111 0.774105 0.233333 0.236915
1 0.777778 0.630854 0.233333 0.231405
1 0.848611 0.818182 0.202778 0.242424
0 0.502778 0.497245 0.411111 0.443526
1 0.326957 0.110435 0.219130 0.217391
1 0.137391 0.921739 0.243478 0.153043
1 0.822609 0.103478 0.222609 0.206957
1 0.108696 0.200000 0.213913 0.281739
1 0.559130 0.093043 0.231304 0.186087
1 0.897391 0.793043 0.201739 0.243478
1 0.166087 0.480000 0.213913 0.253913
1 0.798261 0.548696 0.215652 0.307826
1 0.504348 0.873043 0.215652 0.208696
1 0.855652 0.446087 0.222609 0.213913
0 0.482609 0.411304 0.467826 0.544348
1 0.153913 0.726957 0.266087 0.226087
1 0.316522 0.725217 0.233043 0.229565
1 0.633913 0.806957 0.196522 0.212174
1 0.286957 0.935652 0.253913 0.125217
1 0.086087 0.128696 0.172174 0.253913
1 0.906087 0.703478 0.184348 0.280000
1 0.192174 0.580000 0.266087 0.290435
1 0.886957 0.298261 0.212174 0.280000
1 0.731304 0.163478 0.172174 0.243478
1 0.604348 0.899130 0.238261 0.198261
1 0.899130 0.071304 0.187826 0.142609
1 0.734783 0.651304 0.241739 0.283478
1 0.500870 0.730435 0.243478 0.212174
1 0.105217 0.345217 0.210435 0.227826
1 0.714783 0.947826 0.246957 0.100870
1 0.311304 0.345217 0.201739 0.280000
0 0.503478 0.494783 0.356522 0.328696
1 0.925000 0.337466 0.144444 0.256198
1 0.116667 0.643251 0.211111 0.239669
1 0.908333 0.585399 0.177778 0.223140
1 0.377778 0.210744 0.272222 0.272727
1 0.766667 0.075758 0.233333 0.146006
1 0.765278 0.666667 0.191667 0.264463
1 0.350000 0.893939 0.255556 0.206612
1 0.744444 0.276860 0.238889 0.223140
1 0.298611 0.690083 0.208333 0.256198
1 0.168056 0.347107 0.236111 0.269972
1 0.627778 0.910468 0.266667 0.173554
1 0.898611 0.823691 0.197222 0.220386
1 0.558333 0.760331 0.261111 0.209366
0 0.501080 0.498623 0.374383 0.396694
1 0.585938 0.826172 0.226562 0.238281
1 0.109375 0.529297 0.218750 0.222656
1 0.220703 0.699219 0.246094 0.226562
1 0.404297 0.580078 0.222656 0.269531
1 0.140625 0.906250 0.265625 0.171875
1 0.250000 0.148438 0.250000 0.250000
1 0.923828 0.859375 0.136719 0.265625
End of preview. Expand in Data Studio

TXL-PBC-corrected — Peripheral Blood Cell Detection Dataset

DOI

A corrected version of the TXL-PBC dataset (Gan, Li & Wang, Scientific Data 12, 1694, 2025). TXL-PBC integrates four publicly available blood-cell datasets — BCCD, BCDD, PBC and Raabin-WBC — into a single YOLO-format detection benchmark for three cell types: WBC (white blood cell), RBC (red blood cell) and Platelets.

This release is identical to the published TXL-PBC, except that 4 duplicate images were removed (see Changes in this version).

中文说明见文末 中文版说明。

Dataset at a glance

Item Value
Images 1,256 (.png)
Labels 1,256 (YOLO .txt, one per image)
Classes 3 — WBC, RBC, Platelets
Total boxes 18,098
Split train 878 / val 252 / test 126 (7 : 2 : 1)
Original release (paper) 1,260 images / 18,143 boxes

Boxes per class

Class id train val test total
WBC (white blood cell) 0 904 257 133 1,294
RBC (red blood cell) 1 11,179 3,383 1,699 16,261
Platelets 2 382 112 49 543

Directory structure

.
├── images/
│   ├── train/   # 878 png
│   ├── val/     # 252 png
│   └── test/    # 126 png
├── labels/
│   ├── train/   # 878 YOLO txt
│   ├── val/     # 252 YOLO txt
│   └── test/    # 126 YOLO txt
├── data.yaml                    # Ultralytics / YOLO dataset config
├── metadata_file.xlsx           # image filename → source dataset mapping (original 1,260 sample)
├── BCCD_selection.xlsx          # selected / excluded BCCD images
├── manual_annotation_protocol.pdf  # annotation guidelines
└── LICENSE

Label format

Standard YOLO, one line per object, coordinates normalized to [0, 1]:

class_id  x_center  y_center  width  height

class_id → 0 = WBC, 1 = RBC, 2 = Platelets (see data.yaml).

Data sources

TXL-PBC is built by integrating and re-annotating four public datasets. Image counts below refer to this release:

Source dataset Images Original resource
PBC (Peripheral Blood Cells) 500 https://www.kaggle.com/datasets/orvile/microscopic-peripheral-blood-cell-images
Raabin-WBC 496 https://universe.roboflow.com/ld/raabin-wbc-klasyfikacja
BCCD (Blood Cell Count and Detection) 160 https://github.com/Shenggan/BCCD_Dataset
BCDD (Blood Cell Detection Dataset) 100 https://huggingface.co/datasets/draaslan/blood-cell-detection

During integration the images were randomly shuffled and renamed (to opaque hashes) so that no source-specific naming leaks into the dataset. The original→new filename mapping is provided in metadata_file.xlsx.

Annotation

  • Initial manual annotation — 250 images were manually annotated to bootstrap the model (100 from PBC, 100 from Raabin-WBC, 30 from BCCD, 20 from BCDD).
  • Semi-automatic annotation — a YOLOv8n model trained on those 250 images was used to pre-label the remaining images.
  • Manual review — every image was then reviewed by a human annotator; a second annotator independently cross-checked the labels (cell type, box placement, missed cells).
  • Tool — X-AnyLabeling.
  • Only cells that could be confidently identified were annotated; ambiguous, severely overlapping or heavily blurred cells were intentionally left unlabeled.

Full guidelines: manual_annotation_protocol.pdf.

Usage

from ultralytics import YOLO

model = YOLO("yolo11n.pt")
model.train(data="data.yaml", epochs=100, imgsz=640)

metrics = model.val()   # evaluates on images/test/

data.yaml:

train: ./images/train/
val: ./images/val/
test: ./images/test/
nc: 3
names: ['WBC', 'RBC', 'Platelets']

Changes in this version

4 duplicate images (45 bounding boxes in total) were identified and removed from the original 1,260-image release. All four originate from the Raabin-WBC source:

Original filename This release Source
20190527_114537_1.jpg d6ad3bd3e1045bbc9b043eea97f4d5a7.png Raabin-WBC
20190531_105858_0.jpg 6d88c26f2a1e5726b61aae8bdb7dc05a.png Raabin-WBC
95-5-5-1_108_1.jpg 3d07f563f41d569bb6b50ca695aae52f.png Raabin-WBC
95-8-10-1_980_1.jpg cfe62fbac85b51e6a178e11a91b0d1e3.png Raabin-WBC

Result: 1,260 → 1,256 images, 18,143 → 18,098 boxes. metadata_file.xlsx still documents the original 1,260-image sample (including these four rows).

Citation

If you use this dataset, please cite the TXL-PBC paper:

Gan, L., Li, X. & Wang, X. A Curated and Re-annotated Peripheral Blood Cell Dataset Integrating Four Public Resources. Sci Data 12, 1694 (2025). https://doi.org/10.1038/s41597-025-05980-z

@article{gan2025curated,
  title={A Curated and Re-annotated Peripheral Blood Cell Dataset Integrating Four Public Resources},
  author={Gan, Lu and Li, Xi and Wang, Xichun},
  journal={Scientific Data},
  volume={12},
  number={1},
  pages={1694},
  year={2025},
  publisher={Nature Publishing Group UK London}
}

If you use this corrected release, please cite it as well. It is not identical to the original 1,260-image sample: four duplicate images were removed and the labels and documentation were corrected, so a citation to the paper alone does not describe this version.

@misc{txlpbc_corrected,
  author    = {KeenForgeAI},
  title     = {TXL-PBC-corrected: a corrected release of the TXL-PBC peripheral blood cell dataset},
  year      = {2026},
  version   = {1.0},
  publisher = {KeenForgeAI},
  doi       = {10.57967/hf/10527},
url       = {https://huggingface.co/datasets/KeenForgeAI/TXL-PBC-corrected},
  note      = {Curated by Lu Gan and Sam Li. Derived from Gan et al. (2025),
               doi:10.1038/s41597-025-05980-z.}
}

The annotation tool (optional):

@software{keenforge,
  author    = {KeenForgeAI},
  title     = {KeenForge: a local-first, offline image annotation and model-training desktop tool},
  year      = {2026},
  publisher = {KeenForgeAI},
  url       = {https://github.com/KeenForgeAI/KeenForge},
  note      = {MIT licensed. Developed by Lu Gan and Sam Li.}
}

Source dataset references

@dataset{BCCD,
  author = {Shenggan and Nicolas Chen and cosmicad and akshaylamba},
  title  = {BCCD: Blood Cell Count and Detection},
  year   = {2018},
  url    = {https://github.com/Shenggan/BCCD_Dataset}
}

@article{acevedo2020dataset,
  title={A dataset of microscopic peripheral blood cell images for development of automatic recognition systems},
  author={Acevedo, Andrea and Merino, Anna and Alf{\'e}rez, Santiago and Molina, {\'A}ngel and Bold{\'u}, Laura and Rodellar, Jos{\'e}},
  journal={Data in Brief},
  volume={30},
  pages={105474},
  year={2020},
  doi={10.1016/j.dib.2020.105474}
}

@article{kouzehkanan2022large,
  title={A large dataset of white blood cells containing cell locations and types, along with segmented nuclei and cytoplasm},
  author={Mousavi Kouzehkanan, Zahra and Saghari, Sepehr and Tavakoli, Sajad and Rostami, Peyman and Abaszadeh, Mohammadjavad and Mirzadeh, Farzaneh and others},
  journal={Scientific Reports},
  volume={12},
  number={1},
  pages={1123},
  year={2022},
  doi={10.1038/s41598-021-04426-x}
}

@misc{BCDD,
  title  = {Blood Cell Detection Dataset (BCDD)},
  author = {draaslan},
  url    = {https://github.com/draaslan/blood-cell-detection-dataset}
}

License

Released under the MIT License (see LICENSE), following the original TXL-PBC release. Please also credit the four source datasets listed above.

Links


中文版说明

这是 TXL-PBC 外周血细胞检测数据集的修正版(原论文:Gan, Li & Wang, Scientific Data 12, 1694, 2025)。 TXL-PBC 由四个公开血液细胞数据集整合再标注而成:BCCD、BCDD、PBC、Raabin-WBC,统一为 YOLO 格式, 共 3 类:WBC(白细胞)、RBC(红细胞)、Platelets(血小板)。

本版本与已发表的 TXL-PBC 一致,唯一区别是删除了 4 张重复图片。

项目 数值
图片 1,256 张(png)
标签 1,256 个(YOLO txt)
类别 3 类:WBC / RBC / Platelets
总框数 18,098
划分 训练 878 / 验证 252 / 测试 126(7:2:1)
原论文版本 1,260 张 / 18,143 框

各类别框数:WBC 1,294 | RBC 16,261 | Platelets 543

本版改动:删除 4 张重复图片(共 45 个框),均来自 Raabin-WBC 源 —— 20190527_114537_1.jpg、20190531_105858_0.jpg、95-5-5-1_108_1.jpg、95-8-10-1_980_1.jpg。 图片数 1,260 → 1,256,框数 18,143 → 18,098。

标注流程:先人工标注 250 张训练 YOLOv8n → 半自动预标注其余图片 → 人工逐张复核 → 第二位标注员交叉复核。工具:X-AnyLabeling。 详细规范见 manual_annotation_protocol.pdf。

数据来源:PBC(500 张)、Raabin-WBC(496 张)、BCCD(160 张)、BCDD(100 张); 整合时随机打乱并重命名为哈希文件名,原始名与来源对照见 metadata_file.xlsx。

许可:MIT(沿用原 TXL-PBC 发布许可);请同时注明上述四个源数据集。

引用:Gan, L., Li, X. & Wang, X. Sci Data 12, 1694 (2025). https://doi.org/10.1038/s41597-025-05980-z

Downloads last month
191