Skip to content

Commit

Permalink
Implementing Security
Browse files Browse the repository at this point in the history
  • Loading branch information
gmercyo committed Jan 6, 2024
1 parent 90dd0b8 commit 21152d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Binary file modified __pycache__/find_actor.cpython-310.pyc
Binary file not shown.
4 changes: 0 additions & 4 deletions find_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@
def find_actor_by_image(image_file):
# creating a Rekognition client
client = boto3.client('rekognition')
# /Users/godsmercyoluwanusin/Downloads/Actor_image.jpg

# open the image file

response = client.recognize_celebrities(Image={'Bytes': image_file.read()})
print(response)

# parsing the response to get the 1st celebrity name
if response['CelebrityFaces']:
Expand Down

0 comments on commit 21152d6

Please sign in to comment.