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

```
from <https://github.com/opencv/opencv_contrib>:

1. Start cmake-gui
2. Select the opencv source code folder and the folder where binaries
will be built (the 2 upper forms of the interface)
3. Press the configure button. you will see all the opencv build
parameters in the central interface
4. Browse the parameters and look for the form called
OPENCV\_EXTRA\_MODULES\_PATH (use the search form to focus rapidly on
it)
5. Complete this OPENCV\_EXTRA\_MODULES\_PATH by the proper pathname to
the /modules value using its browse button.
6. Press the configure button followed by the generate button (the
first time, you will be asked which makefile style to use)
7. Build the opencv core with the method you chose (make and make
install if you chose Unix makfile at step 6)

To run, linker flags to contrib modules will need to be added to use them in your code/IDE. For example to use the aruco module, "-lopencv\_aruco" flag will be added.