Show images from inside docker container
Docker and OpenCV are both great tools. Docker can be especially useful for development. OpenCV is arguably the defacto gold standard in developing computer vision applications. However, it can be a little challanging at first to set up these tools to work together. More specifically to display images from inside the container on the host when calling OpenCV functions such as imshow. This post will demonstrate by example one way to get imshow working with a simple C++ application, while installing and running OpenCV inside a docker container on a linux host machine.