Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

contourArea() actually returns a double, not an int. please change your printf, so it uses ' %f' , not ' %d'

contourArea() actually returns a double, not an int. please change your printf, so it uses ' %f' %f, not ' %d'%d

contourArea() actually returns a double, not an int. please change your printf, so it uses %f, not %d for area

you're simply not seeing the correct result , because of an error in your ritnf statement.

contourArea() actually returns a double, not an int. please change your printf, so it uses %f, not %d for area

you're simply not seeing the correct result , result, because of an error in your ritnf printf statement.

contourArea() actually returns a double, not an int. please change your printf, so it uses %f, not %d for area