Skip to content

SquareObjectDistance

Moscowsky Anton edited this page Jan 18, 2023 · 2 revisions

SquareObjectDistance

Extracting position and rotation of square object with given side lenght (such as arucos, qr and so on)

Modes Accuracy assessment 3D-translation 3D-rotation Contour extraction Additional info
E - - -

1. Modes

1.1. Detect

Not implemented

1.2. Check

Not implemented

1.3. Extract

Gives position and rotation too object, if it has contour with 4 points

2. XML-description

2.1. Common parameter

  • Name (string, must be set) Unique attribute name
  • Type (string, must be "SquareObjectDistance") attribute type
  • Weight (double, default: 1) attribute weight
  • Probability (double, default: 0.75) not used
  • Contour (bool, default: true) not used

2.2. Extra parameters

  • length (float, default: 0) side of object in meters

2.3. Example

An example of use together with a attrubute of Aruco.


    <Attribute Name="Aruco4" Type="Aruco" Dict="2"/>    

    
</AttributeLib>


<SimpleObjectBase>  

    <SimpleObject Name="Marker" ID="100">
        <Attribute Type="Detect">Aruco4</Attribute>            
        <Attribute Type="Extract">Len38mm</Attribute>
    </SimpleObject>

</SimpleObjectBase>  

Clone this wiki locally