public class OCRResult
extends Object
Encapsulates Tesseract OCR results at file level.
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
OCRResult
public OCRResult(int confidence,
List<Word> words)
Constructor.
- Parameters:
confidence
- average text confidence
words
- recognized words
-
Method Details
-
getConfidence
public int getConfidence()
- Returns:
- the average text confidence
-
getWords
- Returns:
- the recognized words
-