Skip to content

Instantly share code, notes, and snippets.

View TzuHuanTai's full-sized avatar

Tzu Huan Tai TzuHuanTai

View GitHub Profile
@TzuHuanTai
TzuHuanTai / Makefile
Last active August 16, 2021 13:55
Test OpenCV on multiple async camera, stitching in c++.
CC = g++
CFLAGS = -g -Wall
#FFMPEG_INCS = -I "D:\projects\test\include"
#FFMPEG_LIBS_PATH = -L "D:\projects\test\bin"
OPENCV_INC = -I "D:\lib\opencv-build\install\include"
OPENCV_LIB_PATH = -L "D:\lib\opencv-build\install\x64\mingw\bin"
#FFMPEG_LIBS = -lavdevice-58 \
# -lavcodec-58 \
# -lavfilter-7 \
@TzuHuanTai
TzuHuanTai / Dockerfile
Last active February 14, 2022 01:49
FFmpeg/OpenCV Dockerfile built from nvidiancuda:10.1 cudnn7 devel centos7
FROM nvidia/cuda:10.1-cudnn7-devel-centos7
ARG PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH"
ARG LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH"
### Update to gcc 8 and cmake3
RUN yum install -y install centos-release-scl-rh
RUN yum install -y devtoolset-8*
RUN echo "source /opt/rh/devtoolset-8/enable" >> /etc/bashrc
SHELL ["/bin/bash", "--login", "-c"]