# ayushexploring/ela-conv-forgery-detection architecture

> Architecture diagram of the GitHub repository ayushexploring/ela-conv-forgery-detection, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ayushexploring/ela-conv-forgery-detection
- Repository: https://github.com/ayushexploring/ela-conv-forgery-detection

## Overview

This repository presents an image-forgery detection project described as using Error Level Analysis (ELA) and a CNN. The tree contains a forgery notebook, VGG16 and VGG19 notebooks, and a saved model, but no source excerpts show how they interact. The graph therefore identifies these components without inferring runtime calls or data flow; the README names the CASIA dataset but does not document how it is used.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Image analyst"))
node_forgery["Forgery detection<br/>[forgery.ipynb]"]
node_vgg16["VGG16 notebook<br/>[VGG16.ipynb]"]
node_vgg19["VGG19 notebook<br/>[VGG19.ipynb]"]
node_model["Saved model"]
node_casia[("CASIA dataset")]

click node_forgery "https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/forgery.ipynb"
click node_vgg16 "https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/VGG16.ipynb"
click node_vgg19 "https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/VGG19.ipynb"
click node_model "https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/model_casia_run1.h5"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user,node_model toneIndigo
class node_forgery,node_vgg16,node_vgg19 toneTeal
class node_casia toneAmber
```

## Components

### Other components

- **Image analyst**
- [Forgery detection](https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/forgery.ipynb): `forgery.ipynb`
- [VGG16 notebook](https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/VGG16.ipynb): `VGG16.ipynb`
- [VGG19 notebook](https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/VGG19.ipynb): `VGG19.ipynb`
- [Saved model](https://github.com/ayushexploring/ela-conv-forgery-detection/blob/main/model_casia_run1.h5): `model_casia_run1.h5`
- **CASIA dataset**
