OpenCV-for-PHP is a PHP extension wrapping the OpenCV library for image processing. It lets you use the OpenCV library for image recognition and modification tasks.
This Dockerfile builds OpenCV version 2.3.1, compiles and enables the OpenCV-for-PHP extension against PHP version 5.6.28