Package io.scanbot.sdk.core
Class RawImageLoadOptions
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class RawImageLoadOptions implements Parcelable
Options for loading images that come from sensor.
-
-
Field Summary
Fields Modifier and Type Field Description private Rectroiprivate ImageRotationorientation
-
Constructor Summary
Constructors Constructor Description RawImageLoadOptions(Map<String, Object> source)RawImageLoadOptions(JSONObject json)RawImageLoadOptions(Rect roi, ImageRotation orientation)
-
Method Summary
Modifier and Type Method Description final RectgetRoi()Region of interest. final UnitsetRoi(Rect roi)Region of interest. final ImageRotationgetOrientation()Rotation that should be applied to the image to recover correct orientation. final UnitsetOrientation(ImageRotation orientation)Rotation that should be applied to the image to recover correct orientation. final JSONObjecttoJson(ToJsonConfiguration config)final RawImageLoadOptionsclone()final static RawImageLoadOptionsdefault()-
-
Constructor Detail
-
RawImageLoadOptions
RawImageLoadOptions(JSONObject json)
-
RawImageLoadOptions
RawImageLoadOptions(Rect roi, ImageRotation orientation)
-
-
Method Detail
-
getOrientation
final ImageRotation getOrientation()
Rotation that should be applied to the image to recover correct orientation.
Default is NONE
-
setOrientation
final Unit setOrientation(ImageRotation orientation)
Rotation that should be applied to the image to recover correct orientation.
Default is NONE
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final RawImageLoadOptions clone()
-
default
final static RawImageLoadOptions default()
-
-
-
-