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

rtsp #24

Open
jeehyun100 opened this issue Jan 2, 2018 · 0 comments
Open

rtsp #24

jeehyun100 opened this issue Jan 2, 2018 · 0 comments

Comments

@jeehyun100
Copy link
Member

WORKDIR /
ENV OPENCV_VERSION="3.2.0"
RUN wget https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip
&& unzip ${OPENCV_VERSION}.zip
&& mkdir /opencv-${OPENCV_VERSION}/cmake_binary
&& cd /opencv-${OPENCV_VERSION}/cmake_binary
&& cmake -DBUILD_TIFF=ON
-DBUILD_opencv_java=OFF
-DWITH_FFMPEG=ON
-DWITH_CUDA=ON
-DWITH_QT=ON
-DENABLE_AVX=ON
-DWITH_OPENGL=ON
-DWITH_OPENCL=ON
-DWITH_IPP=ON
-DWITH_TBB=ON
-DWITH_EIGEN=ON
-DWITH_V4L=ON
-DBUILD_TESTS=OFF
-DBUILD_PERF_TESTS=OFF
-DCMAKE_BUILD_TYPE=RELEASE
-DCMAKE_INSTALL_PREFIX=$(python3.6 -c "import sys; print(sys.prefix)")
-DPYTHON_EXECUTABLE=$(which python3.6)
-DPYTHON_INCLUDE_DIR=$(python3.6 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")
-DPYTHON_PACKAGES_PATH=$(python3.6 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") ..
&& make install

RUN cp /opencv-3.2.0/cmake_binary/lib/python3/cv2.cpython-36m-x86_64-linux-gnu.so /opt/conda/lib/python3.6/site-packages/cv2/
RUN dbus-uuidgen > /etc/machine-id

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