Package com.banuba.sdk.scene
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 java.lang.Object implements SegmentationMask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.SegmentationMask
SegmentationMask.CppProxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
Image
asImage()
protected void
finalize()
SegmentationMaskType
getMaskType()
boolean
isActive()
void
setActive(boolean active)
set segmentation mask activity flag
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
getMaskType
public SegmentationMaskType getMaskType()
- Specified by:
getMaskType
in interfaceSegmentationMask
- 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 interfaceSegmentationMask
- Parameters:
active
- (bool): segmentation mask activity flag
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceSegmentationMask
- Returns:
- segmentation mask activity flag (bool).
-
asImage
public Image asImage()
- Specified by:
asImage
in interfaceSegmentationMask
- Returns:
- upcast to base type
-
-