Vision Batch#

Batch#

Batch multiple images into one request.

class google.cloud.vision.batch.Batch(client)[source]#

Bases: object

Batch of images to process.

Parameters:client (Client) – Vision client.
add_image(image, features)[source]#

Add image to batch request.

Parameters:
detect()[source]#

Perform batch detection of images.

Return type:list
Returns:List of Annotations.
images#

List of images to process.

Return type:list
Returns:List of Image.