Class VisionMetadata
java.lang.Object
com.codename1.ai.vision.VisionMetadata
Optional backend identity and backend-specific diagnostic strings attached
to a vision result. Portable application logic should use typed result
fields first; metadata keys are intentionally not guaranteed across
backends. The values map is immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionVisionMetadata(String backendId) Creates metadata containing only the selected backend id.VisionMetadata(String backendId, Map<String, String> values) Creates backend metadata with optional diagnostic values. -
Method Summary
-
Constructor Details
-
VisionMetadata
-
VisionMetadata
Creates metadata containing only the selected backend id.- Parameters:
backendId- stable portable backend id
-
-
Method Details
-
getBackendId
- Returns:
- stable backend identifier such as
apple-visionorml-kit
-
getValues
-
get
-