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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@ image_processing:
35
35
roi_y_max: 0.8
36
36
targets:
37
37
- person
38
-
- car
39
-
- mask
38
+
- vehicle
39
+
- dog
40
40
source:
41
41
- entity_id: camera.local_file
42
42
```
@@ -55,7 +55,7 @@ Configuration variables:
55
55
- **roi_y_min**: (optional, default 0), range 0-1, must be less than roi_y_max
56
56
- **roi_y_max**: (optional, default 1), range 0-1, must be more than roi_y_min
57
57
- **source**: Must be a camera.
58
-
- **targets**: The list of target objects, default `person`.
58
+
- **targets**: The list of target object names and/or `object_type`, default `person`.
59
59
- **confidence**: (Optional) The confidence (in %) above which detected targets are counted in the sensor state. Default value: 80
60
60
61
61
For the ROI, the (x=0,y=0) position is the top left pixel of the image, and the (x=1,y=1) position is the bottom right pixel of the image. It might seem a bit odd to have y running from top to bottom of the image, but that is the coordinate system used by pillow.
@@ -76,7 +76,7 @@ An event `deepstack.object_detected` is fired for each object detected above the
76
76
An example use case for event is to get an alert when some rarely appearing object is detected, or to increment a [counter](https://www.home-assistant.io/components/counter/). The `deepstack.object_detected` event payload includes:
77
77
78
78
- `entity_id` : the entity id responsible for the event
79
-
- `name` : the name of the type of object detected
79
+
- `name` : the name of the object detected
80
80
- `object_type` : the type of the object, from `person`, `vehicle`, `animal` or `other`
81
81
- `confidence` : the confidence in detection in the range 0 - 100%
82
82
- `box` : the bounding box of the object
@@ -172,7 +172,7 @@ A6: This can happen when you are running in Docker/Hassio, and indicates that on
172
172
------
173
173
174
174
## Objects
175
-
The following lists all target objects:
175
+
The following lists all valid target object names:
176
176
```
177
177
person, bicycle, car, motorcycle, airplane,
178
178
bus, train, truck, boat, traffic light, fire hydrant, stop_sign,
0 commit comments