Aspose.OCR for .NET更新至v20.12,GPU版本更新至20.12.0,通过减少图像加载时间来提高性能,欢迎下载体验。
Aspose.OCR for .NET是一款字符识别组件,它使得开发人员可以添加OCR功能到他们的ASP.NET Web应用程序、web服务和windows应用程序中。它提供了一个简单的类集用于控制字符识别。
Aspose.OCR for .NET迎来2020年v20.12最新版更新,GPU版本更新至20.12.0,通过减少图像加载时间来提高性能。
增强功能
- 通过减少图像加载时间来改善总体API性能
 
新增API
- 添加的方法保存到RecognitionResult对象
 
不推荐使用
- 字符串RecognizeImage(MemoryStream stream,Rectangle rect)
 - 字符串RecognizeImage(字符串fullPath,矩形rect)
 
使用范例
using Aspose.OCR;namespace ProgramOCR{    class Program    {        static void Main(string[] args)        {            // Get API            AsposeOcr api = new AsposeOcr();            // Create license            License lic = new License();            // Set license            lic.SetLicense("Aspose.Total.lic");            // Get image for recognize            string image = "D://img.png";            // Recognize image               RecognitionResult result = api.RecognizeImage(image, new RecognitionSettings());            // Save result            result.Save("D://test.docx", SaveFormat.Docx);            result.Save("D://test.doc", SaveFormat.Doc);            result.Save("D://test.odt", SaveFormat.Odt);            result.Save("D://test.txt", SaveFormat.Text);        }    }}
还想要更多吗可以点击阅读【2020 · Aspose最新资源整合】,查找需要的教程资源。如果您有任何疑问或需求,请随时加入Aspose技术交流群(),我们很高兴为您提供查询和咨询。
标签:
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!