List <GED_PROC_CodigosBarras_Result> AfterProcess_Start(OCR ocr, ListView listView)
        {
            var ListBarCode = new List <GED_PROC_CodigosBarras_Result>();

            try
            {
                ocr.SetListViewBarcode(listView);
                //ocr.SetListViewResults(listView);

                ocr.Process_Thread.Abort();
                ocr.BitmapImage.Dispose();
                ocr.Dispose();

                if (listView.Items.Count > 0)
                {
                    foreach (ListViewItem lvi in listView.Items)
                    {
                        var BarCodeValue = lvi.SubItems[2].Text;

                        if (BarCodeValue.Length != this.MaxLengthBarCode)
                        {
                            continue;
                        }

                        if (ListBarCode.Where(b => b.TPD_CODIGOBARRA == BarCodeValue).Count() <= 0)
                        {
                            var bc = new GED_PROC_CodigosBarras_Result();
                            bc.TPD_CODIGOBARRA = BarCodeValue;
                            ListBarCode.Add(bc);
                        }
                    }
                }

                listView.Dispose();
                File.Delete(this.fileName);
            }
            catch (Exception ex)
            {
            }

            return(ListBarCode);
        }