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
run this command to install the contrib
python -m pip install opencv-contrib-python
after this is done use this attribute
recoginizer = cv2.face.LBPHFaceRecognizer_create()