Package com.google.android.fhir.datacapture.contrib.views.barcode.mlkit.md.camera

Types

Link copied to clipboard
class CameraReticleAnimator(graphicOverlay: GraphicOverlay)

Custom animator for the object or barcode reticle in live camera.

Link copied to clipboard
class CameraSizePair

Stores a preview size and a corresponding same-aspect-ratio picture size. To avoid distorted preview images on some devices, the picture size must be set to a size that is the same aspect ratio as the preview size or the preview may end up being distorted. If the picture size is null, then there is no picture size with the same aspect ratio as the preview size.

Link copied to clipboard
class CameraSource(graphicOverlay: GraphicOverlay)

Manages the camera and allows UI updates on top of it (e.g. overlaying extra Graphics). This receives preview frames from the camera at a specified rate, sends those frames to detector as fast as it is able to process.

Link copied to clipboard
class CameraSourcePreview(context: <ERROR CLASS>, attrs: <ERROR CLASS>)

Preview the camera image in the screen.

Link copied to clipboard
class FrameMetadata(width: Int, height: Int, rotation: Int)

Metadata info of a camera frame.

Link copied to clipboard
interface FrameProcessor

An interface to process the input camera frame and perform detection on it.

Link copied to clipboard
abstract class FrameProcessorBase<T> : FrameProcessor

Abstract base class of FrameProcessor.

Link copied to clipboard
class GraphicOverlay(context: <ERROR CLASS>, attrs: <ERROR CLASS>)

A view which renders a series of custom graphics to be overlaid on top of an associated preview (i.e., the camera preview). The creator can add graphics objects, update the objects, and remove them, triggering the appropriate drawing and invalidation within the view.

Link copied to clipboard
class WorkflowModel(application: <ERROR CLASS>)

View model for handling application workflow based on camera preview.