Skip to content

Commit

Permalink
Added docs for VideoAnnotation example.
Browse files Browse the repository at this point in the history
  • Loading branch information
hgmarques committed Jun 1, 2024
1 parent 5e0c0e0 commit 90e78ac
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
xmlns="https://bonsai-rx.org/2018/workflow">
<Workflow>
<Nodes>
<Expression xsi:type="Annotation">
<Name>1 </Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="num:CreateRandom">
<num:Seed xsi:nil="true" />
Expand All @@ -24,6 +28,10 @@
<Expression xsi:type="rx:BehaviorSubject">
<Name>Random Distribution X</Name>
</Expression>
<Expression xsi:type="Annotation">
<Name>2</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="num:CreateRandom">
<num:Seed xsi:nil="true" />
Expand All @@ -38,6 +46,10 @@
<Expression xsi:type="rx:BehaviorSubject">
<Name>Random Distribution Y</Name>
</Expression>
<Expression xsi:type="Annotation">
<Name>3</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="wie:KeyDown">
<wie:Filter>None</wie:Filter>
Expand Down Expand Up @@ -144,6 +156,10 @@
<Expression xsi:type="rx:BehaviorSubject">
<Name>Circle Position</Name>
</Expression>
<Expression xsi:type="Annotation">
<Name>4</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="cv:CameraCapture">
<cv:Index>0</cv:Index>
Expand All @@ -153,9 +169,17 @@
<Expression xsi:type="rx:BehaviorSubject">
<Name>Frames</Name>
</Expression>
<Expression xsi:type="Annotation">
<Name>5</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>Frames</Name>
</Expression>
<Expression xsi:type="Annotation">
<Name>5.1</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>Frames</Name>
</Expression>
Expand Down Expand Up @@ -183,6 +207,10 @@
</drw:Color>
</Combinator>
</Expression>
<Expression xsi:type="Annotation">
<Name>5.2</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>Frames</Name>
</Expression>
Expand All @@ -202,6 +230,10 @@
<drw:Interpolation>Linear</drw:Interpolation>
</Combinator>
</Expression>
<Expression xsi:type="Annotation">
<Name>5.3</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>Circle Position</Name>
</Expression>
Expand Down Expand Up @@ -235,22 +267,30 @@
<Edges>
<Edge From="0" To="1" Label="Source1" />
<Edge From="1" To="2" Label="Source1" />
<Edge From="3" To="4" Label="Source1" />
<Edge From="2" To="3" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
<Edge From="6" To="7" Label="Source1" />
<Edge From="7" To="8" Label="Source1" />
<Edge From="8" To="9" Label="Source1" />
<Edge From="9" To="10" Label="Source1" />
<Edge From="11" To="15" Label="Source1" />
<Edge From="10" To="11" Label="Source1" />
<Edge From="12" To="13" Label="Source1" />
<Edge From="13" To="14" Label="Source1" />
<Edge From="14" To="15" Label="Source2" />
<Edge From="15" To="18" Label="Source1" />
<Edge From="16" To="17" Label="Source1" />
<Edge From="17" To="18" Label="Source2" />
<Edge From="18" To="21" Label="Source1" />
<Edge From="15" To="16" Label="Source1" />
<Edge From="16" To="21" Label="Source1" />
<Edge From="17" To="18" Label="Source1" />
<Edge From="18" To="19" Label="Source1" />
<Edge From="19" To="20" Label="Source1" />
<Edge From="20" To="21" Label="Source2" />
<Edge From="21" To="22" Label="Source1" />
<Edge From="21" To="25" Label="Source1" />
<Edge From="22" To="23" Label="Source1" />
<Edge From="23" To="24" Label="Source1" />
<Edge From="24" To="25" Label="Source2" />
<Edge From="25" To="29" Label="Source1" />
<Edge From="26" To="27" Label="Source1" />
<Edge From="27" To="28" Label="Source1" />
<Edge From="28" To="29" Label="Source2" />
<Edge From="29" To="30" Label="Source1" />
</Edges>
</Workflow>
</WorkflowBuilder>
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,42 @@
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings xsi:type="WorkflowEditorSettings">
<Visible>false</Visible>
<Location>
Expand Down Expand Up @@ -540,6 +576,66 @@
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>false</Visible>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<WindowState>Normal</WindowState>
</DialogSettings>
<DialogSettings>
<Visible>true</Visible>
<Location>
Expand Down

0 comments on commit 90e78ac

Please sign in to comment.