Solution developed based on leptonica, ghostscript, tesseract and Java for powerful open source OCR capability