Package com.codename1.ai.vision


package com.codename1.ai.vision

Vendor-neutral on-device vision APIs for still images and live camera frames.

The automatic backend uses Apple Vision/Core Image on iOS and Mac Catalyst and ML Kit on Android. Unsupported ports report that through isSupported(). Optional backends are selected with VisionBackends.

Each analyzer is a separate build-time feature. Referencing one analyzer causes the builder to retain only its platform adapter and native dependency. VisionPipeline safely copies callback-owned camera frames and drops stale pending frames under load.