photos¶
Accessing photos and the camera
Use this library to pick and take photos.
-
photos.pick_photo() → PIL.Image.Image¶ Pick a photo from the photos library. Returns the picked image as a PIL Image.
Return type: PIL.Image.Image
-
photos.save_image(image: PIL.Image.Image)¶ Saves the given image to the photos library.
Parameters: image – A PILimage to save.
-
photos.take_photo() → PIL.Image.Image¶ Take a photo from the camera. Returns the taken image as a PIL Image.
Return type: PIL.Image.Image