Clone this project and build it by using Visual Studio 2017. Reference Fugro.OpenCV.dll in your own project and you are ready to go. The repository includes unit tests which can be run by using NUnit.