Package io.scanbot.sdk.documentscanner
Class DocumentStraighteningResult
java.lang.Object
io.scanbot.sdk.documentscanner.DocumentStraighteningResult
- All Implemented Interfaces:
AutoCloseable
Result of the document straightening.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs DocumentStraighteningResult with default parameters.DocumentStraighteningResult(ImageRef straightenedImage) Constructs DocumentStraighteningResult with the given params. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes native resources (images) held by the object.Getter for straightenedImage field.
-
Constructor Details
-
DocumentStraighteningResult
Constructs DocumentStraighteningResult with the given params.- Parameters:
straightenedImage- The straightened document image. Can be null if no document was detected.
-
DocumentStraighteningResult
public DocumentStraighteningResult()Constructs DocumentStraighteningResult with default parameters.
-
-
Method Details
-
getStraightenedImage
Getter for straightenedImage field. See constructor documentation for more information about the field.- Returns:
- straightenedImage
-
close
public void close()Closes native resources (images) held by the object.- Specified by:
closein interfaceAutoCloseable
-