public class TemplateProcessor extends Object
Class for processing templates and images.
Modifier and Type | Method and Description |
---|---|
void |
recalculate(RecognitionResult result)
Updates recognition result using fine tuned parameters.
|
void |
recalculate(RecognitionResult result,
int recognitionThreshold)
Updates recognition result using fine tuned parameters.
|
RecognitionResult |
recognizeImage(String imagePath)
Recognizes image
|
RecognitionResult |
recognizeImage(String imagePath,
int recognitionThreshold)
Recognizes image
|
public final RecognitionResult recognizeImage(String imagePath)
Recognizes image
imagePath
- The path to the image to recognizepublic final RecognitionResult recognizeImage(String imagePath, int recognitionThreshold)
Recognizes image
imagePath
- The path to the image to recognizerecognitionThreshold
- (Optional) The recognition threshold in range (0..100)
Only elements filled above threshold will be counted as filled.public final void recalculate(RecognitionResult result)
Updates recognition result using fine tuned parameters.
result
- The recognition result to update.public final void recalculate(RecognitionResult result, int recognitionThreshold)
Updates recognition result using fine tuned parameters.
result
- The recognition result to update.recognitionThreshold
- (Optional) The recognition threshold in range (0..100).
Only elements filled above threshold will be counted as filled.