Question: How do we integrate SagePay with .NET MVC

When we try to use in MVC its returning vpsprotocol as 2.23 only instead of 3.00

Can someone let us know how to include the reference for the dll properly in .NET MVC

Thanks

Srini

Answer: 
you will have to download and build the [opencv\_contrib](https://github.com/Itseez/opencv_contrib) repo.

after running cmake, make, make install, 

```
#include <opencv2/face.hpp>

// note the additional namespace:    
cv::Ptr <cv::face::FaceRecognizer> model = cv::face::createLBPHFaceRecognizer();
// proceed as usual

```
On my Debian installation

```
$ dpkg -l libopencv-contrib-dev
ii  libopencv-contrib-dev:amd64 3.2.0+dfsg-6 amd64        development files for libopencv-contrib3.2

```

enables me to use contributed modules with just an additional include. For example:

```
#include <opencv2/opencv.hpp>
#include <opencv2/face.hpp>
auto model = cv::face::createLBPHFaceRecognizer();

```