Add vision pipeline diagram

This commit is contained in:
cat101 2023-09-04 16:36:25 -03:00
parent f682203f9d
commit 6ee2ae28f6
4 changed files with 1096 additions and 2 deletions

View File

@ -25,7 +25,37 @@ cameras:
VSCode (and VSCode addon) supports the JSON schemas which will automatically validate the config. This can be added by adding `# yaml-language-server: $schema=http://frigate_host:5000/api/config/schema.json` to the top of the config file. `frigate_host` being the IP address of Frigate or `ccab4aaf-frigate` if running in the addon.
### Full configuration reference:
### Overview of the video pipeline
The following diagram shows the different processing stages for a video source. Each stage shows the key elements and how they relate to each other.
```mermaid
%%{init: {"themeVariables": {"edgeLabelBackground": "transparent"}}}%%
flowchart TD
ClipStore[(Clip\nstore)]
SnapStore[(Snapshot\nstore)]
subgraph Camera
Stream[Video\nstreams] --> |detect stream|Decode
Decode --> Downscale
end
subgraph Motion
Downscale --> MotionM(Apply\nmotion masks)
MotionM --> MotionD(Motion\ndetection)
end
subgraph Detection
MotionD --> |motion regions| ObjectD(Object\ndetection)
Downscale --> ObjectD
ObjectD --> ObjectZ(Track objects and apply zones)
end
MotionD --> |motion clips|ClipStore
ObjectZ --> |detection clip|ClipStore
Stream -->|continuous record| ClipStore
ObjectZ --> |detection snapshot|SnapStore
```
### Full configuration reference
:::caution

View File

@ -10,6 +10,10 @@ module.exports = {
favicon: 'img/favicon.ico',
organizationName: 'blakeblackshear',
projectName: 'frigate',
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
themeConfig: {
algolia: {
appId: 'WIURGBNBPY',

1059
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,7 @@
"dependencies": {
"@docusaurus/core": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/theme-mermaid": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",