Skip to content

SkeLLLa/docker-dlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-dlib

Docker image with compiled Dlib

Versions (latest)

  • dlib - 19.8

Dlib

Dlib is built from source. Latest git tag corresponds Dlib version.

Compile options

-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"

Image support

  • png
  • jpeg
  • gif

FFmpeg support

In order to add ffmpeg support just simply install it through package manager

Alpine

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'

Stretch

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'

Other images:

Without FFmpeg

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

With FFmpeg

OpenCV OpenCV+Dlib OpenCV+Dlib+Node.js OpenCV+Node.js
Docker Docker Docker Docker
Github Github Github Github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages