运行我的代码时出现此错误
faces = face_cascade.detectMultiScale(灰色,scaleFactor = 1.5,minNeighbors = 5) cv2.error:OpenCV(4.1.0)C:\ projects \ opencv-python \ opencv \ modules \ objdetect \ src \ cascadedetect.cpp:1658:error:(-215:Assertion failed)!empty()in function'cv :: CascadeClassifier :: detectMultiScale'