Front end to process for cleaning images of headstones in preparation for OCR