Added smartcropping with basic feature detection