The pricing for the Google Vision API when detecting and extracting text from PDF or TIFF files is based on several factors. These factors include the number of pages processed, the number of documents processed, and the type of document (PDF or TIFF).
To understand the pricing structure, let's consider the details. Google Vision API offers a feature called "Document Text Detection" that allows you to extract text from PDF or TIFF files. This feature uses Optical Character Recognition (OCR) technology to analyze the visual data and convert it into machine-readable text.
When it comes to pricing, Google charges based on the number of units consumed. For document text detection, each page is considered as one unit. The API also takes into account the number of documents processed. For example, if you have a PDF with 10 pages and you process it as a single document, you will be charged for 10 units. However, if you split the PDF into two documents of 5 pages each and process them separately, you will be charged for 5 units for each document, resulting in a total of 10 units.
The pricing for document text detection varies depending on the location where the API is being used. Google provides a pricing table on their website that outlines the cost per unit for different regions. For instance, as of the time of writing this answer, in the United States, the price per unit is $0.60. However, it's important to note that pricing is subject to change, so it's advisable to refer to the official Google Cloud pricing documentation for the most up-to-date information.
To give you a clearer understanding, let's consider an example. Suppose you have a PDF file with 20 pages, and you process it as a single document. In the United States, you would be charged $0.60 per page, resulting in a total cost of $12.00 for the entire document.
It's worth mentioning that the pricing for document text detection does not include any additional features or functionalities. If you require additional features such as handwriting recognition or language translation, separate pricing may apply.
The pricing for the Google Vision API when detecting and extracting text from PDF or TIFF files is based on the number of pages processed, the number of documents processed, and the location where the API is being used. By understanding these factors and referring to the official pricing documentation, you can estimate the cost of utilizing this feature.
Other recent questions and answers regarding Detecting and extracting text from files (PDF/TIFF):
- How can the extracted text from files such as PDF and TIFF be useful in various applications?
- What are the steps involved in making an async annotated file request to understand and extract text from files using the Google Vision API and the Google Cloud Storage API?
- What is the process for detecting and extracting text from a PDF file using the Google Vision API in Python?
- What is the purpose of Google Cloud Storage in the context of using the Google Vision API to detect and extract text from files?

