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
For Python version 3.6.x, do this:
Open your terminal and install opencv-contrib-python
python -m pip install opencv-contrib-python
when you done with it use this
recoginizer = cv2.face.LBPHFaceRecognizer_create()
For More option you can do it like this way:
print(help(cv2.face))