Troubleshooting of Amazon Rekognition: Difference between revisions
Jump to navigation
Jump to search
m
Troubleshooting of Amazon Rekognition (edit)
Revision as of 18:25, 30 December 2022
, 30 December 2022→Fix the ImageTooLargeException
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
(The article written in [https://errerrors.blogspot.com/2020/12/troubleshooting-amazon-rekognition-video.html Traditional Chinese]) | (The article written in [https://errerrors.blogspot.com/2020/12/troubleshooting-amazon-rekognition-video.html Traditional Chinese]) | ||
== Fix the ImageTooLargeException == | |||
* Error message: An error occurred (ImageTooLargeException) when calling the DetectLabels operation: Image dimensions: null x null pixels exceed the maximum limit.<ref>[https://docs.aws.amazon.com/rekognition/latest/dg/limits.html Guidelines and quotas in Amazon Rekognition - Amazon Rekognition]</ref> | |||
* Condition: The original file was bigger than 5MB or too large: e.g. dimensions of image met trouble is 19842 × 7464 | |||
* Solution: (1) Resize the file size to smaller than 5MB (2) Reduce the dimensions of image to 4096 pixels for both width and height. | |||
* Tools: [https://www.reduceimages.com/ Resize Images Online - Reduce JPG, BMP, GIF, PNG images] | |||
== Fix the InvalidImageFormatException == | == Fix the InvalidImageFormatException == |