logofirst GitHub

Video Classifier

You can build simple video classifier using HyperText tag.

Input data

You need to prepare input data like this, read more about HTML video tag

 { "html": "<video src='examples.com/1.mp4'>" },
 { "html": "<video src='examples.com/2.mp4'>" }

Or you can even use embeds from Youtube:

 { "html": "<iframe src='https://www.youtube.com/embed/mf9TKj0NuTQ'></iframe>" }


  <Choices name="type" toName="video" choice="single-radio">
    <Choice value="Motion"></Choice>
    <Choice value="Stable"></Choice>
  <HyperText name="video" value="$html"></HyperText>
<!-- { "html": "<iframe src='https://www.youtube.com/embed/mf9TKj0NuTQ'></iframe>" } -->

Note: preview for this config uses another sample input data, so it won’t display the proper task with the video.