Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: UnicodeDecodeError
Message: 'utf-8' codec can't decode byte 0x93 in position 0: invalid start byte
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/text/text.py", line 98, in _generate_tables
batch = f.read(self.config.chunksize)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 844, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 0: invalid start byte
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string |
|---|
**Foxing\_feces** contains: |
* **dataset\_combo\_alpha** - combination of synthetic (generated with Alpha blending) and real data (Real test data). |
* **dataset\_combo\_cmyk** - combination of synthetic (generated with Cmyk blending) and real data (Real test data). |
* **syn\_dataset\_alpha -** only synthetic data generated with alpha blending (Real test data). |
* **syn\_dataset\_cmyk -** only synthetic data generated with cmyk blending (Real test data). |
* **real\_dataset -** only real data. |
**Fungi\_bacteria** contains: |
* **syn\_alpha_blend -** 12 classes (6- bacteria, 6-fungus) - all synthetic data generated with alpha blend method. |
* **syn\_cmyk_blend -** 12 classes (6- bacteria, 6-fungus) - all synthetic data generated with cmyk blend method. |
* **syn\_cmyk\_texture -** 12 classes (6- bacteria, 6-fungus) - all synthetic data generated with cmyk texture method. |
* **syn\_cmyk\_texture\_feather_noise -** 12 classes (6- bacteria, 6-fungus) - all synthetic data generated with cmyk texture feather noise method. |
* **syn\_copy\_paste -** 12 classes (6- bacteria, 6-fungus) - all synthetic data generated with copy paste method. |
# foxing_project_try > 2025-04-04 7:19pm |
https://universe.roboflow.com/bakalarka-ofbvw/foxing_project_try |
Provided by a Roboflow user |
License: CC BY 4.0 |
**dataset_combo** |
**Version:** 2025-04-04 |
**Exported via:** [Roboflow](https://roboflow.com) |
**Annotation format:** YOLOv8 |
**Total images:** 1,512 |
## Dataset Description |
This dataset contains annotations of stains found on historical documents for the purpose of object detection model training. It includes five stain categories: **foxing and feces**. |
The dataset was created as part of the **HIPSI research project** (APVV-23-0250), in collaboration with the **Institute of Molecular Biology of the Slovak Academy of Sciences** and the **Academy of Fine Arts and Design in Bratislava (VŠVU)**. |
Images were partially annotated and preprocessed using **Roboflow**, and exported in **YOLOv8 format**. |
## Image Preprocessing |
Each image was processed as follows: |
- Auto-orientation correction (EXIF orientation removed) |
- Resized to **1280x1280** (stretched) |
## Augmentation (3 variants per image) |
The following augmentations were applied: |
- **50% probability of horizontal flip** |
- **Random 90° rotation**: none / clockwise / counterclockwise / upside-down (equal chance) |
- **Random crop**: 0–20% of the image |
- **Random rotation**: between -15° and +15° |
- **Random brightness adjustment**: ±15% |
- **Random exposure adjustment**: ±10% |
## License |
This dataset is intended for **research and non-commercial use only**. |
foxing_project_try - v29 2025-04-04 7:19pm |
============================== |
This dataset was exported via roboflow.com on April 4, 2025 at 5:23 PM GMT |
Roboflow is an end-to-end computer vision platform that helps you |
* collaborate with your team on computer vision projects |
* collect & organize images |
* understand and search unstructured image data |
* annotate, and create datasets |
* export, train, and deploy computer vision models |
* use active learning to improve your dataset over time |
For state of the art Computer Vision training notebooks you can use with this dataset, |
visit https://github.com/roboflow/notebooks |
To find over 100k other datasets and pre-trained models, visit https://universe.roboflow.com |
The dataset includes 1512 images. |
Stains-KqL0 are annotated in YOLOv8 format. |
The following pre-processing was applied to each image: |
* Auto-orientation of pixel data (with EXIF-orientation stripping) |
* Resize to 1280x1280 (Stretch) |
The following augmentation was applied to create 3 versions of each source image: |
* 50% probability of horizontal flip |
* Equal probability of one of the following 90-degree rotations: none, clockwise, counter-clockwise, upside-down |
* Randomly crop between 0 and 20 percent of the image |
* Random rotation of between -15 and +15 degrees |
* Random brigthness adjustment of between -15 and +15 percent |
* Random exposure adjustment of between -10 and +10 percent |
train: ../train/images |
val: ../valid/images |
test: ../test/images |
nc: 2 |
names: ['0', '5'] |
Biological Degradation Datasets for Historical Documents
These datasets were created to support research on the automatic localization of biological degradation in historical documents and were used in the experiments presented in the accompanying publication.
The repository contains two complementary groups of datasets:
- Foxing and insect-induced degradation
- Fungal and bacterial degradation
The synthetic datasets were generated using multiple compositing strategies, including direct copy-paste, alpha blending, and CMYK-based approaches.
Dataset Structure
1. Foxing_feces
This directory contains datasets derived from naturally occurring foxing stains and insect-induced degradation observed in historical documents.
dataset_combo_alpha
Combined dataset containing real historical document images and synthetic images generated using the alpha-based blending approach.
dataset_combo_cmyk
Combined dataset containing real historical document images and synthetic images generated using the CMYK-based compositing approach.
syn_dataset_alpha
Dataset containing only synthetic images generated using the alpha-based blending approach.
The corresponding detector was evaluated on real historical document images.
syn_dataset_cmyk
Dataset containing only synthetic images generated using the CMYK-based compositing approach.
The corresponding detector was evaluated on real historical document images.
real_dataset
Dataset containing only real annotated historical document images with foxing and insect-induced degradation.
2. Fungi_bacteria
This directory contains synthetic datasets generated from laboratory-prepared microbial degradation samples.
The source collection contains 12 microbial classes, consisting of 6 bacterial and 6 fungal classes:
- Epicoccum layuense — fungus; 16 samples
- Exiguobacterium indicum — bacterium; 20 samples
- Alternaria alternata — fungus; 15 samples
- Aspergillus ochraceus — fungus; 15 samples
- Talaromyces purpureogenus — fungus; 8 samples
- Micrococcus sp. — bacterium; 8 samples
- Sphingomonas aquatilis — bacterium; 8 samples
- Curtobacterium flaccumfaciens — bacterium; 7 samples
- Rhodococcus degradans — bacterium; 7 samples
- Penicillium manginii — fungus; 8 samples
- Arthrobacter sp. — bacterium; 8 samples
- Cladosporium pseudocladosporioides — fungus; 7 samples
The same source stains, historical document backgrounds, deterministic generation plans, positions, scales, and rotations were used across all synthetic variants. The datasets therefore differ primarily in the compositing method applied.
syn_copy_paste
Synthetic dataset generated using direct copy-paste without additional blending.
syn_alpha_blend
Synthetic dataset generated using the alpha-blending approach.
syn_cmyk_blend
Synthetic dataset generated using the CMYK-based blending approach.
syn_cmyk_texture
Synthetic dataset generated using CMYK-based blending with texture preservation.
syn_cmyk_texture_feather_noise
Synthetic dataset generated using CMYK-based blending with texture preservation, feathering, and noise-based transition masks.
Annotation Format
All datasets are annotated using the YOLO object detection format.
Each annotation file contains one object per line in the following format:
<class_id> <x_center> <y_center> <width> <height>
Bounding-box coordinates are normalized to the range [0, 1].
Class Mapping
Foxing_feces
| Class ID | Class |
|---|---|
| 0 | Foxing |
| 1 | Insect-induced degradation |
Fungi_bacteria
| Class ID | Species |
|---|---|
| 0 | Sphingomonas aquatilis |
| 1 | Rhodococcus degradans |
| 2 | Micrococcus sp. |
| 3 | Curtobacterium flaccumfaciens |
| 4 | Epicoccum layuense |
| 5 | Cladosporium pseudocladosporioides |
| 6 | Exiguobacterium indicum |
| 7 | Arthrobacter sp. |
| 8 | Talaromyces purpureogenus |
| 9 | Penicillium manginii |
| 10 | Aspergillus ochraceus |
| 11 | Alternaria alternata |
Experimental Use
Dataset A – Foxing and Insect-Induced Degradation
Models were trained using:
- synthetic-only data
- real-only data
- combined real and synthetic data
All models were evaluated on the same independent set of real historical document images.
Two synthetic compositing approaches were compared:
- Alpha-based blending
- CMYK-based compositing
Dataset B – Fungi and Bacteria
Five synthetic compositing strategies were compared:
- Direct copy-paste
- Alpha blending
- CMYK blending
- CMYK blending with texture preservation
- CMYK blending with texture preservation, feathering, and noise
All models were trained and evaluated under the same deterministic experimental configuration.
Intended Use
The datasets are intended primarily for research in:
- cultural heritage preservation
- historical document analysis
- biological degradation detection
- object detection
- synthetic data generation
- synthetic-to-real evaluation
- domain adaptation
Limitations
The datasets are based on a finite collection of extracted degradation samples.
Although geometric transformations, different historical document backgrounds, and multiple compositing strategies increase visual variability, the generated samples remain derived from the available source stains.
For the microbial benchmark, the reported test data are synthetic. Therefore, performance on these datasets should not be interpreted as direct evidence of generalization to real historical documents containing microbial degradation.
An independent real-world microbial degradation dataset is required for synthetic-to-real evaluation.
License
This dataset is distributed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
The dataset may be used for non-commercial research and academic purposes with appropriate attribution.
Associated Publication
This dataset accompanies the paper:
M. Grznárová et al.
“Synthetic Dataset Generation and Object Detection Benchmarking for Biological Stain Analysis in Historical Documents”
IEEE ICCP 2026.
Citation
If you use this dataset in your research, please cite the dataset and the associated publication.
Dataset citation
Grznárová, M. (2026).
Biological Degradation Datasets for Historical Documents.
Hugging Face Datasets.
Dataset repository:
https://huggingface.co/datasets/YOUR_USERNAME/YOUR_DATASET_NAME
BibTeX
@dataset{grznarova2026biologicaldegradation,
author = {Grznárová, Miriam},
title = {Biological Degradation Datasets for Historical Documents},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/Melissa21/Historical-Document-Stain-Compositing-Benchmark}
}
Contact
For questions related to the dataset, please contact:
Miriam Grznárová
Faculty of Mathematics, Physics and Informatics
Comenius University Bratislava, Slovakia
- Downloads last month
- 32