I am trying to port the code from cv to new cv2 version I am stuck at the attribute of cv.GetSize What is the equivalent of it in cv2?