-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yaml
70 lines (64 loc) · 2.05 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
###
# PyCatDetector Basics
###
log_tty: true # true => stdout, false => log file
log_dir: "./logs"
log_level: "info" # debug, info
rtsp_url: "rtsp://username:[email protected]:554/stream1"
headless: false # Only terminal (no GUI) or with Screener Window (GUI)
net_version: 'v2' # 'v1' MXNet or 'v2' PyTorch
# For 'v1' MXNet - RTSP at 1080p <-> 720p
# https://cv.gluon.ai/model_zoo/detection.html
# net_model_name: 'ssd_512_resnet50_v1_voc' # PC (Big), min_score = 0.9
# net_model_name: 'ssd_512_mobilenet1.0_voc' # IoT (Small), min_score = 0.7
# For 'v2' PyTorch - RTSP at 1080p <-> 720p
# https://pytorch.org/vision/stable/models.html (Object Detection Models)
# net_model_name: 'FasterRCNN_MobileNet_V3_Large_FPN' # PC (Big), min_score = 0.9
net_model_name: 'FasterRCNN_MobileNet_V3_Large_320_FPN' # IoT (Small), min_score = 0.9
notify_min_score: 0.9
notify_window:
weekdays:
days: "Mon,Tue,Wed,Thu,Fri"
start: "06:00"
end: "21:00"
weekends:
days: "Sat,Sun"
start: "08:00"
end: "21:00"
videos_folder: "./videos"
###
# PyCatDetector Notifiers
# NOTE: don't remove just disable by setting enabled: false
###
notifiers:
ha_google_speak: # NEW: ./channels/HaGoogleSpeak.py
enabled: true
url: "http://homeassistant.local:8123/api"
token: "token123ABC"
entity_id: "tts.google_en_com"
media_player_entity_id: "media_player.nesti_speaker"
volume_level: 1 # 0.0 to 1.0
message: "El gato está en la caja de arena."
objects:
- "cat"
# - "pottedplant"
# - "potted plant"
ha_google_say: # LEGACY: ./channels/HaGoogleSay.py
enabled: true
url: "http://homeassistant.local:8123/api"
token: "token123ABC"
entity: "media_player.nesti_speaker"
message: "El gato está en la caja de arena."
language: "es"
objects:
- "cat"
# - "pottedplant"
# - "potted plant"
discord_webhook:
enabled: true
url: "https://discordapp.com/api/webhooks/X/Y"
content: "El gato está en la caja de arena."
objects:
- "cat"
# - "pottedplant"
# - "potted plant"