opencv with ffmpeg and Qt to give graph out put support
924
This is a opencv docker for development.
tag:latest:
tag:ubuntu_focal_opencv_4.5.5:
Pull it from the Dockerhub
docker pull xinyu0000/opencv
You may want to run it like this(X11):
xhost +local:docker
docker run -it \
-v /tmp/.x11-unix:/tmp/.x11-unix \
-e DISPLAY=$DISPLAY \
-e GDK_SCALE \
-e GDK_DPI_SCALE \
--ipc=host \
--net=host \
--device=/dev/video0 \
--name opencv_X11 \
xinyu0000/opencv:latest
or this (Wayland)
docker run -it \
-e XDG_SESSION_TYPE=wayland \
-e XDG_RUNTIME_DIR=/tmp \
-e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
-v $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/$WAYLAND_DISPLAY \
-e QT_QPA_PLATFORM=wayland \
-e GDK_BACKEND=wayland \
-e CLUTTER_BACKEND=wayland \
-e SDL_VIDEODRIVER=wayland \
-e ELM_DISPLAY=wl \
-e ELM_ACCEL=opengl \
-e ECORE_EVAS_ENGINE=wayland_egl \
--net=host \
--device=/dev/video0 \
--name opencv_wayland \
xinyu0000/opencv:latest
Content type
Image
Digest
Size
521.7 MB
Last updated
over 4 years ago
docker pull xinyu0000/opencv