Removing rough text lines