Sign inSign up

0x4f776c/opencv

By 0x4f776c

Updated about 5 years ago

Ubuntu 20.04.2 LTS image with OpenCV installed

Image
0

873

0x4f776c/opencv repository overview

Ubuntu 20.04.2 LTS image with OpenCV for use in Computer Vision projects.

Requirements:

  • X Server - Host machine

Installation guide [Build from scratch]

  1. Basic utilities
apt-get install -y wget iputils-ping tmux vim net-tools python3-pip
  1. OpenCV installation
apt install -y libopencv-dev python3-opencv libnvidia-gl-440
  1. Python packages installation
pip install numpy
  1. Running container with GUI and Shared volume - Windows
Set-Variable -Name DISPLAY -Value <host machine Docker/WSL IP>:0.0

docker run -it --rm -e DISPLAY=$DISPLAY -v D:\shared:/root/shared 0x4f776c/opencv /bin/bash
Changelog
  • v1 (OpenCV 4.2.0)
  • added lena.png in /root/opencv/
  • added picture.py in /root/opencv/ for testing
  • latest (OpenCV 4.2.0)
  • updated picture.py to include addition code snippets and numpy
  • installed python3-pip and numpy

References

Run GUI app in container - Windows

Run GUI app in container - Linux

YouTube video for OpenCV

Some cool code snippet for OpenCV

Tag summary

Content type

Image

Digest

Size

598.4 MB

Last updated

about 5 years ago

docker pull 0x4f776c/opencv