Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ensure constant image size

I am using the findContours() function to find a business card in an image, however sometimes the card is very small in the image. It still finds the card but when I go to do further processing on the image I get unexpected results from cards due to the inconsistency in size of the card.

How can I take outImg and ensure it is always of size x,y?