# sam-single/realwaste architecture

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

- Interactive diagram: https://gitdiagram.com/sam-single/realwaste
- Repository: https://github.com/sam-single/realwaste

## Overview

RealWaste is an image dataset for waste classification, organized into nine material categories. The README documents the category names and image counts, but no source excerpts describe a processing or user workflow; the graph therefore represents the dataset and its documented categories only.

Main entry points: [`RealWaste`](https://github.com/sam-single/realwaste/tree/main/RealWaste) (RealWaste dataset), [`RealWaste/Cardboard`](https://github.com/sam-single/realwaste/tree/main/RealWaste/Cardboard) (Cardboard), [`RealWaste/Food Organics`](https://github.com/sam-single/realwaste/tree/main/RealWaste/Food%20Organics) (Food Organics), [`RealWaste/Glass`](https://github.com/sam-single/realwaste/tree/main/RealWaste/Glass) (Glass)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_waste_images["Waste image dataset"]
  node_dataset[("RealWaste dataset")]
  node_cardboard["Cardboard"]
  node_food_organics["Food Organics"]
  node_glass["Glass"]
  node_metal["Metal"]
  node_misc_trash["Miscellaneous Trash"]
  node_paper["Paper"]
  node_plastic["Plastic"]
  node_textile_trash["Textile Trash"]
  node_vegetation["Vegetation"]
end

node_dataset -->|"includes category"| node_cardboard
node_dataset -->|"includes category"| node_food_organics
node_dataset -->|"includes category"| node_glass
node_dataset -->|"includes category"| node_metal
node_dataset -->|"includes category"| node_misc_trash
node_dataset -->|"includes category"| node_paper
node_dataset -->|"includes category"| node_plastic
node_dataset -->|"includes category"| node_textile_trash
node_dataset -->|"includes category"| node_vegetation

click node_dataset "https://github.com/sam-single/realwaste/tree/main/RealWaste"
click node_cardboard "https://github.com/sam-single/realwaste/tree/main/RealWaste/Cardboard"
click node_food_organics "https://github.com/sam-single/realwaste/tree/main/RealWaste/Food%20Organics"
click node_glass "https://github.com/sam-single/realwaste/tree/main/RealWaste/Glass"
click node_metal "https://github.com/sam-single/realwaste/tree/main/RealWaste/Metal"
click node_misc_trash "https://github.com/sam-single/realwaste/tree/main/RealWaste/Miscellaneous%20Trash"
click node_paper "https://github.com/sam-single/realwaste/tree/main/RealWaste/Paper"
click node_plastic "https://github.com/sam-single/realwaste/tree/main/RealWaste/Plastic"
click node_textile_trash "https://github.com/sam-single/realwaste/tree/main/RealWaste/Textile%20Trash"
click node_vegetation "https://github.com/sam-single/realwaste/tree/main/RealWaste/Vegetation"

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_dataset,node_cardboard,node_food_organics,node_glass,node_metal,node_misc_trash,node_paper,node_plastic,node_textile_trash,node_vegetation toneBlue
```

## Components

### Waste image dataset

- [RealWaste dataset](https://github.com/sam-single/realwaste/tree/main/RealWaste): `RealWaste`
- [Cardboard](https://github.com/sam-single/realwaste/tree/main/RealWaste/Cardboard): `RealWaste/Cardboard`
- [Food Organics](https://github.com/sam-single/realwaste/tree/main/RealWaste/Food%20Organics): `RealWaste/Food Organics`
- [Glass](https://github.com/sam-single/realwaste/tree/main/RealWaste/Glass): `RealWaste/Glass`
- [Metal](https://github.com/sam-single/realwaste/tree/main/RealWaste/Metal): `RealWaste/Metal`
- [Miscellaneous Trash](https://github.com/sam-single/realwaste/tree/main/RealWaste/Miscellaneous%20Trash): `RealWaste/Miscellaneous Trash`
- [Paper](https://github.com/sam-single/realwaste/tree/main/RealWaste/Paper): `RealWaste/Paper`
- [Plastic](https://github.com/sam-single/realwaste/tree/main/RealWaste/Plastic): `RealWaste/Plastic`
- [Textile Trash](https://github.com/sam-single/realwaste/tree/main/RealWaste/Textile%20Trash): `RealWaste/Textile Trash`
- [Vegetation](https://github.com/sam-single/realwaste/tree/main/RealWaste/Vegetation): `RealWaste/Vegetation`

## Connections

- RealWaste dataset → Cardboard: includes category (evidence: `README.md`)
- RealWaste dataset → Food Organics: includes category (evidence: `README.md`)
- RealWaste dataset → Glass: includes category (evidence: `README.md`)
- RealWaste dataset → Metal: includes category (evidence: `README.md`)
- RealWaste dataset → Miscellaneous Trash: includes category (evidence: `README.md`)
- RealWaste dataset → Paper: includes category (evidence: `README.md`)
- RealWaste dataset → Plastic: includes category (evidence: `README.md`)
- RealWaste dataset → Textile Trash: includes category (evidence: `README.md`)
- RealWaste dataset → Vegetation: includes category (evidence: `README.md`)
