Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,77 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
splits:
|
| 15 |
-
- name: glide
|
| 16 |
-
num_bytes: 122829264.128
|
| 17 |
-
num_examples: 1024
|
| 18 |
-
download_size: 122982932
|
| 19 |
-
dataset_size: 122829264.128
|
| 20 |
-
configs:
|
| 21 |
-
- config_name: default
|
| 22 |
-
data_files:
|
| 23 |
-
- split: glide
|
| 24 |
-
path: data/glide-*
|
| 25 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: CocoGlide
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-segmentation
|
| 6 |
+
- image-to-image
|
| 7 |
+
tags:
|
| 8 |
+
- image-forgery-detection
|
| 9 |
+
- image-manipulation-localization
|
| 10 |
+
- synthetic-image-detection
|
| 11 |
+
- diffusion-inpainting
|
| 12 |
+
- GLIDE
|
| 13 |
+
- COCO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# CocoGlide Dataset Card
|
| 17 |
+
|
| 18 |
+
## Dataset Description
|
| 19 |
+
|
| 20 |
+
This dataset is a reformatted version of **CocoGlide**, a local image forgery detection and localization dataset associated with the paper **TruFor: Leveraging All-Round Clues for Trustworthy Image Forgery Detection and Localization**.
|
| 21 |
+
|
| 22 |
+
CocoGlide is built from images in the MS-COCO validation set. The fake images are generated by applying **GLIDE-based text-guided inpainting** to local image regions. Each manipulated image is paired with a binary localization mask indicating the forged region.
|
| 23 |
+
|
| 24 |
+
The dataset can be used for both:
|
| 25 |
+
|
| 26 |
+
- **Image-level forgery detection**, where the goal is to classify whether an image is real or fake.
|
| 27 |
+
- **Pixel-level forgery localization**, where the goal is to predict the manipulated region.
|
| 28 |
+
|
| 29 |
+
## Dataset Structure
|
| 30 |
+
|
| 31 |
+
Each sample contains the following fields:
|
| 32 |
+
|
| 33 |
+
| Field | Type | Description |
|
| 34 |
+
|---|---|---|
|
| 35 |
+
| `key` | string | Sample identifier or image path |
|
| 36 |
+
| `image` | image | Input image |
|
| 37 |
+
| `mask` | image | Binary forgery localization mask |
|
| 38 |
+
| `label` | int | Image-level label, where `0` means real and `1` means fake |
|
| 39 |
+
| `prompt` | string or null | Text prompt/category used for GLIDE inpainting; `null` for real images |
|
| 40 |
+
|
| 41 |
+
## Label Definition
|
| 42 |
+
|
| 43 |
+
| Label | Meaning |
|
| 44 |
+
|---|---|
|
| 45 |
+
| `0` | Real image |
|
| 46 |
+
| `1` | GLIDE-inpainted fake image |
|
| 47 |
+
|
| 48 |
+
For real images, the corresponding mask should be treated as an all-zero mask.
|
| 49 |
+
|
| 50 |
+
## Intended Use
|
| 51 |
+
|
| 52 |
+
This dataset is intended for research on:
|
| 53 |
+
|
| 54 |
+
- Image forgery detection
|
| 55 |
+
- Image manipulation localization
|
| 56 |
+
- AI-generated image detection
|
| 57 |
+
- Diffusion-based inpainting forgery detection
|
| 58 |
+
- Robustness evaluation of forensic models
|
| 59 |
+
|
| 60 |
+
Typical evaluation settings include:
|
| 61 |
+
|
| 62 |
+
- Image-level metrics: Accuracy, AUC, AP, F1
|
| 63 |
+
- Pixel-level metrics: F1, IoU, AUC, localization AP
|
| 64 |
+
|
| 65 |
+
## Source Paper
|
| 66 |
+
|
| 67 |
+
This dataset should be cited through the following paper:
|
| 68 |
+
|
| 69 |
+
```bibtex
|
| 70 |
+
@InProceedings{Guillaro_2023_CVPR,
|
| 71 |
+
author = {Guillaro, Fabrizio and Cozzolino, Davide and Sud, Avneesh and Dufour, Nicholas and Verdoliva, Luisa},
|
| 72 |
+
title = {TruFor: Leveraging All-Round Clues for Trustworthy Image Forgery Detection and Localization},
|
| 73 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 74 |
+
month = {June},
|
| 75 |
+
year = {2023},
|
| 76 |
+
pages = {20606--20615}
|
| 77 |
+
}
|