Sign inSign up

m03geek/dlib

By m03geek

•Updated over 8 years ago

Docker image with compiled Dlib

Image
1

570

m03geek/dlib repository overview

⁠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

⁠With FFmpeg

OpenCVOpenCV+DlibOpenCV+Dlib+Node.jsOpenCV+Node.js
Docker⁠Docker⁠Docker⁠Docker⁠
Github⁠Github⁠Github⁠Github⁠

Tag summary

Content type

Image

Digest

Size

20.1 MB

Last updated

over 8 years ago

docker pull m03geek/dlib:alpine-19.8