public enum TextOrientation
Text orientations supported by native part
public static TextOrientation TEXT_ORIENTATION_NOTRECOGNIZED
public static TextOrientation TEXT_ORIENTATION_LOWCONFIDENCE
public static TextOrientation TEXT_ORIENTATION_NORMAL
public static TextOrientation TEXT_ORIENTATION_ROTATED90
public static TextOrientation TEXT_ORIENTATION_ROTATED180
public static TextOrientation TEXT_ORIENTATION_ROTATED270
public static io.scanbot.textorientation.model.TextOrientation.Companion Companion
public int getCode()
Integer parameter that should be passed to
class TextOrientationRecognizer and used in persistence
class TextOrientationRecognizer@JvmStatic @NotNull public static TextOrientation getByCode(int code)
code - enum TextOrientation corresponding to the given codeIllegalStateException - if no enum TextOrientation was found for a given code