I have a python function with opencv 3. it works without virtual environment.Also I installed opencv on venv from:pyimagesearch. i am trying to run that python function on v
The easiest way for me was to use anaconda package:
conda install -c menpo opencv3=3.1.0
Once installed, use cv2.face.createLBPHFaceRecognizer() or other face recognizers. Hope this helps
cv2.face.createLBPHFaceRecognizer()