Class ImageLabeler
java.lang.Object
com.codename1.ai.vision.ImageLabeler
- All Implemented Interfaces:
VisionAnalyzer<ImageLabel[]>, AutoCloseable
Creates reusable on-device image classifiers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()final booleanfinal AsyncResource<ImageLabel[]> process(VisionImage image)
-
Constructor Details
-
ImageLabeler
public ImageLabeler() -
ImageLabeler
-
-
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>
-