com.google.mlkit.vision.camera

  • The document provides information on annotations, interfaces, and classes related to camera source configuration and management.

  • CameraFacing is an annotation describing the direction of the camera relative to the device screen.

  • DetectionTaskCallback is an interface for defining post-processing actions for detections, used by CameraXSource.

  • CameraSourceConfig is a class for camera source settings, with a corresponding Builder class.

  • CameraXSource manages the camera with a Detector and a DetectionTaskCallback.

Annotations

CameraSourceConfig.CameraFacing Direction of the camera facing relative to device screen. 

Interfaces

DetectionTaskCallback<ResultT> Interface for defining a post-processing action to be executed for each detection.This is used by CameraXSource for the pipeline to feed camera frames to detectors and invoke callbacks that are set by developers. 

Classes

CameraSourceConfig Config class to hold different camera source settings. 
CameraSourceConfig.Builder Builder for CameraSourceConfig. 
CameraXSource Manages the camera in conjunction with an underlying Detector and DetectionTaskCallback