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

Issues with pathing to haarcascade_frontalface_alt.xml #17

Open
justint opened this issue May 14, 2017 · 1 comment
Open

Issues with pathing to haarcascade_frontalface_alt.xml #17

justint opened this issue May 14, 2017 · 1 comment

Comments

@justint
Copy link

justint commented May 14, 2017

Hey Tristan, great eye tracking system first of all. 😄

Just a heads up, your current implementation as it is in the repository won't run due to the path given to the haarcascade_frontalface_alt.xml file in main.cpp. Since eyeLike's post-build executable location is under build/bin/, the double ellipse count should be two, not three, eg:

cv::String face_cascade_name = "../../res/haarcascade_frontalface_alt.xml";

I might suggest turning the path of said xml file into an argument, so the user can specify where the xml file is without needing to recompile.

@trishume
Copy link
Owner

Yah that's probably reasonable. The path is correct for the way I build eyeLike with XCode, which puts the binary under build/bin/Debug/, but that's not what happens with command line CMake.

It being a command line parameter that defaults to two levels up seems like a better option indeed.

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

2 participants