Questions tagged [amazon-rekognition]

Amazon Rekognition provides image analysis as a service. Use this tag for questions regarding Rekognition's API, CLI, or SDKs.

Amazon Rekognition provides image analysis as a service.

Usage Guidance

  • Use this tag for questions regarding Amazon Rekognition's API, CLI, or SDKs.

Resources

268 questions
12
votes
5 answers

Amazon Rekognition for text detection

I have images of receipts and I want to store the text in the images separately. Is it possible to detect text from images using Amazon Rekognition?
user2219441
  • 153
  • 1
  • 1
  • 6
11
votes
1 answer

An example of calling AWS Rekognition HTTP API from Python

I'd like to try Rekognition's CompareFaces, but I don't see a full example of the syntax for using the HTTP API. Assuming I have two images, how would I call this API from Python to retrieve a similarity score?
jensph
  • 733
  • 1
  • 10
  • 20
8
votes
2 answers

Amazon Textract vs Amazon Rekognition DetectText

How do I decide when to use Amazon Textract vs Amazon Rekognition's TextDetect method? My usecase is click picture from mobile and convert image data into text and store into AWS…
vaquar khan
  • 8,163
  • 4
  • 54
  • 73
6
votes
2 answers

AWS Lambda Console - Upgrade boto3 version

I am creating a DeepLens project to recognise people, when one of select group of people are scanned by the camera. The project uses a lambda, which processes the images and triggers the 'rekognition' aws api. When I trigger the API from my local…
Deep
  • 613
  • 9
  • 22
5
votes
2 answers

Google Cloud Vision - Which region does Google upload the images to?

I am building an OCR based solution to extract information from certain financial documents. As per the regulation in my country (India), this data cannot leave India. Is it possible to find the region where Google Cloud Vision servers are…
5
votes
2 answers

How do I convert local .JPG file to Base64 to work with Boto3 and Detect_Text?

Relevant Code: import boto3 from PIL import Image import base64 client = boto3.client('rekognition') filename = r'C:\Users\H-63\Pictures\scantests\Rekognition test.JPG' with open(filename, 'rb') as image_file: image = image_file.read() image…
M Waz
  • 545
  • 3
  • 17
5
votes
1 answer

AWS Rekognition gives an InvalidS3Exeption error

Every time I run the command aws rekognition detect-labels --image "S3Object={Bucket=BucketName,Name=picture.jpg}" --region us-east-1 I get this error. InvalidS3ObjectException: An error occurred (InvalidS3ObjectException) when calling the…
Rjbeckwith
  • 311
  • 5
  • 8
5
votes
3 answers

AWS Rekognition JS SDK Invalid image encoding error

Building a simple AWS Rekognition demo with React, using Getting Invalid image encoding error. let file = e.target.files[0]; let reader = new FileReader(); reader.readAsDataURL(file); reader.onloadend = () => { let…
5
votes
5 answers

AWS Rekognition JavaScript SDK using Bytes

The AWS Rekognition Javascript API states that for rekognition.compareFaces(params,...) method, the SourceImage and TargetImage can take Bytes or S3Object. I want to use the Bytes which can be "Bytes — (Buffer, Typed Array, Blob, String)" Blob…
5
votes
1 answer

How can I DetectFaces in Amazon Rekognition AWS with Android Studio?

I have tried so many way but i can't succeed. I haven't found any source code examples for Android(about rekognition) there's a source code in JAVA in the Developer Guide but i cannot implement that even though I tried TT I try to detect faces by…
4
votes
2 answers

Detecting liveness with AWS Rekognition

I am looking to use AWS Reckognition in one of my projects and trying to find out whether or not its possible to differentiate between a still image (photograph) vs a real person, in other words liveness detection. I don't want my system to be…
4
votes
2 answers

Is it possible to get the count of objects using Google's Vision API or Amazon's Rekognition?

I have been exploring to get the count of the objects in an image / video using AWS Rekognition & Google's Vision, but haven't been able to find a way out. Though at Google's Vision site, they do have a section 'Insight from the Images' where…
Amit
  • 194
  • 3
  • 20
4
votes
1 answer

How to upload an image to AWS Rekognition using command line tools (AWS CLI)

I am trying to upload JPG or PNG images stored in the local file system to Amazon Rekognition on the command line using aws-cli/1.11.175. Images stored in S3 work perfectly fine, but I can't figure out how the CLI call should look like, if the file…
fred
  • 51
  • 3
4
votes
5 answers

Solution to identify "Similar Product Images"?

I want to build a cloud based solution in which I would give a pool of images; and then ask for "find similar image to a particular image from this pool of images" !! Pool of images can be like "all t-shirt" images. Hence, similar images mean…
4
votes
3 answers

Error in Boto AWS Rekognition

I am trying to compare faces using AWS Rekognitionthrough Python boto3, as instructed in the AWS documentation. My API call is: client = boto3.client('rekognition', aws_access_key_id=key, aws_secret_access_key=secret, region_name=region…
1
2 3
17 18