-
- All Known Implementing Classes:
ComputerTrainGenerator
public interface TrainGenerator
Generates a training image to be used by the OCR.- Since:
- April 25, 2019
-
-
Method Summary
Modifier and Type Method Description void
generateTrainingImage(java.io.File file)
Generates an image that can be used while training the OCR using default options of font bounds 90-30, and a font family of Comic Sans MS.void
generateTrainingImage(java.io.File file, TrainGeneratorOptions options)
Generates an image that can be used while training the OCR using the given options.
-
-
-
Method Detail
-
generateTrainingImage
void generateTrainingImage(java.io.File file)
Generates an image that can be used while training the OCR using default options of font bounds 90-30, and a font family of Comic Sans MS.- Parameters:
file
- The file to write to
-
generateTrainingImage
void generateTrainingImage(java.io.File file, TrainGeneratorOptions options)
Generates an image that can be used while training the OCR using the given options.- Parameters:
file
- The file to write tooptions
- The options used during image generation
-
-