Class Page

  • All Implemented Interfaces:
    android.os.Parcelable , java.io.Serializable

    
    public final class Page
     implements Parcelable, Serializable
                        

    Object which represents snapped document

    • Constructor Detail

      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus, ImageFilterType filter)
        Object which represents snapped document
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
        filter - filter to apply
      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus, List<ParametricFilter> parametricFilters)
        Object which represents snapped document
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
        parametricFilters - filters to apply
      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus, ParametricFilter parametricFilter)
        Object which represents snapped document
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
        parametricFilter - filter to apply
      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus)
        Object which represents snapped document
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus, List<ParametricFilter> parametricFilters, Page.Size documentImageSizeLimit)
        Object which represents snapped document
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
        parametricFilters - filters to apply
        documentImageSizeLimit - the limit of size of the page
      • Page

        Page(String pageId, List<PointF> polygon, DetectionStatus detectionStatus, ImageFilterType filter, List<ParametricFilter> parametricFilters, Page.Size documentImageSizeLimit, PageImageSource pageImageSource)
        Parameters:
        pageId - id of the page
        polygon - polygon of the cropped page
        detectionStatus - information about the state of detection of the document on this page
        filter - deprecated filter type to apply
        parametricFilters - filters to apply
        documentImageSizeLimit - the limit of size of the page
        pageImageSource - type of the source of the image