face-detection

How to use DeepFace.detectFace() to actually detect a several faces in an image?

How to use DeepFace.detectFace() to actually detect a several faces in an image? Question: I am using deep face library in order to get several faces in one picture, DeepFace.detectFace(), only detect one face, but if I use the backends separately without use DeepFace I can extract all faces, is it possible to use DeepFace.detectFace() …

Total answers: 3

How to detect cheeks using openCV?

How to detect cheeks using openCV? Question: I am working on a virtual make-up using Python, openCV, dlib. Currently, I can get the facial landmarks like lips, nose, jaw etc. But I am quite unsure on getting the points of the cheeks. Are they any recommendations? Asked By: surendhar selvam || Source Answers: If you’re …

Total answers: 1

Unable to get object metadata from S3. Check object key, region and/or access permissions in aws Rekognition

Unable to get object metadata from S3. Check object key, region and/or access permissions in aws Rekognition Question: import boto3 if __name__ == “__main__”: bucket=’MyBucketName’ sourceFile=’pic1.jpg’ targetFile=’pic2.jpg’ client=boto3.client(‘rekognition’,’us-east-1′) response=client.compare_faces(SimilarityThreshold=70, SourceImage={‘S3Object’:{‘Bucket’:bucket,’Name’:sourceFile}}, TargetImage={‘S3Object’:{‘Bucket’:bucket,’Name’:targetFile}}) for faceMatch in response[‘FaceMatches’]: position = faceMatch[‘Face’][‘BoundingBox’] confidence = str(faceMatch[‘Face’][‘Confidence’]) print(‘The face at ‘ + str(position[‘Left’]) + ‘ ‘ + str(position[‘Top’]) + ‘ matches …

Total answers: 15

Cropping faces from an image using OpenCV in Python

Cropping faces from an image using OpenCV in Python Question: I’m currently trying to crop faces from an image. I want the code to work no matter how many faces are in the image. An example of the input image: I’d like to crop the faces so I can run a facial keypoint detection algorithm …

Total answers: 1

Detect face then autocrop pictures

Detect face then autocrop pictures Question: I am trying to find an app that can detect faces in my pictures, make the detected face centered and crop 720 x 720 pixels of the picture. It is rather very time consuming & meticulous to edit around hundreds of pictures I plan to do that. I have …

Total answers: 11