Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ConnectedHomeSettings Source #
Label detection settings to use on a streaming video. Defining the
settings is required in the request parameter for CreateStreamProcessor.
Including this setting in the CreateStreamProcessor
request enables
you to use the stream processor for label detection. You can then select
what you want the stream processor to detect, such as people or pets.
When the stream processor has started, one notification is sent for each
object class specified. For example, if packages and pets are selected,
one SNS notification is published the first time a package is detected
and one SNS notification is published the first time a pet is detected,
as well as an end-of-session summary.
See: newConnectedHomeSettings
smart constructor.
Instances
newConnectedHomeSettings Source #
Create a value of ConnectedHomeSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minConfidence:ConnectedHomeSettings'
, connectedHomeSettings_minConfidence
- The minimum confidence required to label an object in the video.
$sel:labels:ConnectedHomeSettings'
, connectedHomeSettings_labels
- Specifies what you want to detect in the video, such as people,
packages, or pets. The current valid labels you can include in this list
are: "PERSON", "PET", "PACKAGE", and "ALL".
connectedHomeSettings_minConfidence :: Lens' ConnectedHomeSettings (Maybe Double) Source #
The minimum confidence required to label an object in the video.
connectedHomeSettings_labels :: Lens' ConnectedHomeSettings (NonEmpty Text) Source #
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".