Assigned
Status Update
Comments
jm...@google.com <jm...@google.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
Best Regards,
Josh Moyer
Google Cloud Platform Support
Best Regards,
Josh Moyer
Google Cloud Platform Support
Description
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered:
- Attempting to detect labels using an animated WebP image fails with the error "Bad image data".
What you expected to happen:
- Vision API to detect the labels of the image.
- It should treat animated WebP similar to GIF and analyze the first frame.
Steps to reproduce:
- Using the Google made sample 'Lossless animated WebP' on Google's WebP site [1]
gcloud ml vision detect-labels gs://<Bucket Name>/test.webp
ERROR: (gcloud.ml.vision.detect-labels) Code: [3] Message: [Bad image data.]
[1]
Other information (workarounds you have tried, documentation consulted, etc):
- Only workaround is to convert WebP to GIF, but this drastically increases the file size and is not recommended.