Skip to content

Commit 23fc57c

Browse files
removed grobal detector dnn
1 parent e026517 commit 23fc57c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

config/object_base_example/ObjectBaseExample.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
<Attribute Name="Lower" Type="Pose" x_min="0" x_max="1" y_min="0.5" y_max="1"/>
5454

55-
<Attribute Name="COCO_Dnn" 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="-1" forceCuda="1"/>
55+
<Attribute Name="COCO_Dnn" 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.5" forceCuda="1"/>
5656

5757
<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"/>
5858

@@ -88,6 +88,8 @@
8888

8989
<Attribute Name="ID13" Type="ExtractedInfoID" field="Aruco4:marker_id" allowed="13" forbidden=""/>
9090

91+
<Attribute Name="COCO_cup" Type="ExtractedInfoID" field="COCO_Dnn:class_id" allowed="47" forbidden=""/>
92+
9193
</AttributeLib>
9294

9395
<SimpleObjectBase>
@@ -205,15 +207,17 @@
205207
<Attribute Type="Detect">SocialRobotsCover</Attribute>
206208
<Attribute Type="Check">NotFractal</Attribute>
207209
</SimpleObject>
208-
210+
209211
<SimpleObject Name="COCO_dnn_object" ID="60">
210212
<Attribute Type="Detect">COCO_Dnn</Attribute>
211213
</SimpleObject>
212214

213215
<SimpleObject Name="RedCup" ID="61" Mode="Hard" MergingPolicy="Union">
216+
<Attribute Type="Detect">COCO_Dnn</Attribute>
217+
<Attribute Type="Check">COCO_cup</Attribute>
214218
<Attribute Type="Detect">HistDarkRed</Attribute>
215219
<Attribute Type="Check">NotFractal</Attribute>
216-
<Attribute Type="Detect">CupDnn</Attribute>
220+
217221
</SimpleObject>
218222

219223
<SimpleObject Name="RedCup2" ID="62" Probability="0.5">

0 commit comments

Comments
 (0)