I am writing a Python script, and I am shocked that I find that there is no such cv2.Mat and cv2.Rect classes, so that I can not construct variables.