sir,

42 views
Skip to first unread message

Harisankar

unread,
Apr 5, 2023, 12:49:31 AM4/5/23
to tesseract-ocr
                string extractedText;
                using (var engine = new TesseractEngine(HostingEnvironment.MapPath(@"~\tessdata"), "eng", EngineMode.Default))
                {
                    using (var image = new Bitmap(file.InputStream))
                    {
                        using (var page = engine.Process(image))
                        {
                            extractedText = page.GetText();
                        }
                    }
                }
This code working fine in local iis server publish but when i published this same code to the windows server iis it is not working. Need help to solve the issue
Reply all
Reply to author
Forward
0 new messages