Skip to content

DataPiratesSIH/gearstalk_backend2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gearStalk- backend-2 for datapirates

Metadata format

// For a video of 1 second
{
    "_id": "ObjectId",
    "video_id": "video_id",
    "timestamp": "timestamp",
    "metadata": [
        {
            "frame_sec": 0, // 0 seconds
            "persons": [
                {
                    "box": [x,y,w,h],
                    "labels": [], // Length of labels and colors should be same
                    "colors": [_,_] // top 2 colors in the image,
                },
                {
                    "box": [x,y,w,h],
                    "labels": [],
                    "colors": [_,_] // top 2 colors in the image,
                }
            ]
        },
            {
            "frame_sec": 0.5, // 0.5 seconds
            "persons": [
                {
                    "box": [x,y,w,h],
                    "labels": [], // Length of labels and colors should be same
                    "colors": [_,_] // top 2 colors in the image,
                },
                {
                    "box": [x,y,w,h],
                    "labels": [],
                    "colors": [_,_] // top 2 colors in the image,
                }
            ]
        },
            {
            "frame_sec": 1, // 1 second
            "persons": [
                {
                    "box": [x,y,w,h],
                    "labels": [], // Length of labels and colors should be same
                    "colors": [_,_] // top 2 colors in the image,
                },
                {
                    "box": [x,y,w,h],
                    "labels": [],
                    "colors": [_,_] // top 2 colors in the image,
                }
            ]
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors