Package io.scanbot.sdk.docprocessing
Class Page
-
- All Implemented Interfaces:
public final class PageRepresents a page of a document.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringuuidprivate final <Error class: unknown class><ImageRotation>rotationFlowprivate ImageRotationrotationprivate final <Error class: unknown class><List<PointF>>polygonFlowprivate List<PointF>polygonprivate final <Error class: unknown class><List<ParametricFilter>>filtersFlowprivate List<ParametricFilter>filtersprivate DocumentDetectionStatusdocumentDetectionStatusprivate DocumentQualitydocumentQualityprivate PageImageSourcesourceprivate final UridocumentFileUriprivate final UridocumentPreviewFileUriprivate final UriunfilteredDocumentFileUriprivate final UrioriginalFileUriprivate final BitmapdocumentImageprivate final BitmapdocumentPreviewImageprivate final BitmapunfilteredDocumentImageprivate final BitmaporiginalImage
-
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. This is an IO operation and is not recommended to execute in the UI thread.
-
-
-
-