Skip to content

SummarizedResult Resource

Definition

This is an object representing a summary of the result of a job.

If you are interested in a more detailed result (e.g. position of the identity in the video) you can request the /detailed-results endpoint.

ENDPOINTS

GET /v1/jobs/{JOB_ID}/summarized-results/

Attributes

Name Type Description
id string A unique ID for this object
type string The type of the result. See the detailed documentation of the Visual Mining Module for all available types.
source string Refers to the media file source which the result belongs to
module string Visual Mining Module that has been applied
meta dict Based on the module field, meta can contain different data. See detailed documentation of the Visual Mining Module.

JSON Example

The following JSON snippet is showing the summarized results of a completed job which was processing video with the Advanced Diversity Analysis module.

{
    "total": 5,
    "offset": 0,
    "limit": 10,
    "next": "http://api.deepva.com/api/v1/jobs/f662463f-b440-4901-b032-6e6b202955f6/summarized-results/?limit=10&offset=10",
    "prev": "http://api.deepva.com/api/v1/jobs/f662463f-b440-4901-b032-6e6b202955f6/summarized-results/?limit=10&offset=0",
    "data": [
        {
            "id": "a143d847-49ed-453e-a2ba-93e03a63a810",
            "source": "https://www.youtube.com/watch?v=wxN1T1uxQ2g",
            "module": "advanced_diversity_analysis",
            "meta": {
                "female": 1,
                "male": 4
            },
            "type": "gender_count"
        },
        {
            "id": "42440471-8350-4529-bc18-2e99a0e3d1fc",
            "source": "https://www.youtube.com/watch?v=wxN1T1uxQ2g",
            "module": "advanced_diversity_analysis",
            "meta": {
                "30-40": 2,
                "50-60": 1,
                "60-70": 1,
                "40-50": 1
            },
            "type": "age_count"
        },
        {
            "id": "d3a9087d-61f9-4152-a26d-18c866b6b5bd",
            "source": "https://www.youtube.com/watch?v=wxN1T1uxQ2g",
            "module": "advanced_diversity_analysis",
            "meta": {
                "female_1": 26.0,
                "male_1": 4.0,
                "male_2": 2.5,
                "male_3": 13.0,
                "male_4": 4.5
            },
            "type": "person_screen_time"
        },
        {
            "id": "d64bcc4d-1ce3-4232-b6c0-d28a02d25545",
            "source": "https://www.youtube.com/watch?v=wxN1T1uxQ2g",
            "module": "advanced_diversity_analysis",
            "meta": {
                "female": 26.0,
                "male": 24.0
            },
            "type": "gender_screen_time"
        },
        {
            "id": "ce8e3522-ba3d-4e8d-85ec-39f69e25cc22",
            "source": "https://www.youtube.com/watch?v=wxN1T1uxQ2g",
            "module": "advanced_diversity_analysis",
            "meta": {
                "30-40": 30.5,
                "50-60": 4.0,
                "60-70": 2.5,
                "40-50": 13.0
            },
            "type": "age_screen_time"
        }
    ]
}