Exemplo n.º 1
0
        public ReadOnlyCollection<double> CompareImageFromPdf(string path, string testImage)
        {
            List<double> match = new List<double>();
            List<System.Drawing.Image> ImgList = new List<System.Drawing.Image>();

            ImgList = GetImages(path);
            ImgList.ForEach(img => img.Save("Image_" + Guid.NewGuid() + ".bmp"));
            ImgList.ForEach(img => match.Add(ImageTest(testImage, img)));
            return match.AsReadOnly();
        }