Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions launch/face_recognition.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<launch>
<arg name="show_screen" default="true"/>

<node
name="usb_camera"
pkg="usb_cam"
type="usb_cam_node"
required="true"
output="screen">
<param name="autofocus" type="boolean" value="true"/>
</node>

<node
name="Fserver"
pkg="face_recognition"
type="Fserver"
required="true">
<remap
from="camera/image_raw"
to="usb_camera/image_raw"/>
<param
name="show_screen_flag"
type="boolean"
value="$(arg show_screen)"/>
</node>

<node
name="Fclient"
pkg="face_recognition"
type="Fclient"
required="true"
output="screen">
<remap
from="face_recognition"
to="Fserver"
/>
</node>

</launch>
2 changes: 1 addition & 1 deletion src/face_recognition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class FaceRecognition
public:

FaceRecognition(std::string name) :
pnh_("~"),
frl(),
it_(nh_),
pnh_("~"),
as_(nh_, name, boost::bind(&FaceRecognition::executeCB, this, _1), false)
{
//a face recognized with confidence value higher than the confidence_value threshold is accepted as valid.
Expand Down