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 is not installed #75

Open
hariaakash opened this issue Sep 30, 2017 · 2 comments
Open

OpenCV is not installed #75

hariaakash opened this issue Sep 30, 2017 · 2 comments

Comments

@hariaakash
Copy link

Every other machine learning libraries whereas opencv is not installed. I just checked and there is no such directory created for opencv.

@blgnksy
Copy link

blgnksy commented Oct 31, 2017

Hi,

Run the docker image. Open the bash copy and paste the commands below:

git clone --depth 1 https://github.com/opencv/opencv.git /root/opencv && \ cd /root/opencv && \ mkdir build && \ cd build && \ cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=OFF .. && \ make -j"$(nproc)" && \ make install && \ ldconfig && \ echo 'ln /dev/null /dev/raw1394' >> ~/.bashrc
It will take some time depending your computer.

Best,
B.A.

@vexelenn
Copy link

I succesfully installed opencv right from the dockerfile by setting -DBUILD_EXAMPLES=OFF in line:
cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=OFF .. && \

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

3 participants