![amazon photo app ios amazon photo app ios](https://phandroid.s3.amazonaws.com/wp-content/uploads/2015/09/Apple-Move-to-iOS-Android-app.jpg)
In the IAM console, go to the Roles section, and find your unauth role from the previous step.To do this, choose Allow on the Your Cognito identities require access to your resources page and head over to the IAM console.You can also use a readily available policy template for access to the Amazon Rekognition API. You do this for the unauth role, but you can also do the same thing for the auth role if you’re going to use the app as an authenticated user. Choose View Details, choose View Policy Document, and then choose Edit. To do this, you edit the IAM policy on the Your Cognito identities require access to your resources page. The next step is to create a role and attach an IAM policy to this role that gives access to the Amazon Rekognition API. Choose Create Pool, which takes you to the Your Cognito identities require access to your resources page for assigning a role to your identity pool.Select the check box for Enable access to unauthenticated identities, so that you don’t need to sign in for this demo app.Enter a name that’s recognizable later, such as “My Rekognition App”.Go to the Amazon Cognito console, go to Manage Identity Pools, and then choose Create new Identity Pool.Step 1: Set up permissions for calling the Amazon Rekognition API Create an Amazon Cognito identity pool Here’s what the completed iOS app looks like in action.
#Amazon photo app ios code#
The final solution app code (san your credentials) is available from this GitHub repository.
![amazon photo app ios amazon photo app ios](https://m.media-amazon.com/images/G/01/mobile-apps/dex/login-with-amazon/sso-flow-ios._TTH_.png)
This solution is an iOS app that’s written in Swift, but you can easily extend the underlying concepts to other mobile platforms. The app we’re building in this walkthrough showcases features of the Amazon Rekognition API-such as celebrity detection, result confidence, face detection, and face boundaries. In this walkthrough, we build a sample iOS Swift app that lets you snap a photo with your phone camera, and uses Amazon Rekognition to identify faces and celebrities in the picture, with links to additional information about the identified celebrity. Amazon Rekognition is an AWS service that enables you to easily add intelligent image and video analysis to your applications. What if you could build similar functionality in your own mobile app and point your phone at whatever you’re watching to detect celebrities? Today, if you’re watching an Amazon Prime Video, you get a neat feature called X-Ray, which identifies the actors on screen and provides handy links to their IMDb profiles. You see an actor on screen that looks very familiar, but you just can’t seem to remember their name or where you’ve seen them before.
#Amazon photo app ios movie#
Picture yourself watching a movie or TV series. This article was written by Prashant Pawan Pisipati, Sr.