# Document AI documentation

[Read product documentation](https://docs.cloud.google.com/document-ai/docs/overview.md.txt) [Video](https://www.youtube.com/watch?v=F_jyoe1lQhg)


Document AI is a [document understanding](https://en.wikipedia.org/wiki/Document_processing)
platform that takes unstructured data from documents and transforms it into
structured data, making it easier to understand, analyze, and consume.

Document AI uses machine learning and Google Cloud to help you
create scalable, end-to-end, cloud-based document processing applications.

[Go to the Document AI product page for more.](https://cloud.google.com/document-ai/)

## Documentation resources

Find quickstarts and guides, review key references, and get help with common issues.

### Get Started

-

  [Document AI - Try it!](https://docs.cloud.google.com/document-ai/docs/drag-and-drop)

-

  [Get started with Google Cloud](https://docs.cloud.google.com/docs/get-started)

- Tutorial

  [Set up the Document AI API](https://docs.cloud.google.com/document-ai/docs/setup.md.txt)

- Tutorial

  [Process documents using document OCR](https://docs.cloud.google.com/document-ai/docs/process-documents-ocr)

- Tutorial

  [Process documents by using client libraries](https://docs.cloud.google.com/document-ai/docs/process-documents-client-libraries.md.txt)

- Tutorial

  [All How-to Guides](https://docs.cloud.google.com/document-ai/docs/how-to.md.txt)

- Related

  [Document AI Warehouse](https://docs.cloud.google.com/document-warehouse/docs/overview.md.txt)

### Reference

-

  [Full processor and detail list](https://docs.cloud.google.com/document-ai/docs/processors-list.md.txt)

-

  [Fields detected](https://docs.cloud.google.com/document-ai/docs/fields)

-

  [Supported languages](https://docs.cloud.google.com/document-ai/docs/languages)

-

  [Limits, file types, and versions supported](https://docs.cloud.google.com/document-ai/docs/file-types.md.txt)

- Technical

  [Client Libraries](https://docs.cloud.google.com/document-ai/docs/libraries.md.txt)

- Technical


  APIs:
  [REST](https://docs.cloud.google.com/document-ai/docs/reference/rest.md.txt)
  or
  [RPC](https://docs.cloud.google.com/document-ai/docs/reference/rpc.md.txt)


- Technical

  [Workflows Connector](https://docs.cloud.google.com/workflows/docs/reference/googleapis/documentai/Overview.md.txt)

- Technical

  [Sample processor output](https://docs.cloud.google.com/document-ai/docs/output.md.txt)

### Resources

-

  [Document AI SLA](https://docs.cloud.google.com/document-ai/sla)

-

  [Pricing](https://docs.cloud.google.com/document-ai/pricing)

-

  [Error messages](https://docs.cloud.google.com/document-ai/docs/error-messages.md.txt)

-

  [Release notes](https://docs.cloud.google.com/document-ai/docs/release-notes.md.txt)

-

  [Quotas and limits](https://docs.cloud.google.com/document-ai/quotas.md.txt)

-

  [Support](https://docs.cloud.google.com/document-ai/docs/support)

-

  [Related products](https://docs.cloud.google.com/document-ai/docs/related-products.md.txt)

-

  [Stack Overflow - Document AI](https://stackoverflow.com/questions/tagged/cloud-document-ai)

-

  [Google Developer Program forums - Document AI](https://discuss.google.dev/tags/c/google-cloud/14/document-ai/359)

## Related resources

Training and tutorials Use cases Code samples Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Codelab Training and tutorials

### [Optical Character Recognition (OCR) with Document AI (Python)](https://codelabs.developers.google.com/codelabs/docai-ocr-python)


This codelab will teach how to perform Optical Character Recognition using the Document AI Python Client Library. You will explore how to perform online and batch processing of documents with a PDF of the classic novel "Winnie the Pooh" by A.A. Milne.

Document AI

<br />

Codelab Training and tutorials

### [Form Parsing with Document AI (Python)](https://codelabs.developers.google.com/codelabs/docai-form-parser-python)


In this codelab, you will learn how to use the Document AI Form Parser to parse a handwritten form with Python. We will use a simple medical intake form as an example, but this procedure will work with any generalized form.

Document AI

<br />

Codelab Training and tutorials

### [Specialized Processors with Document AI (Python)](https://codelabs.developers.google.com/codelabs/docai-specialized-processors)


In this codelab, you will learn how to use Document AI Specialized Processors to classify and parse specialized documents with Python. We will use an invoice as an example, but this procedure will work with any specialized document supported by Document AI.

Document AI Procurement Lending Contract

<br />

Codelab Training and tutorials

### [Managing Document AI processors with Python](https://codelabs.developers.google.com/codelabs/docai-manage-processors)


In this lab, you will focus on managing Document AI processors programmatically with the Python client library.

Document AI

<br />

Codelab Training and tutorials

### [Document AI Workbench: Uptraining](https://codelabs.developers.google.com/codelabs/docai-uptraining)


In this lab, you will create an Invoice Parser processor, configure the processor for uptraining, label example documents, and uptrain the processor.

Document AI Workbench Uptraining

<br />

Codelab Training and tutorials

### [Document AI Workbench: Custom Document Extractor](https://codelabs.developers.google.com/codelabs/docai-custom)


In this lab, you will create a Custom Document Extraction processor, import a dataset, label example documents, and train the processor.

Document AI Workbench Custom

<br />

Codelab Training and tutorials

### [Document AI Warehouse](https://codelabs.developers.google.com/codelabs/docai-warehouse)


In this lab, you will learn how to ingest, process, and search documents using the Document AI Warehouse user interface.

Document AI Warehouse

<br />

Tutorial Training and tutorials

### [Automating income taxes with Document AI](https://cloud.google.com/blog/topics/developers-practitioners/automating-income-taxes-document-ai)


For the United States, Tax Day is upon us. Luckily, Lending Document AI can intelligently classify and parse many common documents used for tax preparation. Learn how to build a tax processing pipeline using Document AI.

Document AI Lending

<br />

Tutorial Training and tutorials

### [Smarter applications with Document AI, Workflows and Cloud Functions](https://cloud.google.com/blog/topics/developers-practitioners/smarter-applications-document-ai-workflows-and-cloud-functions)


With compute solutions on Google Cloud and Document AI, you can create seamless integrations and easy to use applications for your users. Document AI is a platform and a family of solutions that help businesses to transform documents into structured data backed by machine learning. In this blog post we'll walk you through how to use Serverless technology to process documents with Cloud Functions, and with workflows of business processes orchestrating microservices, API calls, and functions, thanks to Workflows.

Document AI Workflows

<br />

Tutorial Training and tutorials

### [Diving into your documents with Document AI](https://cloud.google.com/blog/topics/developers-practitioners/diving-your-documents-docai)


We recently announced the GA of the Document AI Platform, Google's solution for automating and validating documents to streamline document workflows. Important business data is not always readily available in computer-readable formats. This is what we consider dark formats such as pdfs, handwritten forms and images.

Document AI

<br />

Tutorial Training and tutorials

### [Using Document AI to automate procurement workflows](https://cloud.google.com/blog/topics/developers-practitioners/using-document-ai-automate-procurement-workflows)


We recently announced the GA of the Document AI Platform, Google's solution for automating and validating documents to streamline document workflows. Important business data is not always readily available in computer-readable formats. This is what we consider dark formats such as pdfs, handwritten forms and images.

Document AI

<br />

Tutorial Training and tutorials

### [Building a document understanding pipeline with Google Cloud](https://cloud.google.com/blog/products/ai-machine-learning/building-a-document-understanding-pipeline-with-google-cloud)


Document understanding is the practice of using AI and machine learning to extract data and insights from text and paper sources such as emails, PDFs, scanned documents, and more. In the past, capturing this unstructured or "dark data" has been an expensive, time-consuming, and error-prone process requiring manual data entry. Today, AI and machine learning have made great advances towards automating this process, enabling businesses to derive insights from and take advantage of this data that had been previously untapped.

Document AI AutoML Vision AutoML Natural Language

<br />

Qwiklabs Training and tutorials

### [Automate Data Capture at Scale with Document AI](https://www.cloudskillsboost.google/course_templates/674)


Earn a skill badge by completing the Automate Data Capture at Scale with Document AI quest, where you learn how to create a document processing pipeline that will automatically process documents. You will learn how to use the Document AI form processor to extract data from the documents and save the data.

Document AI Procurement BigQuery Google Maps API

<br />

Blog Use cases

### [Introducing Document AI platform, a unified console for document processing](https://cloud.google.com/blog/products/ai-machine-learning/google-cloud-announces-document-ai-platform)


We recently announced the GA of the Document AI Platform, Google's solution for automating and validating documents to streamline document workflows. Important business data is not always readily available in computer-readable formats. This is what we consider dark formats such as pdfs, handwritten forms and images.

Document AI

<br />

Blog Use cases

### [Add intelligence to your document processing with Google's Enterprise Knowledge Graph](https://cloud.google.com/blog/products/ai-machine-learning/improves-document-ai-accuracy-and-consistency-with-ekg)


With Document AI, we are bringing the power of Google search to help customers understand their documents. This means that the same Google knowledge graph technology that helps you find the name, address or phone number of your favorite restaurant can now enrich your document extraction with the right name, fully qualified address, and updated phone number.

Document AI Enterprise Knowledge Graph

<br />

Research Use cases

### [Google AI Blog: Extracting Structured Data from Templatic Documents](https://ai.googleblog.com/2020/06/extracting-structured-data-from.html)


Templatic documents, such as receipts, bills, insurance quotes, and others, are extremely common and critical in a diverse range of business workflows. Currently, processing these documents is largely a manual effort, and automated systems that do exist are based on brittle and error-prone heuristics. A system that can automatically extract all this data has the potential to dramatically improve the efficiency of many business workflows by avoiding error-prone, manual work.

Document AI

<br />

Industry solution Use cases

### [Customers cut document processing time and costs with Document AI solutions, now generally available](https://cloud.google.com/blog/products/ai-machine-learning/get-more-value-from-your-documents-with-docai-and-industry-solutions)


The latest releases of Document AI, built on decades of AI innovation at Google, bring powerful and useful solutions to these challenges.

Document AI Procurement Lending

<br />

Industry solution Use cases

### [Going global: Workday uses Google Cloud AI to accelerate document processing](https://cloud.google.com/blog/products/ai-machine-learning/workday-uses-google-cloud-ai-to-accelerate-document-processing)


Scaling a business that sorts through millions of documents daily, across a global operation, is a tall order. Workday, with more than 3,400 core Workday Financial Management and Workday HCM customers, offers the Workday Expenses solution to provide a frictionless expense reporting experience for their customers. Here's how they did it using Google Cloud's Document AI for Procurement.

Document AI Procurement

<br />

Industry solution Use cases

### [How Mr. Cooper is using AI to increase speed and accuracy for mortgage processing](https://cloud.google.com/blog/products/ai-machine-learning/how-mr-cooper-built-an-ai-driven-mortgage-platform)


Mr. Cooper Group is an industry-leading mortgage services provider serving customers through servicing, originations, and digital real estate solutions. Using Google Cloud AI and ML solutions, they created a highly reliable, cloud native document analysis and processing platform to process lending documents and unlocked new levels of accuracy and operational efficiency that help them to scale and control the cost at the same time. Read on to hear how they did it.

Document AI Lending

<br />

Code sample Code Samples

### [Document AI Samples Repository](https://github.com/GoogleCloudPlatform/document-ai-samples)


The repository contains Google-created samples and Community samples that demonstrate how to analyze, classify and search documents using Document AI.

Document AI

<br />

Code sample Code Samples

### [Google Cloud Document AI samples](https://docs.cloud.google.com/docs/samples.md.txt?product=documentai)


Search or browse all available Document AI code samples.

Document AI

<br />

Code sample Code Samples

### [Python Client for Document AI](https://github.com/googleapis/python-documentai)


Document AI Python

<br />

Code sample Code Samples

### [Document AI Client for Java](https://github.com/googleapis/java-document-ai)


Document AI Java

<br />

Code sample Code Samples

### [Document AI: Node.js Client](https://github.com/googleapis/nodejs-document-ai)


Document AI Node.js

<br />

## Related videos