我正在使用cv2,下面是代码。
# OpenCV trains a model from the images
# NOTE FOR OpenCV2: remove '.face'
model = cv2.LBPHFaceRecognizer_create()
model.train(images, labels)运行此程序时出现的错误是
model = cv2.LBPHFaceRecognizer_create()
AttributeError: module 'cv2' has no attribute 'LBPHFaceRecognizer_create'发布于 2022-01-09 03:07:56
https://stackoverflow.com/questions/70638099
复制相似问题