Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you have 4 points as reference. You can use getPerspectiveTransform function to obtain transformation matrix , then apply this matrix using warpPerspective function .