onImageCaptured
Called on the main thread 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.