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

there is some issue for using the example codes of chapter 2 #7

Open
LeonJung opened this issue Nov 27, 2017 · 3 comments
Open

there is some issue for using the example codes of chapter 2 #7

LeonJung opened this issue Nov 27, 2017 · 3 comments

Comments

@LeonJung
Copy link

@lentinjose

Hi, long time no see since we met in ICRA 2017
how is it going?

I'm currently managing a external project which is learning more deeply about ROS and Vision Sensing.
To learn skills of those two keywords, we are looking through your book.

and we are doing some debugs of what is introduced in your book.

Now, since recent update comes, there were some issues in chapter2 example code.
I uploaded the modified one in my repo which forks your repo,
and I will do replacement of dynamixel package to the official one in late of this year.

If you are interested, or want PR, feel free to ask

Thanks

@christopherKorpela
Copy link

Hi-

I am trying to run the face_tracker_pkg but getting an opencv error. I am using Ubuntu 16.04 and ROS Kinetic (and opencv3). However, it appears that the facetracker node is using opencv2. Can you confirm? When I launch start_tracking, I get this error:

ERROR: Could not load classifier cascade
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
terminate called after throwing an instance of 'cv::Exception'

Thanks for any assistance.

@qboticslabs
Copy link
Owner

Hi @christopherKorpela

I think you have gone through the chapter also. You have to change the path of cascade file

https://github.com/qboticslabs/ros_robotics_projects/blob/master/chapter_2_codes/face_tracker_pkg/config/track.yaml

The error is because it is not getting the face.xml, because you need to change the username of the path. Then only it will work

@okeonwuka
Copy link

Yes.
Worked for me. By changing the "haar_file_face" parameter value in "track.yaml" from the original value to the actual path in my system that leads to "face.xml", i was able to get the code to work. Thanks..Good call!

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

4 participants