コード例 #1
0
 public FormReader(FormReaderOptions options)
 {
     this.Options      = options;
     this.Preprocessor = new ImagePreprocessor(options.InputFile);
     // Debug image.
     this.Painter = options.GenerateDebugImage ? new Painter(this.Preprocessor.imgHeight, this.Preprocessor.imgWidth) : null;
     this.Logger  = options.Verbose ? new Logger(options) : null;
 }
コード例 #2
0
        private static void Run(FormReaderOptions opts)
        {
            var openFieldReader = new FormReader(opts);

            openFieldReader.Process();
        }