Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to detect scaled ID card rectangle

I have application which will read the ID crad , the nature of the image is that the card is scaled and shifted location now how I get the card rectangle and scale it to the fixed defined rectangle , a sample of card images attached

the input image is scaled by 130%

image description

The required image , the card rectangle and scaled to the original size image description