Lines split, noise smooth, OCR