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.
2 | No.2 Revision |
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.