task_categories:image-classification size_categories:n<1K format:imagefolder modality:image library:datasets library:mlcroissant region:us
---
task_categories:
- image-classification
---
# C2PA_Certified_Image_Authenticity

## Description
This dataset contains a collection of images verified and signed using **C2PA** technology. Each image includes metadata specifying whether it was generated by artificial intelligence or captured/edited by a human. The goal of this dataset is to provide a reliable source of authenticated images for AI training or research and development of detection tools.

## Dataset Content
- **Images**: A set of random internet images.
- **C2PA Metadata**: Each image is digitally signed with information about its origin (AI or human).
- **Annotation File** (`metadata.json`): Contains details about each image, including:
  - `filename`: Image name.
  - `ai_detection_result`: `Likely Generated` if the image was AI-generated, `Likely human` otherwise.
  - `c2pa_signature`: Information about the digital signature.

## Usage
This dataset can be used for:
- Research on detecting AI-generated images.
- Training classification models.
- Studying the reliability of digital certifications for images.

## Example: Loading the Dataset
```python
from datasets import load_dataset

dataset = load_dataset("TrustMyContent/C2PA_Certified_Image_Authenticity")
print(dataset["train"][0])
```

## C2PA Manifest Example
Each image in this dataset is signed using a C2PA manifest. Below is an example of the JSON structure:

```json
{
  "title": "{filename}",
  "assertions": [
    {
      "label": "com.trustmycontent",
      "data": {
        "description": "{description}",
        "uncovai": {
          "ai_detection_result": "Likely human",
          "ai_detection_tool" : "UncovAI"
        }
      }
    }
  ]
}
```

This manifest provides metadata regarding the authenticity and verification of each image. The `ai_detection_result` field indicates whether the image was generated by AI or not, based on the UncovAI detection tool.

## License
This dataset is distributed under the **CC-BY 4.0** license, meaning you are free to use it as long as you credit the author.

## References
- [C2PA (Coalition for Content Provenance and Authenticity)](https://c2pa.org/)
- [Hugging Face Datasets](https://huggingface.co/docs/datasets)

## Contact
If you have any questions or suggestions, feel free to open an issue or contact me on Hugging Face!