-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathimage_detection_example.launch
More file actions
51 lines (44 loc) · 2.1 KB
/
image_detection_example.launch
File metadata and controls
51 lines (44 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!--
Copyright (c) 2017 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<launch>
<arg name="parallel_size" default="5" />
<arg name="image_base_path" default="/opt/movidius/ncappzoo/data/images/"/>
<arg name="demo_mode" default="0"/>
<arg name="parallel_flag" default="0"/>
<arg name="contrast_mode" default="0" />
<group if="$(eval contrast_mode == 0)">
<node pkg="movidius_ncs_example" type="movidius_ncs_example_image_detection"
name="movidius_ncs_image_multiple_detection" output="screen">
<param name="parallel_size" value="$(arg parallel_size)" />
<param name="image_base_path" value="$(arg image_base_path)" />
<param name="demo_mode" value="$(arg demo_mode)" />
<param name="parallel_flag" value="1" />
</node>
</group>
<group if="$(eval contrast_mode == 1)">
<node pkg="movidius_ncs_example" type="movidius_ncs_example_image_detection"
name="movidius_ncs_image_single_detection" output="screen">
<param name="parallel_size" value="1" />
<param name="image_base_path" value="$(arg image_base_path)" />
<param name="demo_mode" value="1" />
<param name="parallel_flag" value="$(arg parallel_flag)" />
</node>
<node pkg="movidius_ncs_example" type="movidius_ncs_example_image_detection"
name="movidius_ncs_image_multiple_detection" output="screen">
<param name="parallel_size" value="$(arg parallel_size)" />
<param name="image_base_path" value="$(arg image_base_path)" />
<param name="demo_mode" value="1" />
<param name="parallel_flag" value="1" />
</node>
</group>
</launch>