SpaceRightRelation - Extended-Object-Detection-ROS/wiki_english GitHub Wiki
Checks that the center of the first object's bounding rectangle is to the right of the center of the second object's bounding rectangle.
- Name (string, must be set) unique relationship name
- Type (string, must be SpaceRight) relationship type
- None
<?xml version="1.0" ?>
<AttributeLib>
<Attribute Name="Aruco4" Type="Aruco" Dict="0" IDmarker="-1" Lenght="0.082"/>
<Attribute Name="Aruco6" Type="Aruco" Contour="true" Dict="8" IDmarker="-1" Lenght="0.125"/>
</AttributeLib>
<SimpleObjectBase>
<SimpleObject Name="Aruco6" ID="41">
<Attribute Type="Detect">Aruco6</Attribute>
</SimpleObject>
<SimpleObject Name="Aruco4" ID="44">
<Attribute Type="Detect">Aruco4</Attribute>
</SimpleObject>
</SimpleObjectBase>
<RelationLib>
<RelationShip Type="SpaceRight" Name="right"/>
</RelationLib>
<ComplexObjectBase>
<ComplexObject ID="3" Name="ArucoRight">
<SimpleObject Class="Aruco6" InnerName="A6"/>
<SimpleObject Class="Aruco4" InnerName="A4"/>
<Relation Obj1="A4" Obj2="A6" Relationship="right"/>
</ComplexObject>
</ComplexObjectBase>