Page
data class Page(val pageId: String = UUID.randomUUID().toString(), val polygon: List<PointF> = emptyList(), val detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, val filter: ImageFilterType = ImageFilterType.NONE, val parametricFilters: List<ParametricFilter> = emptyList(), val documentImageSizeLimit: Page.Size = Size(), val pageImageSource: PageImageSource = PageImageSource.UNDEFINED) : Parcelable, Serializable
Deprecated
Use new Document API instead.
Object which represents snapped document
Parameters
page Id
id of the page
polygon
polygon of the cropped page
detection Status
information about the state of detection of the document on this page
filter
deprecated filter type to apply
parametric Filters
filters to apply
document Image Size Limit
the limit of size of the page
page Image Source
type of the source of the image
Constructors
Link copied to clipboard
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, filter: ImageFilterType)
Object which represents snapped document
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, parametricFilters: List<ParametricFilter> = emptyList())
Object which represents snapped document
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, parametricFilter: ParametricFilter? = null)
Object which represents snapped document
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK)
Object which represents snapped document
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, parametricFilters: List<ParametricFilter> = emptyList(), documentImageSizeLimit: Page.Size)
Object which represents snapped document
constructor(pageId: String = UUID.randomUUID().toString(), polygon: List<PointF> = emptyList(), detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, filter: ImageFilterType = ImageFilterType.NONE, parametricFilters: List<ParametricFilter> = emptyList(), documentImageSizeLimit: Page.Size = Size(), pageImageSource: PageImageSource = PageImageSource.UNDEFINED)