Class SelfieSegmenter
java.lang.Object
com.codename1.ai.vision.SelfieSegmenter
- All Implemented Interfaces:
VisionAnalyzer<SegmentationMask>, AutoCloseable
Creates reusable foreground/person segmentation analyzers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()final booleanfinal AsyncResource<SegmentationMask> process(VisionImage image)
-
Constructor Details
-
SelfieSegmenter
public SelfieSegmenter() -
SelfieSegmenter
-
-
Method Details
-
isSupported
public final boolean isSupported()- Specified by:
isSupportedin interfaceVisionAnalyzer<T>
-
process
- Specified by:
processin interfaceVisionAnalyzer<T>
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVisionAnalyzer<T>
-