Technology to distinguish printed or handwritten text characters inside digital images of physical documents, such as a scanned paper document.