-
Notifications
You must be signed in to change notification settings - Fork 857
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
Error loading file at Matrix.matrix.detectObject #93
Comments
My bad, some reference error. |
I was wondering what the resolution to this problem was? I am having the same issue and haven't been able to figure it out. |
For others reference, the problem I had was using "~/" in my file names. I needed to explicitly say which folder the file was in by using "/home/username/" instead. |
@agustinhaller I'm also seeing this error. The fix @gossamershadow gave didn't resolve the issue for me. Could you clarify what you did to fix your issue? |
lol I guess I'll follow the trend. I fixed my issue on my own as well. Instead of doing this:
I gave the filename directly to detectObject:
|
that works, or you can do |
hmm..will that allow me to load a cascade once, and use it in multiple detect statements? |
cascades are cached once they are resolved, so it doesn't matter which way you use |
Ok, so if I do something like this:
It'll only load that cascade once? |
Yes, it will only read file once https://github.com/peterbraden/node-opencv/blob/master/lib/opencv.js#L16-L28 However, note that after that operation is async, and if you want to track progress use bluebird or async or neo-async, or whatever you prefer for flow control |
Ok. I'm still having issues, but I'm gonna open another issue, because at this point it's unrelated. |
Hi, i'm trying to run the examples, but i'm getting some errors when running the face_detection.js file.
Here's what i get:
I'm very new to this, so i don't have much idea which may be the problem. Any help is appreciated!
The text was updated successfully, but these errors were encountered: