Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Error when running #1

Open
tiagojdias opened this issue Nov 7, 2017 · 0 comments
Open

Server Error when running #1

tiagojdias opened this issue Nov 7, 2017 · 0 comments

Comments

@tiagojdias
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant