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

QrZbarAttribute

Feature that recognizes QR codes using the library Zbar.

Modes Accuracy assessment 3D-translation 3D-rotation Contour extraction Additional info
D - <Attribute_name>:info

1. Modes

1.1. Detect

Returns areas with QR codes.

1.2. Check

Not implemented

1.3. Extract

Not implemented, information is automatically extracted in Detect mode

2. XML-description

2.1. Common parameters

  • Name (string, must be set) attribute unique name
  • Type (string, must be "QrZbar") attribute type
  • Weight (double, default: 1) attribute weight
  • Probability (double, default: 0.75) not used in this attribute
  • Contour (bool, default: true) returns the contour of the attribute if true

2.2. Special parameters

  • Info (string, default: "") If not an empty string, then only QR codes carrying the specified information are returned.
  • Lenght (double, default: -1) The side of the real code in meters, if greater than 0, then allows you to localize the code in space.

2.3. Example

<?xml version="1.0" ?>

<AttributeLib>
    
    <Attribute Name="QrcodeZbar" Type="QR_ZBAR" Lenght="0.1" Info=""/> 
    
</AttributeLib>

<SimpleObjectBase> 
    
    <SimpleObject Name="QRcodeZbar" ID="71">                   
        <Attribute Type="Detect">QrcodeZbar</Attribute>        
    </SimpleObject>
    
</SimpleObjectBase>

qr zbar example The axes of rotation relative to the code are defined as follows

qr axis

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