HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.04k stars 2.26k forks source link

Better video timeline segmentation template/support. #3693

Open RafayAK opened 1 year ago

RafayAK commented 1 year ago

Is your feature request related to a problem? Please describe. The current video timeline segmentation template is deficient in a number of very important features, which result in annotations that are hard to control and an overall poor user experience.

Describe the solution you'd like Most of the above features I'm listing are supported by tools such as VGG VIA or Vidat.

To name a few, the template could do with the following features:

Describe alternatives you've considered

Video timeline segmentation is a very specific use case. It is akin to annotating all frames in a video that has an event of note, for example, a part of the video where it's raining or snowing, this use case does not translate well to object-detection or tracking templates as alluded here nor does adding a silent track to potentially thousands of videos a viable solution.

makseq commented 1 year ago

@RafayAK Have you tried to use <Video> tag instead? Does it satisfy the most of your criterias?

RafayAK commented 1 year ago

@makseq I don't really understand your suggestion, how can I incorporate <Video> tag in the below template?

<View>
  <Header value="Video timeline segmentation via AudioPlus sync trick"/>
  <Video name="video" value="$video_url" sync="audio"/>
  <Labels name="tricks" toName="audio" choice="multiple">

  <Label value="activity" background="#1b5100"/></Labels>
  <AudioPlus name="audio" value="$video_url" sync="video" speed="false"/>
</View><!--
  Audio tag uses the same $video file to be in sync, video is muted
--><!--{
 "video_url": "/static/samples/opossum_snow.mp4"
}-->
makseq commented 1 year ago

I meant this template

<View>
   <Labels name="videoLabels" toName="video" allowEmpty="true">
     <Label value="Man" background="blue"/>
     <Label value="Woman" background="red"/>
     <Label value="Other" background="green"/>
   </Labels>

   <!-- Please specify FPS carefully, it will be used for all project videos -->
   <Video name="video" value="$video" framerate="25.0"/>
   <VideoRectangle name="box" toName="video" />
</View>

Yes, it has bboes, but you can use them as dummy things (put them randomly on the image).

image

brandonbiggs commented 1 year ago

Did anyone find a way to change the playback speed of videos?

RafayAK commented 1 year ago

Any updates on this?