cho em hỏi lỗi này fix sao thầy ơi
cv2.imwrite("dataSet/user."+str(id)+"."+str(sampleNum)+".jpg"+gray[y:y+h,x:x+w])
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S22') dtype('S22') dtype('S22')
cho em hỏi lỗi này fix sao thầy ơi
cv2.imwrite("dataSet/user."+str(id)+"."+str(sampleNum)+".jpg"+gray[y:y+h,x:x+w])
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S22') dtype('S22') dtype('S22')