com.google.mlkit.vision.documentscanner
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eGmsDocumentScanning\u003c/code\u003e provides an entry point to access a document scanner powered by Google Play services.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGmsDocumentScanner\u003c/code\u003e allows you to control the document scanning process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGmsDocumentScannerOptions\u003c/code\u003e enables customization of the scanner's behavior, including capture mode, result format, and features.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGmsDocumentScanningResult\u003c/code\u003e encapsulates the results, offering access to scanned pages and PDF output.\u003c/p\u003e\n"]]],["The core content details the structure and functionality of a document scanner powered by Google Play services. It defines `GmsDocumentScanner` as the client to open the scanner, with `GmsDocumentScannerOptions` configuring its behavior, using settings like `CaptureMode`, `ResultFormat`, and `ScannerMode`. `GmsDocumentScanning` acts as the entry point for accessing the scanner. Results are encapsulated in `GmsDocumentScanningResult`, which can include multiple `Page`s or a `Pdf`.\n"],null,["Annotations \n\n|---------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------|\n| [GmsDocumentScannerOptions.CaptureMode](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions.CaptureMode) | Scanner camera viewfinder capture mode. |\n| [GmsDocumentScannerOptions.ResultFormat](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions.ResultFormat) | Result format for the scanner. |\n| [GmsDocumentScannerOptions.ScannerMode](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions.ScannerMode) | Scanner mode which determines what features are enabled. |\n\nInterfaces \n\n|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [GmsDocumentScanner](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanner) | A client to open a document scanner powered by Google Play services. |\n\nClasses \n\n|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GmsDocumentScannerOptions](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions) | Options for [GmsDocumentScanner](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanner). |\n| [GmsDocumentScannerOptions.Builder](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions.Builder) | Builder for [GmsDocumentScannerOptions](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScannerOptions). |\n| [GmsDocumentScanning](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanning) | Entry point to get a [GmsDocumentScanner](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanner) for opening a document scanner powered by Google Play services. |\n| [GmsDocumentScanningResult](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanningResult) | Result for document scanning. |\n| [GmsDocumentScanningResult.Page](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanningResult.Page) | Represents a page in the scanning result. |\n| [GmsDocumentScanningResult.Pdf](/android/reference/com/google/mlkit/vision/documentscanner/GmsDocumentScanningResult.Pdf) | Represents the PDF in the scanning result. |"]]