faces=detector(img_rd,0) #人脸特征数组TypeError: 'NoneType' object is not callable
看看是少导了包,导致detector这个函数不认。