You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, i tried to use installation guide but i had a lot of errors because of contrib.cpp ... i assume that it's not working for OpenCV 3+ since you guys used OpenCV 2.x.
So, i tried to force in the CMakeLists.txt the OpenCV still not working. So, i cloned the actual repo in this page. Finally, it compiled. Although as soon as i trigger the recognition server it gives some errors ... The output is bellow:
[ INFO] [/corobot_face_recognition]: Reading images from .../test_ws/src/corobot-kinetic/corobot_face_recognition/face_database.
[ INFO] [/corobot_face_recognition]: Reading images completed
[ INFO] [/corobot_face_recognition]: 3 Subjects: adiba, ronit, zack_butler,
[ INFO] [/corobot_face_recognition]: Training started.
OpenCV Error: Bad argument (Empty training data was given. You'll need more than one sample to learn a model.) in train, file /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/opencv_contrib/face/src/eigen_faces.cpp, line 54
[ INFO] [/corobot_face_recognition]: /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/opencv_contrib/face/src/eigen_faces.cpp:54: error: (-5) Empty training data was given. You'll need more than one sample to learn a model. in function train
[ INFO] [/corobot_face_recognition]: Only ADD_IMAGES mode will work. Please add more subjects for recognition.
init done
Thanks in advance,
Best regards.
The text was updated successfully, but these errors were encountered:
Hi guys, i tried to use installation guide but i had a lot of errors because of contrib.cpp ... i assume that it's not working for OpenCV 3+ since you guys used OpenCV 2.x.
So, i tried to force in the CMakeLists.txt the OpenCV still not working. So, i cloned the actual repo in this page. Finally, it compiled. Although as soon as i trigger the recognition server it gives some errors ... The output is bellow:
[ INFO] [/corobot_face_recognition]: Reading images from .../test_ws/src/corobot-kinetic/corobot_face_recognition/face_database.
[ INFO] [/corobot_face_recognition]: Reading images completed
[ INFO] [/corobot_face_recognition]: 3 Subjects: adiba, ronit, zack_butler,
[ INFO] [/corobot_face_recognition]: Training started.
OpenCV Error: Bad argument (Empty training data was given. You'll need more than one sample to learn a model.) in train, file /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/opencv_contrib/face/src/eigen_faces.cpp, line 54
[ INFO] [/corobot_face_recognition]: /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/opencv_contrib/face/src/eigen_faces.cpp:54: error: (-5) Empty training data was given. You'll need more than one sample to learn a model. in function train
[ INFO] [/corobot_face_recognition]: Only ADD_IMAGES mode will work. Please add more subjects for recognition.
init done
Thanks in advance,
Best regards.
The text was updated successfully, but these errors were encountered: