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

WARNING:root:HAAR Cascade analysis requires the optional dependency OpenCV 2.x to be installed. #56

Open
drtrigon opened this issue Jul 19, 2016 · 3 comments

Comments

@drtrigon
Copy link
Collaborator

When I run the scripts like e.g. bulk_bot.py or simple_bot.py I get these messages unless I install python-opencv (unbuntu-14.04). Can we solve that like #46 by adding it to setupdeps.py?

@AbdealiLoKo
Copy link
Collaborator

Currently, as discussed - it is not a good idea, as installing opencv inside virtualenvs is messy. These issues are the only reason we had initially moved to skimage, opencv is currently a necessary evil because it has some nice functions.

Ideally, it would be nice to move them over to skimage.

But, I think opencv will always be an optional dependency - because it's not easy to install, but is useful for experimentation.

@drtrigon
Copy link
Collaborator Author

drtrigon commented Aug 4, 2016

"But, I think opencv will always be an optional dependency - because it's not easy to install, but is useful for experimentation." - I strongly agree with this!

Still - can we give at least some explicit (os dependent) install hints? Or is that messy too?

@drtrigon drtrigon reopened this Aug 4, 2016
@AbdealiLoKo
Copy link
Collaborator

OS specific isn't an issue - but it won't work out in virtualenvs. Which is the issue mainly as inside virtualenvs it's not very easy to install it. We could probably give hints ... but It's experimental and hence use at your own risk - I'd rather not "support" it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants