Make min_area a float
an int proved to be too small
Increased square threshold for calibration