Docker image with compiled Dlib
- dlib - 19.8
Dlib is built from source. Latest git tag corresponds Dlib version.
-D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=$LIB_PREFIX
-D DLIB_NO_GUI_SUPPORT=OFF
-D DLIB_USE_BLAS=ON
-D DLIB_GIF_SUPPORT=ON
-D DLIB_PNG_SUPPORT=ON
-D DLIB_JPEG_SUPPORT=ON
-D DLIB_USE_CUDA=OFF"
- png
- jpeg
- gif
In order to add ffmpeg support just simply install it through package manager
RUN apk add -u --no-cache ffmpeg
# optioanlly export ffmpeg binaries to env (e.g. for fluent-ffmpeg module)
ENV FFMPEG_PATH='/usr/bin/ffmpeg' \
FFPROBE_PATH='/usr/bin/ffprobe'
You may install ffmpeg from official repo, but I'd recommend deb-multimedia.
RUN echo "deb http://www.deb-multimedia.org stretch main non-free" >> "/etc/apt/sources.list" \
&& apt-get update && apt-get install -y deb-multimedia-keyring ffmpeg --no-install-recommends --allow-unauthenticated
# optioanlly export ffmpeg binaries to env (e.g. for fluent-ffmpeg module)
ENV FFMPEG_PATH='/usr/bin/ffmpeg' \
FFPROBE_PATH='/usr/bin/ffprobe'
OpenCV | Dlib | OpenCV+Dlib | OpenCV+Dlib+Node.js | OpenCV+Node.js | Dlib+Node.js |
---|---|---|---|---|---|
Docker | Docker | Docker | Docker | Docker | Docker |
Github | Github | Github | Github | Github | Github |
OpenCV | OpenCV+Dlib | OpenCV+Dlib+Node.js | OpenCV+Node.js |
---|---|---|---|
Docker | Docker | Docker | Docker |
Github | Github | Github | Github |