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

OpenCV Webcam Exercise #5

Open
DarioHett opened this issue Mar 20, 2020 · 0 comments
Open

OpenCV Webcam Exercise #5

DarioHett opened this issue Mar 20, 2020 · 0 comments

Comments

@DarioHett
Copy link

DarioHett commented Mar 20, 2020

For whoever wants to try the OpenCV Webcam exercise, I ran in minor issues. So I'll leave my learnings here for future reference.

Install OpenCV using their install guide.

Remark:
Clone their 3.4 repository, "OpenCV 4.x+ requires enabled C++11 support" and would require other workarounds. Using git clone -b 3.4 https://github.com/opencv/opencv.git fixed it right away.

Also set the "-DOPENCV_GENERATE_PKGCONFIG=ON" when executing make:
cmake -DCMAKE_BUILD_TYPE=Release -DOPENCV_GENERATE_PKGCONFIG=ON -DCMAKE_INSTALL_PREFIX=/usr/local .. such that your Makefile for the homework can set the required flags through pkg-config.

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

1 participant