# nnswa/deteksi-gestur-tangan-menggunakan-metode-svm architecture

> Architecture diagram of the GitHub repository nnswa/deteksi-gestur-tangan-menggunakan-metode-svm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm
- Repository: https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm

## Overview

This is a small hand-gesture detection project using an SVM. The Python script describes a training workflow—filtering EMG samples, extracting waveform-length features, training and evaluating SVM models, and exporting C++ headers—while the repository also contains an Arduino sketch and an SVM header. The README confirms the product purpose, but the sketch and notebook contents were not sampled, so their runtime wiring and the relationship between the checked-in header and training output cannot be verified.

Main entry points: [`SVM using micromlgen.py`](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/SVM%20using%20micromlgen.py) (SVM training), [`main-SVM.ino`](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/main-SVM.ino) (Arduino sketch), [`svm_model.h`](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/svm_model.h) (SVM model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_modeling["Model development"]
  node_training["SVM training"]
  node_dataset["EMG dataset"]
  node_notebook["Training notebook"]
end

subgraph group_device["Embedded inference"]
  node_firmware["Arduino sketch<br/>[main-SVM.ino]"]
  node_model["SVM model<br/>[svm_model.h]"]
end

node_user(("Gesture user"))

node_user -.->|"detects gestures"| node_firmware
node_training -.->|"exports model"| node_model

click node_training "https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/SVM%20using%20micromlgen.py"
click node_dataset "https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/emg-data-10-subjects.csv"
click node_notebook "https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/SVM%20using%20micomlgen.ipynb"
click node_firmware "https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/main-SVM.ino"
click node_model "https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/svm_model.h"

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_training,node_dataset,node_notebook,node_user toneBlue
class node_firmware,node_model toneAmber
```

## Components

### Model development

- [SVM training](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/SVM%20using%20micromlgen.py): `SVM using micromlgen.py`
- [EMG dataset](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/emg-data-10-subjects.csv): `emg-data-10-subjects.csv`
- [Training notebook](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/SVM%20using%20micomlgen.ipynb): `SVM using micomlgen.ipynb`

### Embedded inference

- [Arduino sketch](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/main-SVM.ino): `main-SVM.ino`
- [SVM model](https://github.com/nnswa/deteksi-gestur-tangan-menggunakan-metode-svm/blob/main/svm_model.h): `svm_model.h`

### Other components

- **Gesture user**

## Connections

- Gesture user → Arduino sketch: detects gestures (evidence: `README.md`)
- SVM training → SVM model: exports model
