Class Description ActionsA class to provide general actions for the OCR. ApostropheMergeRuleMerges pieces of apostrophes. BasicSimilarityRule CharacterThe superclass of all characters. CharacterLineAn object to store
SearchCharacterdata for a scanned line.
ComputerTrainGeneratorCreates a simple image to train on from a given font. ConfigReflectionCacherA class to cache constructors from the
ConversionUtilsProvides simple conversions of units used by the OCR and programs using the library. CoordinateCharacterThe superclass for characters containing data from the input image. DatabaseCharacterUsed for storage of data to go into our from the database. DatabaseManagerThe manager that provides methods to connect and interact with the database. DefaultMergenceManagerMerges character pieces together. DefaultScannedImageAn object to store line data for
ImageLetters on a scanned image.
DefaultSimilarityManagerUses methods from
SimilarRules and checks if characters are similar.
DotSimilarityRuleSimilarity rule for dot-like characters. EqualVerticalMergeRuleMerges : and = pieces. FontConfigurationThe configuration to read a file to populate managers and options. HOCONFontConfigurationReads a HOCON Configuration file and derives options from it. HorizontalLineSimilarityRuleSimilarity rule for horizontal lines. ImageLetterAn object to contain data from characters directly scanned from an image. ImageReadMethod IntPairA class that acts as an
LetterAn enum containing every possible character piece that can be detected. MergenceManagerThe manager for
MergeRules to combine/merge multi part characters.
MergePriority MergeRuleProvides methods to combine/merge two character pieces. OCRActionsProvides general OCR actions. OCRDatabaseManager OCROptionsGeneral options used by the OCR scanning and training. OCRScanThe base class for actually scanning an image. OCRTrainThe base class for actually training an image/font. OCRUtilsSome various utility methods used by the OCR that may assist others using the library. OverDotMergeRuleMerges dots above base characters for the letter i, j, and ; PercentDotSimilarityRuleSimilarity rule for percent circles/dots. PercentMergeRuleMerges all pieces of a percent sign. ReflectionCacherA simple class to cache constructors from classes. ReflexiveSupplier<T>A simple supplier that throws
ScanThe main class that handles character scanning of an image. ScannedImageThe resulting object from an image being scanned. SearchCharacterAn object meant to store characters directly scanned from an image and that is being searched for/mutated. SearchImageProvides a way to easily get touching coordinates of black pixels. SegmentationUtilsA utility class for methods to create segments separating character images for training and scanning. SimilarityManager SimilarRuleA rule to state certain character pieces are effectively the same, i.e. TrainThe main class that handles training of an image/font. TrainedCharacterDataThis is an object meant for storing the data for characters in the training stage. TrainGeneratorGenerates a training image to be used by the OCR. TrainGeneratorOptionsDefines options for the actual generation of the image to train on. TrainLineStores characters at a top and bottom Y position after an image has been scanned. UnderDotMergeRuleMerges the dot under a character for ! and ? UntrainedDatabaseExceptionAn exception thrown when a database has not been trained, and it tries to scan an image. VerticalLineSimilarityRuleSimilarity rule for vertical lines.