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

Use of undeclared identifier 'faceRects' in hipster dog example #21

Open
transat opened this issue Apr 25, 2018 · 2 comments
Open

Use of undeclared identifier 'faceRects' in hipster dog example #21

transat opened this issue Apr 25, 2018 · 2 comments

Comments

@transat
Copy link

transat commented Apr 25, 2018

In the hipster dog example, using of0.10.0 on OSXRC3 I'm getting 2 errors...

Invalid range expression of type 'auto'; no viable 'begin' function available

and

Use of undeclared identifier 'faceRects'; did you mean 'faceRect'?

on this line:

for (auto& faceRect: faceRects)

because ofApp.h is missing:

// Our face detection bounding boxes.
    std::vector<dlib::rectangle> faceRects;
@transat
Copy link
Author

transat commented Apr 25, 2018

But even then, the app launches but no faces get detected and the console repeats the following:

[warning] ofGLRenderer: drawing an unallocated texture

@bakercp
Copy link
Owner

bakercp commented Apr 25, 2018

I think that example is unfinished. I'll take a look.

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