# Class DocumentScanResult

java.lang.Object
com.codename1.ai.vision.DocumentScanResult

public final class DocumentScanResult extends Object
Corrected document pages returned as encoded images.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DocumentScanResult(byte[][] pages)`
  `DocumentScanResult(byte[][] pages, VisionMetadata metadata)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VisionMetadata`
  `getMetadata()`
  `byte[]`
  `getPage(int index)`
  `int`
  `getPageCount()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DocumentScanResult

    public DocumentScanResult(byte[][] pages)

  - ### DocumentScanResult

    public DocumentScanResult(byte[][] pages, VisionMetadata metadata)

- ## Method Details

  - ### getPageCount

    public int getPageCount()

  - ### getPage

    public byte[] getPage(int index)

  - ### getMetadata

    public VisionMetadata getMetadata()