ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

face_recognition package can't work for me

asked 2017-03-09 02:18:44 -0500

michael_kong gravatar image

I followed the guide link text,and input the followed commands

  1. Publish /usb_cam/image_raw I'm using shows clearly my face
  2. rosrun face_recognition Fserver
  3. rosrun face_recognition Fclient
  4. rostopic pub -1 /fr_order face_recognition/FRClientGoal -- 2 "your_name"

I got something in the terminal

Fsever

  1. [ INFO] [1489046351.126060180]: Training data loaded (25 training images of 1 people):
  2. [ INFO] [1489046351.126147576]: People:
  3. [ INFO] [1489046351.126162294]: <maciej>
  4. [ INFO] [1489046351.153610783]: show_screen_flag: true

    Fcilent

  5. [ INFO] [1489046383.344315508]: request for sending goal [2] is received

  6. [ INFO] [1489046383.344795519]: Goal just went active

if successful, what result can I expect? I can't find any picture new in the date package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-03-09 05:41:50 -0500

michael_kong gravatar image

I fixed it with the help of my friends. in /home/michael/catkin_ws/src/procrob_functional/src --face_recognition.cpp

  • change image_sub_ = it_.subscribe("/camera/image_raw", 1, &FaceRecognition::imageCB, this); to image_sub_ = it_.subscribe("/usb_cam/image_raw", 1, &FaceRecognition::imageCB, this);
  • that is because I use "usb_cam" node not "camera" node
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-03-09 02:18:44 -0500

Seen: 141 times

Last updated: Mar 09 '17