onImageCaptured

open fun onImageCaptured(jpegImageBytes: Array<Byte>, imageOrientation: RotationAngle)

Method called when the capture has completed

Parameters

jpegImageBytes

an array containing the JPEG image bytes. The JPEG image can have an exif orientation.

imageOrientation

the rotation that needs to be applied to the image to make it up-oriented. This angle needs to be applied in addition to the exif orientation.


abstract fun onImageCaptured(imageOrientation: RotationAngle)