The following table shows the compute time saved for three sample images. The third Lambda function called extract_text handles text-to-speech utilizing Amazon Textract, and Amazon Comprehend.Įxecuting the Lambda functions in succession is suitable, but the faster, more efficient way of doing this is through parallel processing.Also, calling Detect Faces first is faster than simply running Compare Faces and handling errors, so for images without faces in them, processing time will be faster. The reason for this is Compare Faces will throw an error if there are no faces found in the image. The second Lambda function called describe_faces first checks if there are faces using Amazon Rekognition’s Detect Faces API, and if true, it calls the Compare Faces API.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |