Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't know if i understand the problem, but once you find the card, you should find its 4 corners and calculate the perspective transform to a rectangle of a predefined size. After warping your card will always have the same dimensions.

I don't know if i I understand the problem, but once you find the card, you should find its 4 corners and calculate the perspective transform to a rectangle of a predefined size. After warping warping, your card will always have the same dimensions.