Package com.digimarc.capture.camera
package com.digimarc.capture.camera
Camera utility library.
This package wraps usage of the Android Camera API and allows for its easy integration into
applications. The CameraHelper
is all that is
needed for most applications, but a deeper level of customization and override is available if
needed.
-
ClassDescriptionThis class provides a series of utility methods for handling camera frames.CameraConfigurationListener defines an interface for handling camera configuration events.CameraDataListener provides camera frames for the application to process.CameraErrorListener defines an interface for handling camera errors.The CameraHelper class provides a mechanism to switch to use android.hardware.camera2 API in order to get the best Digimarc Barcode reading performance.Error codes that may be sent to the
CameraErrorListener.onError(CameraHelper.CameraError error)
method.Allows an app to specify what type of camera support (i.e.MeteringRegion flags are used by theCameraHelper.setFocusRegion(DetectionRegion, int)
andCameraHelper.setFocusPoint(float, float, int, int)
methods.CameraNotifyListener defines an interface for receiving notifications of system events.CameraRegionListener defines an interface for receiving notifications of camera view changes.The HelperCaptureFormat enum provides a list of supported image pixel formatContainer for image data.The Metadata class allows access to a the camera metadata associated with an image frame.Note in the definitions below that the actual values for the constants can be different between Camera1 and Camera2, even though the constant names appear similar.