An Innovative Character Recognition for Ancient Book and Archival Materials: A Segmentation and Self-Learning Based Approach