public class

FritzVisionOrientation

extends Object
java.lang.Object
   ↳ ai.fritz.vision.inputs.FritzVisionOrientation

Class Overview

FritzVisionOrientation determines the rotation for the input image the orientation of the camera sensor and the device rotation.

Summary

Public Constructors
FritzVisionOrientation()
Public Methods
static int getImageRotationFromCamera(Activity activity, String cameraId)
Using the device camera orientation and the device rotation, determine the rotation that should be applied to the image.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FritzVisionOrientation ()

Public Methods

public static int getImageRotationFromCamera (Activity activity, String cameraId)

Using the device camera orientation and the device rotation, determine the rotation that should be applied to the image.

Returns
  • the rotation angle that should be applied to the image.