Skip to main content

<VideoRectangle>

Category: Control tag

VideoRectangle tag brings Object Tracking capabilities to videos. It works in combination with the <Video/> and the <Labels/> tags.

Use with the following data types: video

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the element to control (video)

Examples​

Video Object Tracking​

<View>
<Header>Label the video:</Header>
<Video name="video" value="$video" />
<VideoRectangle name="box" toName="video" />

<Labels name="videoLabels" toName="video">
<Label value="Cell" background="#944BFF"/>
<Label value="Bacteria" background="#98C84E"/>
</Labels>
</View>