Interface ConnectedHomeSettings.Builder

    • Method Detail

      • labels

        ConnectedHomeSettings.Builder labels​(Collection<String> 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".

        Parameters:
        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".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labels

        ConnectedHomeSettings.Builder labels​(String... 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".

        Parameters:
        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".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minConfidence

        ConnectedHomeSettings.Builder minConfidence​(Float minConfidence)

        The minimum confidence required to label an object in the video.

        Parameters:
        minConfidence - The minimum confidence required to label an object in the video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.