404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.16.139.76: ~ $
**To compare faces in two images**

The following ``compare-faces`` command compares faces in two images stored in an Amazon S3 bucket. ::

    aws rekognition compare-faces \
        --source-image '{"S3Object":{"Bucket":"MyImageS3Bucket","Name":"source.jpg"}}' \
        --target-image '{"S3Object":{"Bucket":"MyImageS3Bucket","Name":"target.jpg"}}'

Output::

    {
        "UnmatchedFaces": [], 
        "FaceMatches": [
            {
                "Face": {
                    "BoundingBox": {
                        "Width": 0.12368916720151901, 
                        "Top": 0.16007372736930847, 
                        "Left": 0.5901257991790771, 
                        "Height": 0.25140416622161865
                    }, 
                    "Confidence": 100.0, 
                    "Pose": {
                        "Yaw": -3.7351467609405518, 
                        "Roll": -0.10309021919965744, 
                        "Pitch": 0.8637830018997192
                    }, 
                    "Quality": {
                        "Sharpness": 95.51618957519531, 
                        "Brightness": 65.29893493652344
                    }, 
                    "Landmarks": [
                        {
                            "Y": 0.26721030473709106, 
                            "X": 0.6204193830490112, 
                            "Type": "eyeLeft"
                        }, 
                        {
                            "Y": 0.26831310987472534, 
                            "X": 0.6776827573776245, 
                            "Type": "eyeRight"
                        }, 
                        {
                            "Y": 0.3514654338359833, 
                            "X": 0.6241428852081299, 
                            "Type": "mouthLeft"
                        }, 
                        {
                            "Y": 0.35258132219314575, 
                            "X": 0.6713621020317078, 
                            "Type": "mouthRight"
                        }, 
                        {
                            "Y": 0.3140771687030792, 
                            "X": 0.6428444981575012, 
                            "Type": "nose"
                        }
                    ]
                }, 
                "Similarity": 100.0
            }
        ], 
        "SourceImageFace": {
            "BoundingBox": {
                "Width": 0.12368916720151901, 
                "Top": 0.16007372736930847, 
                "Left": 0.5901257991790771, 
                "Height": 0.25140416622161865
            }, 
            "Confidence": 100.0
        }
    }

For more information, see `Comparing Faces in Images <https://docs.aws.amazon.com/rekognition/latest/dg/faces-comparefaces.html>`__ in the *Amazon Rekognition Developer Guide*.

Filemanager

Name Type Size Permission Actions
compare-faces.rst File 2.77 KB 0644
create-collection.rst File 561 B 0644
create-stream-processor.rst File 980 B 0644
delete-collection.rst File 420 B 0644
delete-faces.rst File 562 B 0644
delete-stream-processor.rst File 422 B 0644
describe-collection.rst File 625 B 0644
describe-stream-processor.rst File 1.3 KB 0644
detect-faces.rst File 9.23 KB 0644
detect-labels.rst File 19.38 KB 0644
detect-moderation-labels.rst File 887 B 0644
detect-text.rst File 6.24 KB 0644
get-celebrity-info.rst File 594 B 0644
get-celebrity-recognition.rst File 5.64 KB 0644
get-content-moderation.rst File 1.48 KB 0644
get-face-detection.rst File 4.7 KB 0644
get-face-search.rst File 6.03 KB 0644
get-label-detection.rst File 2.08 KB 0644
get-person-tracking.rst File 1.71 KB 0644
index-faces.rst File 9.22 KB 0644
list-collections.rst File 954 B 0644
list-faces.rst File 5.46 KB 0644
list-stream-processors.rst File 569 B 0644
recognize-celebrities.rst File 10.36 KB 0644
search-faces-by-image.rst File 6.62 KB 0644
search-faces.rst File 5.71 KB 0644
start-celebrity-recognition.rst File 644 B 0644
start-content-moderation.rst File 635 B 0644
start-face-detection.rst File 576 B 0644
start-face-search.rst File 709 B 0644
start-label-detection.rst File 613 B 0644
start-person-tracking.rst File 593 B 0644
start-stream-processor.rst File 425 B 0644
stop-stream-processor.rst File 431 B 0644