[ERROR:0@0.010] global persistence.cpp:505 cv::FileStorage::Impl::open Can't open file: 'xml/haarcascade_frontalface_default.xml' in read mode
Traceback (most recent call last):
File "456.py", line 4, in
recog = cv2.face.LBPHFaceRecognizer_create() # 啟用訓練人臉模型方法
AttributeError: module 'cv2' has no attribute 'face'