Class Image (1.30.1)

  Image 
 ( 
 image_bytes 
 : 
 bytes 
 ) 
 

Image.

Methods

Image

  Image 
 ( 
 image_bytes 
 : 
 bytes 
 ) 
 

Creates an Image object.

load_from_file

  load_from_file 
 ( 
 location 
 : 
 str 
 ) 
 - 
> vertexai 
 . 
 vision_models 
 . 
 _vision_models 
 . 
 Image 
 

Loads image from file.

save

  save 
 ( 
 location 
 : 
 str 
 ) 
 

Saves image to a file.

show

  show 
 () 
 

Shows the image.

This method only works when in a notebook environment.

Create a Mobile Website
View Site in Mobile | Classic
Share by: