-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage_processing.yaml
More file actions
34 lines (32 loc) · 1013 Bytes
/
image_processing.yaml
File metadata and controls
34 lines (32 loc) · 1013 Bytes
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
- platform: doods
scan_interval: 10000
url: "http://192.168.0.207:8080"
detector: tensorflow
source:
- entity_id: camera.oprit
file_out:
- "/config/www/snapshots/{{ camera_entity.split('.')[1] }}_latest.jpg"
- "/config/www/security/{{ camera_entity.split('.')[1] }}_{{ '%02d' % (states('input_number.oprit_last_cctv_motion_event') |int (0) ) }}_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"
labels:
- name: person
confidence: 30
- name: car
confidence: 30
- name: truck
- platform: platerecognizer
scan_interval: 10000
api_token: !secret platerecognizer_apikey
regions:
- be
save_file_folder: "/config/www/snapshots/platerecognizer"
save_timestamped_file: True
always_save_latest_file: True
source:
- entity_id: camera.doods_oprit
- platform: sighthound
scan_interval: 10000
api_key: !secret sighthound_apikey
save_file_folder: "/config/www/snapshots/sighthound"
save_timestamped_file: True
source:
- entity_id: camera.doods_oprit