This is already used in OCR, tesseract uses that.