odoo_xmlrpc_twisted.functions.crop_hints

Crop an image.

Functions

crop_hints(image)

Crops the image using the "Crop Hints" function from Google Cloud Vision API, see https://cloud.google.com/vision/docs/crop-hints#authenticating_to_the_api.

odoo_xmlrpc_twisted.functions.crop_hints.crop_hints(image)[source]

Crops the image using the “Crop Hints” function from Google Cloud Vision API, see https://cloud.google.com/vision/docs/crop-hints#authenticating_to_the_api.

Result is a cropped image stream.