Vision Image#
Image#
Image represented by either a URI or byte stream.
-
class
google.cloud.vision.image.Image(image_source, client)[source]# Bases:
objectImage representation containing information to be annotate.
Parameters: - image_source (str) – A string which can a Google Cloud Storage URI, or a byte stream of the image.
- client (
Client) – Instance of Vision client.
-
content# Base64 encoded image content
-
source# Google Cloud Storage URI