Skip to content

Commit

Permalink
📝 added puml diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Jan 30, 2022
1 parent 2347c97 commit 10c1960
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
compiler: pdflatex
args: -interaction=nonstopmode -shell-escape
- name: prepare folder
run: mkdir docs && cp manual/manual.pdf docs
run: mkdir -p docs && cp manual/manual.pdf docs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ornithology-pi"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["Christian <[email protected]>"]
description = "Capture birds in your garden, running on raspberry pi."
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# OrnithologyPi
Capture birds in your garden, running on raspberry pi.

![Overview](https://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/chriamue/ornithology-pi/main/docs/overview.puml)

## Quickstart

### Webcam example
Expand Down
37 changes: 37 additions & 0 deletions docs/overview.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@startuml overview

node Browser {
card WebPage
card LocalPage
}

node RaspberryPi {
card HTTP
card Bluetooth

node OrnithologyApp {
card Capture
card CropImage
card IdentifyBird
card ServeDetection
card Server
card Gatt
}
}

card WebCam

WebPage --> Bluetooth
LocalPage --> HTTP

WebCam --> Capture
Capture --> Server
Capture -> CropImage
CropImage -> IdentifyBird
IdentifyBird -> ServeDetection
ServeDetection -> Server
Server --> HTTP
ServeDetection -> Gatt
Gatt --> Bluetooth

@enduml
4 changes: 4 additions & 0 deletions ornithology-pi.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[default.shutdown]
ctrlc = false
signals = ["term", "hup"]

[release]
port = 8000
address = "0.0.0.0"

0 comments on commit 10c1960

Please sign in to comment.