Below code used to recognize face which i got from the below link
http://docs.opencv.org/3.0-beta/modules/face/doc/facerec/tutorial/facerec_video_recognition.html.>
I am using Windows 10 64-bit with Visual Studio 2015 and OpenCV 3.1.0 and opencv_contrib-master (Build Configuration: x64-Debug)
You're linking to release libraries, but you're in debug mode.
In debug you need to link to OpenCV libraries with the trailing "d": opencv_
.
So in your case to: opencv_core310d.lib
, etc...