Video Search Demo

(no tags)

    Algorithmia Platform License · Internet Access · Calls Other Algorithms

    Try the API

    [
      {
        "sequences": [
          {
            "mean": 0.3767086192965507,
            "mode": 0.35460036993026733,
            "number_of_frames": 7,
            "start_time": 31.09033762886598,
            "stop_time": 32.28611984536082
          }
        ],
        "tag": {
          "class": "cinema, movie theater, movie theatre, movie house, picture palace"
        }
      },
      {
        "sequences": [
          {
            "mean": 0.3787179504122053,
            "mode": 0.2910259962081909,
            "number_of_frames": 6,
            "start_time": 34.87698131443299,
            "stop_time": 35.87346649484536
          }
        ],
        "tag": {
          "class": "toyshop"
        }
      },
      {
        "sequences": [
          {
            "mean": 0.8629670111756576,
            "mode": 0.6125141978263855,
            "number_of_frames": 18,
            "start_time": 8.370475515463918,
            "stop_time": 11.75852512886598
          }
        ],
        "tag": {
          "class": "trolleybus, trolley coach, trackless trolley"
        }
      }
    ]

    Install & Use

    Use
    
    curl -X POST -d '{  
      "input_file":"https://s3.amazonaws.com/algorithmia-demos/video-metadata/busstation6094.mp4",
      "output_file":"data://demo/video_search/busstation_i2v.json",
      "vmde_input":{  
        "algorithm":"algo://deeplearning/InceptionNet",
        "advanced_input":"$SINGLE_INPUT",
        "fps":5
      },
      "vts_input":{  
        "tag_key":"class",
        "confidence_key":"confidence",
        "traversal_path":{  
          "tags":"$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/demo/VideoSearchDemo/0.1.0