HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/rekognition/get-label-detection.rst
**To get the results of an objects and scenes detection operation**

The following ``get-label-detection`` command displays the results of an objects and scenes detection operation that you started previously by calling ``start-label-detection``. ::

    aws rekognition get-label-detection  \
        --job-id 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef

Output::

    {
        "Labels": [
            {
                "Timestamp": 0, 
                "Label": {
                    "Instances": [], 
                    "Confidence": 50.19071578979492, 
                    "Parents": [
                        {
                            "Name": "Person"
                        }, 
                        {
                            "Name": "Crowd"
                        }
                    ], 
                    "Name": "Audience"
                }
            }, 
            {
                "Timestamp": 0, 
                "Label": {
                    "Instances": [], 
                    "Confidence": 55.74115753173828, 
                    "Parents": [
                        {
                            "Name": "Room"
                        }, 
                        {
                            "Name": "Indoors"
                        }, 
                        {
                            "Name": "School"
                        }
                    ], 
                    "Name": "Classroom"
                }
            }
        ], 
        "JobStatus": "SUCCEEDED", 
        "LabelModelVersion": "2.0", 
        "VideoMetadata": {
            "Format": "QuickTime / MOV", 
            "FrameRate": 29.970617294311523, 
            "Codec": "h264", 
            "DurationMillis": 6806, 
            "FrameHeight": 1080, 
            "FrameWidth": 1920
        }, 
        "NextToken": "BMugzAi4L72IERzQdbpyMQuEFBsjlo5W0Yx3mfG+sR9mm98E1/CpObenspRfs/5FBQFs4X7G"
    }

For more information, see `Detecting Labels in a Video <https://docs.aws.amazon.com/rekognition/latest/dg/labels-detecting-labels-video.html>`__ in the *Amazon Rekognition Developer Guide*.