Package io.scanbot.sdk.docprocessing
Class Page
-
- All Implemented Interfaces:
public final class Page
Represents a page of a document.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
uuid
private final <Error class: unknown class><ImageRotation>
rotationFlow
private ImageRotation
rotation
private final <Error class: unknown class><List<PointF>>
polygonFlow
private List<PointF>
polygon
private final <Error class: unknown class><List<ParametricFilter>>
filtersFlow
private List<ParametricFilter>
filters
private DocumentDetectionStatus
documentDetectionStatus
private DocumentQuality
documentQuality
private PageImageSource
source
private final Uri
documentFileUri
private final Uri
documentPreviewFileUri
private final Uri
unfilteredDocumentFileUri
private final Uri
originalFileUri
private final Bitmap
documentImage
private final Bitmap
documentPreviewImage
private final Bitmap
unfilteredDocumentImage
private final Bitmap
originalImage
-
Method Summary
-
-
Method Detail
-
getRotationFlow
final <Error class: unknown class><ImageRotation> getRotationFlow()
-
getRotation
final ImageRotation getRotation()
-
setRotation
final Unit setRotation(ImageRotation rotation)
-
getPolygonFlow
final <Error class: unknown class><List<PointF>> getPolygonFlow()
-
getPolygon
final List<PointF> getPolygon()
-
setPolygon
final Unit setPolygon(List<PointF> polygon)
-
getFiltersFlow
final <Error class: unknown class><List<ParametricFilter>> getFiltersFlow()
-
getFilters
final List<ParametricFilter> getFilters()
-
setFilters
final Unit setFilters(List<ParametricFilter> filters)
-
getDocumentDetectionStatus
final DocumentDetectionStatus getDocumentDetectionStatus()
-
setDocumentDetectionStatus
final Unit setDocumentDetectionStatus(DocumentDetectionStatus documentDetectionStatus)
-
getDocumentQuality
final DocumentQuality getDocumentQuality()
-
setDocumentQuality
final Unit setDocumentQuality(DocumentQuality documentQuality)
-
getSource
final PageImageSource getSource()
-
setSource
final Unit setSource(PageImageSource source)
-
getDocumentFileUri
final Uri getDocumentFileUri()
-
getDocumentPreviewFileUri
final Uri getDocumentPreviewFileUri()
-
getUnfilteredDocumentFileUri
final Uri getUnfilteredDocumentFileUri()
-
getOriginalFileUri
final Uri getOriginalFileUri()
-
getDocumentImage
final Bitmap getDocumentImage()
-
getDocumentPreviewImage
final Bitmap getDocumentPreviewImage()
-
getUnfilteredDocumentImage
final Bitmap getUnfilteredDocumentImage()
-
getOriginalImage
final Bitmap getOriginalImage()
-
toJson
final <Error class: unknown class> toJson()
Returns the JSON representation of the page.
-
apply
final Unit apply(ImageRotation newImageRotation, List<PointF> newPolygon, List<ParametricFilter> newFilters)
Processes all submitted operations on the page and saves the result images in the file system.
-
-
-
-