# swarnasethu/houseitemdetection architecture

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

- Interactive diagram: https://gitdiagram.com/swarnasethu/houseitemdetection
- Repository: https://github.com/swarnasethu/houseitemdetection

## Overview

This is a small ESP32-CAM object-detection project. The documented workflow is to train and download an Edge Impulse model, add its ZIP library in Arduino IDE, upload the sketch to the camera, then power the device to detect and report Keys, Remote, and Glasses. No source excerpts were provided, so the graph shows only relationships stated in the README; implementation details such as image capture and inference are not inferred.

Main entry points: [`ei-householditems-arduino-1.0.2 (1).zip`](https://github.com/swarnasethu/houseitemdetection/blob/main/ei-householditems-arduino-1.0.2%20(1).zip) (Generated model library), [`esp32_camera.ino`](https://github.com/swarnasethu/houseitemdetection/blob/main/esp32_camera.ino) (Detection sketch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_model["Model preparation"]
  node_edge_impulse["Edge Impulse"]
  node_model_zip["Generated model library"]
end

subgraph group_device["On-device detection"]
  node_arduino_ide["Arduino IDE"]
  node_sketch["Detection sketch<br/>[esp32_camera.ino]"]
  node_esp32_cam["ESP32-CAM"]
end

node_operator(("Project operator"))

node_operator -->|"trains model"| node_edge_impulse
node_edge_impulse -->|"provides download"| node_model_zip
node_operator -->|"adds library"| node_arduino_ide
node_model_zip -->|"installed in"| node_arduino_ide
node_operator -->|"uploads sketch"| node_arduino_ide
node_arduino_ide -->|"uploads code"| node_esp32_cam
node_sketch -->|"runs on"| node_esp32_cam
node_esp32_cam -->|"reports detections"| node_operator

click node_model_zip "https://github.com/swarnasethu/houseitemdetection/blob/main/ei-householditems-arduino-1.0.2%20(1).zip"
click node_sketch "https://github.com/swarnasethu/houseitemdetection/blob/main/esp32_camera.ino"

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_edge_impulse,node_model_zip toneBlue
class node_arduino_ide,node_sketch,node_esp32_cam toneAmber
class node_operator toneIndigo
```

## Components

### Model preparation

- **Edge Impulse**
- [Generated model library](https://github.com/swarnasethu/houseitemdetection/blob/main/ei-householditems-arduino-1.0.2%20(1).zip): `ei-householditems-arduino-1.0.2 (1).zip`

### On-device detection

- **Arduino IDE**
- [Detection sketch](https://github.com/swarnasethu/houseitemdetection/blob/main/esp32_camera.ino): `esp32_camera.ino`
- **ESP32-CAM**

### Other components

- **Project operator**

## Connections

- Project operator → Edge Impulse: trains model (evidence: `README.md`)
- Edge Impulse → Generated model library: provides download (evidence: `README.md`)
- Project operator → Arduino IDE: adds library (evidence: `README.md`)
- Generated model library → Arduino IDE: installed in (evidence: `README.md`)
- Project operator → Arduino IDE: uploads sketch (evidence: `README.md`)
- Arduino IDE → ESP32-CAM: uploads code (evidence: `README.md`)
- Detection sketch → ESP32-CAM: runs on (evidence: `README.md`)
- ESP32-CAM → Project operator: reports detections (evidence: `README.md`)
