CASIAv1 / README.md
ThaneJoss's picture
发布 CASIAv1 图像与原始掩码 Parquet 数据集
ddfcc18 verified
|
Raw History Blame Contribute Delete
4.09 kB
---
pretty_name: 'Enhanced Parquet Edition: CASIAv1: CASIA Image Tampering Detection Evaluation
Database'
language:
- en
tags:
- parquet
- image
- image-forgery
size_categories:
- 1K<n<10K
task_categories:
- image-classification
- image-segmentation
dataset_info:
- config_name: casiav1
features:
- name: image
dtype: image
- name: mask
dtype: image
- name: sample_id
dtype: string
- name: label
dtype: int64
- name: manipulation
dtype: string
- name: source_split
dtype: string
- name: filename_source_id
dtype: string
- name: source_image_path
dtype: string
- name: source_mask_path
dtype: string
- name: width
dtype: int64
- name: height
dtype: int64
- name: has_mask
dtype: bool
splits:
- name: test
num_examples: 1720
configs:
- config_name: casiav1
default: true
data_files:
- split: test
path:
- casiav1/parquet/test-00000-of-00006.parquet
- casiav1/parquet/test-00001-of-00006.parquet
- casiav1/parquet/test-00002-of-00006.parquet
- casiav1/parquet/test-00003-of-00006.parquet
- casiav1/parquet/test-00004-of-00006.parquet
- casiav1/parquet/test-00005-of-00006.parquet
---
# Enhanced Parquet Edition: CASIAv1: CASIA Image Tampering Detection Evaluation Database
This repository packages the CASIAv1 evaluation archives distributed by [ForgeryVCR](https://huggingface.co/datasets/ForgeryVCR-Team/ForgeryVCR/tree/main/datasets/test) into Hugging Face Parquet. It contains **1,720 images**: 800 real and 920 tampered images, with **920 supplied pixel masks** and per-sample metadata.
The source images are already preprocessed to 832 × 832. This edition preserves the supplied PNG image and mask bytes.
## Subsets
| Config | Split | Rows | Image size | Pixel masks | Parquet files |
| --- | --- | ---: | --- | --- | ---: |
| `casiav1` | `test` | 1,720 | 832 × 832 | 920 supplied | 6 |
## Columns
- `image`: the supplied RGB image, decoded with the Hugging Face `Image` feature.
- `mask`: the supplied grayscale annotation; white `255` marks edited regions and black `0` marks background. Intermediate grayscale values are preserved. Authentic images have no supplied mask and use `null`.
- `label`: image-level authenticity label, **0 = real, 1 = fake**.
- `manipulation`: `real` or `tampered`.
- `sample_id`, `source_image_path`: the image path relative to the extracted release directory.
- `source_split`: `test`, following the source repository's evaluation grouping.
- `filename_source_id`: the original image filename stem.
- `source_mask_path`: the mask path relative to the extracted release directory, or `null` for authentic images.
- `width`, `height`: dimensions of the supplied image in pixels.
- `has_mask`: whether a pixel annotation is supplied.
## Metadata Files
Each configuration includes `stats.json` with split counts, manipulation counts, image dimensions, mask statistics, and Parquet shard paths and sizes.
The root `inventory.json` collects these statistics and records the source archives, total row count, shard count, and encoded byte sizes.
## Citation
If you reference CASIA, please cite the [original paper](https://doi.org/10.1109/ChinaSIP.2013.6625374):
```bibtex
@inproceedings{dong2013casia,
title={CASIA Image Tampering Detection Evaluation Database},
author={Dong, Jing and Wang, Wei and Tan, Tieniu},
booktitle={2013 IEEE China Summit and International Conference on Signal and Information Processing},
pages={422--426},
year={2013},
doi={10.1109/ChinaSIP.2013.6625374}
}
```
## Dataset Export
This Parquet edition reorganizes the [ForgeryVCR-distributed CASIAv1 archives](https://huggingface.co/datasets/ForgeryVCR-Team/ForgeryVCR/tree/main/datasets/test) and adds per-sample metadata. Please also reference this dataset repository when using the packaged version.
```bibtex
@misc{thanejoss_casiav1_2026,
author={{ThaneJoss}},
title={{CASIAv1}},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/datasets/ThaneJoss/CASIAv1},
note={Dataset available on Hugging Face}
}
```