LogicAndDetector - Extended-Object-Detection-ROS/wiki_english GitHub Wiki
A pseudo-attribute that allows you to combine two attributes by logical AND. In this case, objects are returned for which both attributes gave a result in the same area. In fact, this is a duplication of the general recognition paradigm of this solution, but it is useful in some cases.
Modes | Accuracy assessment | 3D-translation | 3D-rotation | Contour extraction | Additional info |
---|---|---|---|---|---|
DС | Inherited | Inherited | Inherited | Inherited | Inherited |
Returns the areas in which two attributes, combined with data, tested positive at the same time. In this case, the rectangles with IOU above the specified threshold are combined into one.
Checks for satisfaction of the area at once for both signs.
Not implemented
- Name (string, must be set) attribute unique name
- Type (string, must be "LogicAnd") 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
- A (string, must be set) The first attribute to combine must be declared in the AttributeLib tag above this one.
- B (string, must be set) The second attribute to combine must be declared in the AttributeLib tag above this one.
- iou (double, must be set) The IOU threshold, which the characteristics must satisfy for the union.
- second_check (int, default: 0) If not 0, than the second attribute is used in Check mode.
<?xml version="1.0" ?>
<AttributeLib>
<Attribute Name="HistDarkRed" Type="HistColor" Histogram="histograms/DarkRed.yaml"/>
<Attribute Name="CupDnn" Type="Dnn" framework="tensorflow" weights="ssd_mobilenet_v1_coco_2017_11_17/frozen_inference_graph.pb" config="ssd_mobilenet_v1_coco_2017_11_17/config.pbtxt" labels="ssd_mobilenet_v1_coco_2017_11_17/mscoco_label_map.pbtxt" inputWidth="300" inputHeight="300" Probability="0.75" obj_id="47"/>
<Attribute Name="RedCupViaAnd" Type="LogicAnd" iou="0.5" A="CupDnn" B="HistDarkRed"/>
</AttributeLib>
<SimpleObjectBase>
<SimpleObject Name="RedCup2" ID="62" Probability="0.5">
<Attribute Type="Detect">RedCupViaAnd</Attribute>
</SimpleObject>
</SimpleObjectBase>