Open amalgmar12 opened 6 years ago
I am also facing same issue while compiling face recognition package using catkin_make. I am using Ros kinetic with ubuntu version 16.0.4.
I am in the same boat. If anybody has any suggestion, I would really appreciate it.
I had the same issue. I think, however, it is the version of OpenCV that cause the issue. For ros-kinetic, OpenCV 3.3 is the default version of the cv-bridge, while face_recognition was developed using ros-indigo, I guess, where OpenCV 2.4 is the default of the cv-bridge. You might modify "cv_bridgeConfig.cmake" as suggested in https://blog.csdn.net/bigdog_1027/article/details/79092263. It caused me some other issues for me, unfortunately. Therefore, I simply set up a new OS image for my raspberry-pi, using Raspbian-Jessie, ros-Indigo, and "sudo ln -s ..." for pointing to installed xxx.so files. Thereafter, all set!!
Thanks Csyang for the information... What is the problem you are facing after linking to openCv2.4 with Ros kinetic. Ideally it should work rit?
hello everyone, did anyone found the solution for this compiling error issue ? because i am facing the same problem here on Kinetic on Ubuntu 16.04. Otherwise, is there any other face_recognition project that works well on Kinetic ROS distribution ?
Yes i found a solution.
For anyone that want to do face recognition, just forget this one. There is a package that do it and it works on kinetic and melodic. Check wiki.ros.org/opencv_apps
To install (change distro to kinetic if you need): sudo apt install ros-melodic-opencv-apps sudo apt install xterm sudo apt install ros-melodic-usb-cam
Its based on these two opencv tutorials, so the code is commented and explained:
https://docs.opencv.org/3.3.1/db/d3a/facedetect_8cpp-example.html https://docs.opencv.org/3.2.0/da/d60/tutorial_face_main.html
It works!
Yes i found a solution.
For anyone that want to do face recognition, just forget this one. There is a package that do it and it works on kinetic and melodic. Check wiki.ros.org/opencv_apps
To install (change distro to kinetic if you need): sudo apt install ros-melodic-opencv-apps sudo apt install xterm sudo apt install ros-melodic-usb-cam
Its based on these two opencv tutorials, so the code is commented and explained:
https://docs.opencv.org/3.3.1/db/d3a/facedetect_8cpp-example.html https://docs.opencv.org/3.2.0/da/d60/tutorial_face_main.html
It works!
thanks!! problems solved!
Hi,
I face this error while compiling with catkin_make . Can you please help me . Thank you for advance .