简体   繁体   中英

cv2.face.LBPHFaceRecognizer_create() is not working for python 3.7

Following code is working for python 2.7 and 3.6. But it is not working for 3.7

recognizer = cv2.face.LBPHFaceRecognizer_create()

Many Modules (probably including opencv-contrib-python) are not yet updated to work with python3.7. so either downgrade or use an alternative library.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM