-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from k-okada/add_matching_template
update matching template
- Loading branch information
Showing
5 changed files
with
104 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<launch> | ||
<arg name="gui" default="true" /> | ||
<node name="play_face_bag" pkg="rosbag" type="play" args="-l $(find opencv_apps)/test/face_detector_withface_test_diamondback.bag" /> | ||
|
||
<group ns="wide_stereo/left" > | ||
<node name="image_proc" pkg="image_proc" type="image_proc" /> | ||
<node name="image_view" pkg="image_view" type="image_view" args="image:=image_rect_color" if="$(arg gui)" /> | ||
|
||
<!-- convex_hull.cpp --> | ||
<include file="$(find opencv_apps)/launch/match_template.launch" > | ||
<arg name="debug_view" value="$(arg gui)" /> | ||
<arg name="image" value="image_rect" /> | ||
<arg name="template_file" value="$(find opencv_apps)/test/template.png" /> | ||
<arg name="mask_file" value="" /> | ||
</include> | ||
|
||
<!-- Test Codes --> | ||
<node name="match_template_saver" pkg="image_view" type="image_saver" args="image:=match_template/image" > | ||
<param name="filename_format" value="$(find opencv_apps)/test/match_template.png"/> | ||
</node> | ||
<param name="match_template_test/topic" value="match_template/matched_rectangle" /> <!-- opencv_apps/ContorArrayStamped --> | ||
<test test-name="match_template_test" pkg="rostest" type="hztest" name="match_template_test" > | ||
<param name="hz" value="20" /> | ||
<param name="hzerror" value="15" /> | ||
<param name="test_duration" value="5.0" /> | ||
</test> | ||
</group> | ||
</launch> |