Adjust Confidence Calculation & Options for OCR Accuracy

Added confidence calculation only return word by word confidence
and options for ocr accuracy.