Esempio n. 1
0
 /// <summary>
 /// Constructor of ScanEngine
 /// </summary>
 /// <param name="ip"></param>
 public ScanEngine(iProcess ip, ImageBox img_box)
 {
     this.img_box = img_box;
     rawImages = new List<Image<Bgr, byte>>();
     textImages = new List<Image<Bgr, byte>>();
     this.iproc = ip;
     this.nxt = new Nxt();
     bgWorker.WorkerReportsProgress = true;
     bgWorker.WorkerSupportsCancellation = true;
     bgWorker.DoWork += new DoWorkEventHandler(bw_DoWork);
     bgWorker.ProgressChanged += new ProgressChangedEventHandler(bw_ProgressChanged);
     bgWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompleted);
 }
Esempio n. 2
0
 public Form1()
 {
     InitializeComponent();
     this.nxt = new Nxt();
 }