Class SegmentationMask.CppProxy

java.lang.Object
com.banuba.sdk.scene.SegmentationMask.CppProxy
All Implemented Interfaces:
SegmentationMask
Enclosing interface:
SegmentationMask

public static final class SegmentationMask.CppProxy extends Object implements SegmentationMask
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • getMaskType

      public SegmentationMaskType getMaskType()
      Specified by:
      getMaskType in interface SegmentationMask
      Returns:
      segmentation mask type. Can be background, hair, skin, lips, l_eye, r_eye.
    • setActive

      public void setActive(boolean active)
      Description copied from interface: SegmentationMask
      set segmentation mask activity flag
      Specified by:
      setActive in interface SegmentationMask
      Parameters:
      active - (bool): segmentation mask activity flag
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface SegmentationMask
      Returns:
      segmentation mask activity flag (bool).
    • asImage

      public Image asImage()
      Specified by:
      asImage in interface SegmentationMask
      Returns:
      upcast to base type