public virtual Task<Operation> AsyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest request, ServerCallContext context)
Run asynchronous image detection and annotation for a list of generic
files, such as PDF files, which may contain multiple pages and multiple
images per page. Progress and results can be retrieved through the
google.longrunning.Operations interface.
Operation.metadata contains OperationMetadata (metadata).
Operation.response contains AsyncBatchAnnotateFilesResponse (results).
public virtual Task<Operation> AsyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest request, ServerCallContext context)
Run asynchronous image detection and annotation for a list of images.
Progress and results can be retrieved through the
google.longrunning.Operations interface.
Operation.metadata contains OperationMetadata (metadata).
Operation.response contains AsyncBatchAnnotateImagesResponse (results).
This service will write image annotation outputs to json files in customer
GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
public virtual Task<BatchAnnotateFilesResponse> BatchAnnotateFiles(BatchAnnotateFilesRequest request, ServerCallContext context)
Service that performs image detection and annotation for a batch of files.
Now only "application/pdf", "image/tiff" and "image/gif" are supported.
This service will extract at most 5 (customers can specify which 5 in
AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each
file provided and perform detection and annotation for each image
extracted.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Vision v1 API class ImageAnnotator.ImageAnnotatorBase is version 3.7.0, with several prior versions available.\u003c/p\u003e\n"],["\u003cp\u003eImageAnnotator.ImageAnnotatorBase is a base class for server-side implementations of ImageAnnotator that inherits from the object class.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods for both synchronous and asynchronous batch annotation of images and files, including PDF, TIFF, and GIF formats.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsyncBatchAnnotateFiles\u003c/code\u003e and \u003ccode\u003eAsyncBatchAnnotateImages\u003c/code\u003e methods offer asynchronous processing, with progress and results accessible through the \u003ccode\u003egoogle.longrunning.Operations\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports image detection and annotation, with the batch methods offering a way to process multiple images or files at once.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class ImageAnnotator.ImageAnnotatorBase (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.ImageAnnotator.ImageAnnotatorBase) \n\n [BindServiceMethod(typeof(ImageAnnotator), \"BindService\")]\n public abstract class ImageAnnotator.ImageAnnotatorBase\n\nReference documentation and code samples for the Google Cloud Vision v1 API class ImageAnnotator.ImageAnnotatorBase.\n\nBase class for server-side implementations of ImageAnnotator \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ImageAnnotator.ImageAnnotatorBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Vision.V1](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Vision.V1.dll\n\nMethods\n-------\n\n### AsyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e AsyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest request, ServerCallContext context)\n\nRun asynchronous image detection and annotation for a list of generic\nfiles, such as PDF files, which may contain multiple pages and multiple\nimages per page. Progress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).\n\n### AsyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e AsyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest request, ServerCallContext context)\n\nRun asynchronous image detection and annotation for a list of images.\n\nProgress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).\n\nThis service will write image annotation outputs to json files in customer\nGCS bucket, each json file containing BatchAnnotateImagesResponse proto.\n\n### BatchAnnotateFiles(BatchAnnotateFilesRequest, ServerCallContext)\n\n public virtual Task\u003cBatchAnnotateFilesResponse\u003e BatchAnnotateFiles(BatchAnnotateFilesRequest request, ServerCallContext context)\n\nService that performs image detection and annotation for a batch of files.\nNow only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported.\n\nThis service will extract at most 5 (customers can specify which 5 in\nAnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each\nfile provided and perform detection and annotation for each image\nextracted.\n\n### BatchAnnotateImages(BatchAnnotateImagesRequest, ServerCallContext)\n\n public virtual Task\u003cBatchAnnotateImagesResponse\u003e BatchAnnotateImages(BatchAnnotateImagesRequest request, ServerCallContext context)\n\nRun image detection and annotation for a batch of images."]]