Public | Automated Build

Last pushed: 4 months ago
Short Description
Small image (one layer on top of ubuntu) with openCV python and ffmpeg for video processing
Full Description

docker-python-opencv-ffmpeg

Repository for clean Dockerfile containing ffmpeg, opencv3 and python2, based on Ubuntu

Supported tags and respective Dockerfile links

Build

You can build it on your own

git clone https://github.com/Valian/docker-python-opencv-ffmpeg
cd docker-python-opencv-ffmpeg

# takes lots of time, be prepared
docker build -t valian/docker-python-opencv-ffmpeg -f Dockerfile-py2 .

But I encourage you to use version from DockerHub - it's MUCH faster

docker pull valian/docker-python-opencv-ffmpeg

Usage

Image has OpenCV3, python2.7 and ffmpeg ready to use. Example:

docker run --rm -it -v $PWD:/srv valian/docker-python-opencv-ffmpeg python
>>> import cv2; cv2.VideoCapture('/srv/example.mp4').read()
# truncated for transparency
(True, array([[[ 46, 112, 104], ...]], dtype=uint8))
Docker Pull Command
Owner
valian