Open hariaakash opened 6 years ago
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.
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 .. && \
Every other machine learning libraries whereas opencv is not installed. I just checked and there is no such directory created for opencv.