You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ image_processing:
30
30
# confidence: 80
31
31
save_file_folder: /config/snapshots/
32
32
save_timestamped_file: True
33
+
scale: 0.75
33
34
# roi_x_min: 0.35
34
35
roi_x_max: 0.8
35
36
#roi_y_min: 0.4
@@ -53,12 +54,12 @@ Configuration variables:
53
54
- **confidence**: (Optional) The confidence (in %) above which detected targets are counted in the sensor state. Default value: 80
54
55
- **save_file_folder**: (Optional) The folder to save processed images to. Note that folder path should be added to [whitelist_external_dirs](https://www.home-assistant.io/docs/configuration/basic/)
55
56
- **save_timestamped_file**: (Optional, default `False`, requires `save_file_folder` to be configured) Save the processed image with the time of detection in the filename.
57
+
- **scale**: (optional, default 1.0), range 0.1-1.0, applies a scaling factor to the images that are saved. This reduces the disk space used by saved images, and is especially beneficial when using high resolution cameras.
56
58
- **show_boxes**: (optional, default `True`), if `False` bounding boxes are not shown on saved images
57
59
- **roi_x_min**: (optional, default 0), range 0-1, must be less than roi_x_max
58
60
- **roi_x_max**: (optional, default 1), range 0-1, must be more than roi_x_min
59
61
- **roi_y_min**: (optional, default 0), range 0-1, must be less than roi_y_max
60
62
- **roi_y_max**: (optional, default 1), range 0-1, must be more than roi_y_min
61
-
- **scale**: (optional, default 1.0), range 0.1-1.0, scaling factor for the images that are pulled from the camera stream. This results in smaller images files, especially when using hires-cameras.
62
63
- **source**: Must be a camera.
63
64
- **targets**: The list of target object names and/or `object_type`, default `person`. Optionally a `confidence` can be set for this target, if not the default confidence is used. Note the minimum possible confidence is 10%.
0 commit comments