Interface SegmentationMask

  • All Known Implementing Classes:
    SegmentationMask.CppProxy

    public interface SegmentationMask
    Class, which repesent neural networks segmentation mask texture interface. Subclass of image
    • Method Detail

      • getMaskType

        @NonNull
        SegmentationMaskType getMaskType()
        Returns:
        segmentation mask type. Can be background, hair, skin, lips, l_eye, r_eye.
      • setActive

        void setActive​(boolean active)
        set segmentation mask activity flag
        Parameters:
        active - (bool): segmentation mask activity flag
      • isActive

        boolean isActive()
        Returns:
        segmentation mask activity flag (bool).
      • asImage

        @Nullable
        Image asImage()
        Returns:
        upcast to base type