-
Notifications
You must be signed in to change notification settings - Fork 1
Triggers
A trigger warns you when a particular object is detected. There are three types of triggers.
- An email trigger that sends you an email.
- A recording trigger that starts a recording.
- A GPIO trigger sets a GPIO output pin high (or low).
The first two are available in the email version, the latter only on the GPIO YoloCam.
Different triggers can be combined. All triggers are listed in a csv file.
The csv file for the recording has the following structure.
Label | Probability | Move | Area |
---|
Label
One of 80 different objects to detect. For example 'car' or 'horse'. Upper or lower case doesn't matter.
Probability
The probability indicates how well the object is recognized. The lower this number, the more mistakes may occur, for instance, between a car and a truck.
Move
Indicates the movement of the object. The parameter allows you to filter out, for example, parked cars. Zero (0) disables the parameter.
Area
Represents the ratio of the area of the recognized object to the entire image. Very small objects of a few pixels can be filtered out in this way.
The csv file for the email has the following structure.
Label | Probability | Move | Area | Prio |
---|
Prio
Prioritize the events. A higher priority event can still send an email even if sending is blocked by a lower priority trigger. Remember, once an email is sent, there is a brief time before a second email can be sent, set by the setting no_sec_mail. So, the blocking mechanism is now governed by the priority scheme.
The csv file for the GPIO has the following structure.
Label | Probability | Move | Area | Delay | Prolong | Pin | Inv |
---|
All detectable objects:
person | bicycle | car | motorcycle | airplane | bus | train | truck | boat | traffic light |
fire hydrant | stop sign | parking meter | bench | bird | cat | dog | horse | sheep | cow |
elephant | bear | zebra | giraffe | backpack | umbrella | handbag | tie | suitcase | frisbee |
skis | snowboard | sports ball | kite | baseball bat | baseball glove | skateboard | surfboard | tennis racket | bottle |
wine glass | cup | fork | knife | spoon | bowl | banana | apple | tennis racket | bottle |
broccoli | carrot | hot dog | pizza | donut | cake | chair | couch | potted plant | bed |
dining table | toilet | tv | laptop | mouse | remote | keyboard | cell phone | microwave | oven |
toaster | sink | refrigerator | book | clock | vase | scissors | teddy bear | hair drier | toothbrush |