An OCR system for Greek printed early books based on computational geometry algorithms