HaarCascade - Extended-Object-Detection-ROS/wiki_english GitHub Wiki
This attribute implements recognition by Haar cascades. OpenCV contains a number of already trained cascades, and also provides utilities to train them.
Modes | Accuracy assessment | 3D-translation | 3D-rotation | Contour extraction | Additional info |
---|---|---|---|---|---|
D | - | ❌ | ❌ | ❌ | - |
Finds areas identified with Haar cascades.
Not implemented
Not implemented
- Name (string, must be set) attribute unique name
- Type (string, must be "HaarCascade") attribute type
- Weight (double, default: 1) attribute weight
- Probability (double, default: 0.75) not used in this attribute
- Contour (bool, default: true) not used in this attribute
- Cascade (must be provided) The path to the XML file containing the cascade. If the path starts with '/', then it is considered global, if not, then local from the location of the object base.
- min_size (int, default = 30) minimal size of detected cascade
<AttributeLib>
<Attribute Name="HaarFace" Type="HaarCascade" Cascade="cascades/haarcascade_frontalcatface_extended.xml"/>
</AttributeLib>
<SimpleObjectBase>
<SimpleObject Name="Face" ID="10">
<Attribute Type="Detect">HaarFace</Attribute>
</SimpleObject>
</SimpleObjectBase>