Rekognition image matching with overall parameters

0

Greetings from Vancouver Island.

I'm having trouble with the rekognition documentation with respect to matching 'like' images. I've got finding/matching faces, understandc collection ids, etc. What I want to do is match one photo to a set of photos that are 'generally' like the source. So if you have pictures of a walk in the wood with pictures from the beach, i want to select a picture form the woods and not see the beach ones. Using python, boto3, etc. If someone could point me to the relevant chucnk of the documentation, I'll try to figure it out.

Thanks in advance

Rick

profile picture
已提問 2 個月前檢視次數 131 次
1 個回答
1
已接受的答案

To match similar non-face images using Amazon Rekognition and Python, focus on the DetectLabels function. This API action identifies objects, scenes, and concepts in images.

How to :

  • Set up your AWS SDK and create a Rekognition client in Python.
  • Use DetectLabels to analyze each image, obtaining labels that describe the image's contents.
  • Filter the images by reviewing these labels and their confidence scores, keeping those that match your criteria (e.g., forest scenes but not beach scenes).
profile picture
專家
已回答 2 個月前
  • I appreciate the quick answer. This seems to be a very good way to great granular information regarding an image. If you have a scenario with a 'beach' photo properly handling labels and you want to search for 'like' photos in a pile of, say 5,000, I assume step one will be to create a db that captures what Rekog finds for all 5,000 images and then when doing the 'like this' zip through that db looking for the labels as you described. Should be fun to code up. Any other thoughts, let me know. Thanks again!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南