ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
you can use the 'cwd' attribute in your launch file. E.g.
<node name="fr_server" pkg="face_recognition" type="Fserver" cwd="node"/>
This sets the working directory to the directory where the executable is placed. In this case, then you just need to put all required input files ( haarcascade_frontalface_alt.xml, train.txt, facedata.xml and the data folder) in the bin folder of the face_recognition package.