Questions tagged [cloud-document-ai]

This tag is for the Document AI product within Google Cloud Platform.

200 questions
0
votes
1 answer

Getting list of fields detected from Invoice Parser google Document AI Processor

Invoice Parser documentation lists the fields that this processor attempts to find in a document. https://cloud.google.com/document-ai/docs/processors-list?hl=en_US#processor_invoice-processor I am only interested in some of the fields in the…
Bijaya Rai
  • 43
  • 8
0
votes
1 answer

Get date values DAY MONTH YEAR from date string (random format)

I want to get the date values (day, month, year) from a date string that can be in any common date format (metric, retard, string, number, German, English...) Some examples are: "12. Mai 2022" "5/12/22" "May 12,…
Patrick
  • 139
  • 1
  • 1
  • 9
0
votes
1 answer

reportlab sometimes adds an extra spaces between words

I am using Google Document AI to process PDF documents. After sending a PDF document, Google sends a JSON reply containing the detected text and the exact location of each word. This is a sample JSON response: { "uri": "", "mimeType":…
Aymane
  • 1
  • 2
0
votes
2 answers

Authentication for Google Cloud (Document AI)

First off, please be kind, as I'm not a developer and may struggle with some basics concepts. I'm trying to build an AI Invoice reader to collect invoice data in a spreadsheet, using Integromat / make.com (no-code platform) and Google Cloud…
0
votes
1 answer

Using Document AI with python from google and code from google codelabs returns wrong or empty result

I tried the following code from codelabs.developers.google.com: import pandas as pd from google.cloud import documentai_v1 as documentai def online_process( project_id: str, location: str, processor_id: str, file_path: str, …
mj1261829
  • 1,200
  • 3
  • 26
  • 53
0
votes
1 answer

How to delete Specialist Pool in Document AI Google cloud console

I have created so many Specialist pools as a part of my research for human in the loop concept in Document AI. Now I am unable to find how to delete the specialist pools which I have created Please help. Regards, Nalini
0
votes
1 answer

How to batch send documents in DocumentAI?

I am doing the processDocument process using the expense parser as in the example here. Since the billing costs too much, instead of sending the documents one by one, i combine 10 documents into one pdf and use processDocument again. However,…
codinges
  • 61
  • 6
0
votes
1 answer

Authentication with Google Document AI (Form Parser API)

I have been trying to authenticate from the parser API without success. I have set up the google service account and created two keys.I Have set up the owner role and downloaded the credential json file. googleAuthR::gar_auth_service("D:/898…
0
votes
1 answer

Cloud Document AI API has not been used in project xxxxxx before or it is disabled

While calling google document api, getting below error. apis are enabled, even after waiting for few hours still getting same error. any suggestion RpcException: Status(StatusCode="PermissionDenied", Detail="Cloud Document AI API has not been used…
anand
  • 307
  • 3
  • 14
0
votes
1 answer

How to read json response string into Document object of Document AI from java?

I'm working with another API which calls the google Document AI API. I'm trying to read the JSON String from the file into a Document object. How should this be done? I tried the following but it is not working. import…
0
votes
1 answer

Caller does not have permission for DOCUMENT AI

I am trying to parse documents through Document AI batchprocess and while sending get request to document AI to get the response I get the error Caller does not have permission.Any solution there for this.Here I am attaching the picture for…
0
votes
1 answer

google-cloud-php Document AI: INVALID_ARGUMENT

I am trying to use google-cloud-php to send documents to Google Document AI for processing. Here is an example of my code: require 'vendor/autoload.php'; putenv('GOOGLE_APPLICATION_CREDENTIALS=[###].json'); use…
0
votes
2 answers

Cannot authenticate to Google Document AI

I am trying to use Google Document AI for Invoices from our application provider. I have created a Project (which works with Google Vision AI), a Storage Bucket, a Service Account (and gotten a JSON key file), a Processor, but when I go to…
0
votes
1 answer

Unable to find a document of type 'w2_', found 1 other document types - Google Document AI

I am using Google Document A.I for recognition of different types of forms such as U.S Government forms, W2 Forms, W9 Forms, Invoice Forms, Receipt Forms. And I am getting this error from Google Document A.I when I try to process the form: Unable to…
Kashan Haider
  • 1,036
  • 1
  • 13
  • 23
0
votes
0 answers

Reducing page load time while using Document AI API

I used v1 API as mentioned in the below link in Laravel 8 web app using curl but the page load time is increasing. https://cloud.google.com/document-ai/docs/send-request#documentai_process_document-drest curl -X POST \ -H "Authorization: Bearer…