Video Tag Sequence

sequence video data

Algorithmia Platform License · Internet Access

Run an Example

[
  {
    "sequences": [
      {
        "mean": 0.44347607096036273,
        "mode": 0.29036399722099304,
        "number_of_frames": 8,
        "start_time": 8.19706711409396,
        "stop_time": 9.935838926174496
      },
      {
        "mean": 0.383247903415135,
        "mode": 0.267714262008667,
        "number_of_frames": 6,
        "start_time": 16.145738255033557,
        "stop_time": 17.38771812080537
      }
    ],
    "tag": {
      "class": "cliff"
    }
  },
  {
    "sequences": [
      {
        "mean": 0.6472491789609194,
        "mode": 0.3923141360282898,
        "number_of_frames": 15,
        "start_time": 3.477543624161074,
        "stop_time": 6.955087248322148
      }
    ],
    "tag": {
      "class": "waterfall"
    }
  },
  {
    "sequences": [
      {
        "mean": 0.5122596791812352,
        "mode": 0.39176857471466064,
        "number_of_frames": 6,
        "start_time": 32.29147651006711,
        "stop_time": 33.53345637583893
      }
    ],
    "tag": {
      "class": "rice_paddy"
    }
  }
]

Install & Use

Use

curl -X POST -d '{  
  "source":"data://media/extractions/kenny_places365.json",
  "tag_key":"class",
  "confidence_key":"prob",
  "traversal_path":{  
    "predictions":"$ROOT"
  },
  "minimum_confidence":0.25,
  "minimum_sequence_length":5
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/media/VideoTagSequencer/0.1.9