From 21152d62460775b8f465a04295ed274656d47874 Mon Sep 17 00:00:00 2001 From: Mercy Date: Sat, 6 Jan 2024 21:02:30 +0000 Subject: [PATCH] Implementing Security --- __pycache__/find_actor.cpython-310.pyc | Bin 1556 -> 1539 bytes find_actor.py | 4 ---- 2 files changed, 4 deletions(-) diff --git a/__pycache__/find_actor.cpython-310.pyc b/__pycache__/find_actor.cpython-310.pyc index e632176bd054b5cb66236ea225ea7726e635d0b2..c23288a8f75e4dc6ebfdf8ed46ec90783c1a0f97 100644 GIT binary patch delta 367 zcmbQj)6B!0&&$ij00f)&&rCI&$h(=*ZsI{jjvA&E7DS*7+EH}GwMvPV$@;e zn7o`ZQHTeqnu|$(R19+b-pFoW4E#FNvMPdGg+JVm@PYfZU9E zyq?2W@^t}1ok6#di3tYdSlvJuis}jawX*Imv6_$|4F@=IhGuHAOSqT%CNriu%FNrT zk9Se5Td#3V%UB?+Q$c>>V-$|DNXi0aD6@yb*z5HNafrRZ+t*UGt-(P8V+``&4wrBs z%1{ROqi62w%K>OCL#j{XwOP|gvQmX&} diff --git a/find_actor.py b/find_actor.py index 962466b..52cc75e 100644 --- a/find_actor.py +++ b/find_actor.py @@ -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']: