Class OcrConfiguration


  • public class OcrConfiguration
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<java.lang.String> languageCodes
      List of language codes that should match the trained data files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the trained data folder
      java.io.File trainedDataFolder
      Absolute path to the trained data folder containing the languages files used for OCR
    • Constructor Summary

      Constructors 
      Constructor Description
      OcrConfiguration​(java.util.List<java.lang.String> languageCodes, java.io.File trainedDataFolder)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • languageCodes

        public final java.util.List<java.lang.String> languageCodes
        List of language codes that should match the trained data files eg ["eng", "fra"] if both eng.trainedata and fra.trainedata are present in the trained data folder
      • trainedDataFolder

        public final java.io.File trainedDataFolder
        Absolute path to the trained data folder containing the languages files used for OCR
    • Constructor Detail

      • OcrConfiguration

        public OcrConfiguration​(java.util.List<java.lang.String> languageCodes,
                                java.io.File trainedDataFolder)