Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Rekognition Interest #218

Open
jakowenko opened this issue Jun 9, 2022 · 14 comments
Open

AWS Rekognition Interest #218

jakowenko opened this issue Jun 9, 2022 · 14 comments
Labels
enhancement New feature or request

Comments

@jakowenko
Copy link
Owner

jakowenko commented Jun 9, 2022

I've been curious to know how well AWS Rekognition stacks up to the other open source detectors and decided to build an online API to support this and allow easy integration on the Double Take side.

My idea was to support Rekognition from within the Double Take API for users who want to use their own AWS account and to also provide an online API hosted by myself that would also provide the same ability.

Implementing it on the Double Take side would look something like this.

detectors:
   rekognition:
        key: xxx-xxx-xxx-xxx # this would be for the hosted version
        aws-access-key-id: xxx-xxx-xxx
        aws-secret-access-key: xxx-xxx-xxx
        aws-region: us-east-1

Pricing from AWS is $0.0010 per image so there will be some costs to consider for those who are interested and in the future that price may change.

Either way, I'm going to build this out for personal use and if there's any others who are interested in trying it out feel free to let me know. If this catches on I will have to figure out automated payments, etc.

@jakowenko jakowenko added the enhancement New feature or request label Jun 9, 2022
@jakowenko jakowenko pinned this issue Jun 9, 2022
@thomaschristory
Copy link

Hey there,

So far it works very well, one thing that would be nice to add is sensors with the number of images processed for the month and/or the current cost

Thanks !

@jakowenko
Copy link
Owner Author

Hey there,

So far it works very well, one thing that would be nice to add is sensors with the number of images processed for the month and/or the current cost

Thanks !

I like that idea! I'll look into it.

@lied
Copy link

lied commented Nov 3, 2022

For me rekognition works much better than compreface. I would love a counter, how many are processed and a "limit" of pictures to be sent to rekognition would also be nice. If there is like thousand kids for halloween on your door it can be quite cost intensive. ;-)

@atv2016
Copy link

atv2016 commented Nov 21, 2022

@lied Really? Hmm maybe i should give it a go then. In what way do you feel it has been better?

@lied
Copy link

lied commented Nov 22, 2022

@lied Really? Hmm maybe i should give it a go then. In what way do you feel it has been better?

Compreface tries to put a name to every face it detects. Unknown faces are very rare. At least in my setup. Where AWS is much more reliable.

@atv2016
Copy link

atv2016 commented Nov 22, 2022 via email

@ozett
Copy link

ozett commented Dec 7, 2022

i looked into aws and amazon is offering three face api.

Face Detection
Face Search
Face Metadata Storage

which one is needed?

@MichielvanBeers
Copy link

@ozett where did you find those APIs? I've set this up by 1. configuring a separate user 2. adding the AmazonRekognitionFullAccess policy to that user (or a connected user group) 3. logging in with that user 4. copying the access key id and secret access key from there and 5. pasting that in the configuration of detectors as posted above.

Doing some initial testing now as well, but so far the results are definitely better than CompreFace, so very happy with this integration @jakowenko! :)

@atv2016
Copy link

atv2016 commented Jan 30, 2023 via email

@MichielvanBeers
Copy link

I'm not sure which custom builds you mean, so I don't think I have tested those yet. If you can point me in the right direction I'm happy to help test!

I've also noticed a difference in the performance in low lighting. Here AWS Rekognition seems to struggle more than CompreFace, though I haven't tested thoroughly yet.

@ozett
Copy link

ozett commented Jan 31, 2023

thats the API-Pricing i can see:
whats needed to test? group 1 or group 2, or something else?

image

@MichielvanBeers
Copy link

Ah, I didn't know that one. Looking at the pricing overview that I came across in my AWS portal, I'd reckon it is the top one, but I'm not 100% sure. The Free tier lets you have 5000 scans per month for free at least, so that is great for testing.

@neuhausf
Copy link

neuhausf commented Apr 8, 2023

Thanks for this great addition. I am currently on the free tier (at least that's what I believe...).

  • Is there a way to see the current usage and limits of the Rekognition-API?
  • Is there a way to limit costs per month and disable the API if exceeded?

The AWS interface is somewhat over complicated and I don't feel quite comfortable now that my credit card is known....

@lied
Copy link

lied commented Apr 8, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants