I. Find key points of the object and card.
II. Affine transform.
III. Find key points and contours of object and card.
IV. Scaling & Calculation.
Four vertexes and canvas are:
corners = np.float32([[667, 321], [817, 372], [594, 556], [764, 616]])
canvas = np.float32([[0, 0], [540, 0], [0, 750], [540, 750]])