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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,9 @@ image_processing:
29
29
# custom_model: mask
30
30
# confidence: 80
31
31
save_file_folder: /config/snapshots/
32
+
save_file_format: png
32
33
save_timestamped_file: True
33
-
always_save_latest_jpg: True
34
+
always_save_latest_file: True
34
35
scale: 0.75
35
36
# roi_x_min: 0.35
36
37
roi_x_max: 0.8
@@ -54,8 +55,9 @@ Configuration variables:
54
55
- **custom_model**: (Optional) The name of a custom model if you are using one. Don't forget to add the targets from the custom model below
55
56
- **confidence**: (Optional) The confidence (in %) above which detected targets are counted in the sensor state. Default value: 80
56
57
- **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/)
58
+
- **save_file_format**: (Optional, default `jpg`, alternatively `png`) The file format to save images as. `png` generally results in easier to read annotations.
57
59
- **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.
58
-
- **always_save_latest_jpg**: (Optional, default `False`, requires `save_file_folder` to be configured) Always save the last processed image, even if there were no detections.
60
+
- **always_save_latest_file**: (Optional, default `False`, requires `save_file_folder` to be configured) Always save the last processed image, even if there were no detections.
59
61
- **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.
60
62
- **show_boxes**: (optional, default `True`), if `False` bounding boxes are not shown on saved images
61
63
- **roi_x_min**: (optional, default 0), range 0-1, must be less than roi_x_max
0 commit comments