# debjit1702/animal-species-recognization-using-cnn architecture

> Architecture diagram of the GitHub repository debjit1702/animal-species-recognization-using-cnn, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/debjit1702/animal-species-recognization-using-cnn
- Repository: https://github.com/debjit1702/animal-species-recognization-using-cnn

## Overview

This is a notebook-based animal-image classification project. Its documented workflow is image input, CNN classification, and species prediction. The tree also contains three saved model files and two image-data directories, but no source excerpts establish how the notebook uses them or how the datasets relate to one another. The edges below reflect only the README’s stated classification behavior.

Main entry points: [`Animal_Recognization.ipynb`](https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Animal_Recognization.ipynb) (CNN classifier)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Classification workflow"]
  node_image["Animal image"]
  node_classifier["CNN classifier"]
  node_species["Predicted species"]
end

subgraph group_models["Saved models"]
  node_inception["Inception weights<br/>[Inception.h5]"]
  node_resnet["ResNet152V2 weights<br/>[ResNet152V2.h5]"]
  node_xception["Xception weights<br/>[Xception.h5]"]
end

subgraph group_data["Image data"]
  node_training[("Training images")]
  node_samples[("Sampled images")]
end

node_image -->|"classifies"| node_classifier
node_classifier -->|"predicts"| node_species

click node_classifier "https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Animal_Recognization.ipynb"
click node_inception "https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Inception.h5"
click node_resnet "https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/ResNet152V2.h5"
click node_xception "https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Xception.h5"
click node_training "https://github.com/debjit1702/animal-species-recognization-using-cnn/tree/main/Training"
click node_samples "https://github.com/debjit1702/animal-species-recognization-using-cnn/tree/main/sampled-data"

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_image,node_classifier,node_species toneBlue
class node_inception,node_resnet,node_xception toneAmber
class node_training,node_samples toneMint
```

## Components

### Classification workflow

- **Animal image**
- [CNN classifier](https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Animal_Recognization.ipynb): `Animal_Recognization.ipynb`
- **Predicted species**

### Saved models

- [Inception weights](https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Inception.h5): `Inception.h5`
- [ResNet152V2 weights](https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/ResNet152V2.h5): `ResNet152V2.h5`
- [Xception weights](https://github.com/debjit1702/animal-species-recognization-using-cnn/blob/main/Xception.h5): `Xception.h5`

### Image data

- [Training images](https://github.com/debjit1702/animal-species-recognization-using-cnn/tree/main/Training): `Training`
- [Sampled images](https://github.com/debjit1702/animal-species-recognization-using-cnn/tree/main/sampled-data): `sampled-data`

## Connections

- Animal image → CNN classifier: classifies (evidence: `README.md`)
- CNN classifier → Predicted species: predicts (evidence: `README.md`)
