Remove Gray Background From Scanned Image Python