PoseDetector - Extended-Object-Detection-ROS/wiki_english GitHub Wiki

Pose

This feature allows you to set restrictions on the position of an object in the frame.

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

1. Modes

1.1. Detect

Not implemented

1.2. Check

Checks if the center of the object falls within the frames specified by the parameters.

1.3. Extract

Not implemented

2. XML-description

2.1. Common parameters

  • Name (string, must be set) attribute unique name
  • Type (string, must be "Pose") attribute type
  • Weight (double, default: 1) attribute weight
  • Probability (double, default: 0.75) not used in this attributes
  • Contour (bool, default: true) not used in this attributes

2.2. Special parameters

  • x_min (double, default: 0) lower axis position limit OX [0-1].
  • x_max (double, default: 1) upper axis position limit OX [0-1].
  • y_min (double, default: 0) lower axis position limit OY [0-1].
  • y_max (double, default: 1) upper axis position limit OY [0-1].

2.3. Example

An example of use in conjunction with the [color] (HistColor) attribute. This configuration of the attribute allows detecting only in the lower half of the image.

<?xml version="1.0" ?>

<AttributeLib>
    
    <Attribute Name="HistColorOrange" Type="HistColor" Histogram="histograms/Orange.yaml"/>    
    
    <Attribute Name="Lower" Type="Pose" x_min="0" x_max="1" y_min="0.5" y_max="1"/>        

</AttributeLib>

<SimpleObjectBase>  
    
    <SimpleObject Name="OrangeStickerBottom" ID="4">              
        <Attribute Type="Detect">HistColorOrange</Attribute>  
        <Attribute Type="Check">Lower</Attribute>
    </SimpleObject>
    
</SimpleObjectBase>

pose negative example pose positive example

⚠️ **GitHub.com Fallback** ⚠️