Indicates whether rotation of the captured frame should be auto-corrected.
public bool AutoRotateImage {get; set;}
true to correct the rotation of the captured camera frames; otherwise, false. The default value is false.
When accessing the camera feed of a mobile device, the camera sensor orientation is not consistent for each device. This is especially true for Android devices. By default, the CameraPreview will compensate for this and adjust the camera preview. However, frames captured through TakePicture or CameraView.FrameReceived will be delivered in the camera sensor's default orientation.
var leadCamera = new CameraView();
//set true if we need the frame rotation corrected by LEADTOOLS
leadCamera.CameraOptions.AutoRotateImage = true;