多平台代码对比示例——LEADTOOLS OCR WinRT平台(二)
2013-03-11 15:10
344 查看
LEADTOOLS最近发布了v18版本,这个版本也被称为LEADTOOLS Anywhere™,他将世界最领先的成像技术扩展到iOS,Android和Linux OS X等平台。不仅仅是Windows平台,他让所有流行的平台都能够实现查看者,注释和标记,OCR,条码,PDF,图像格式,压缩,图像处理等更多图像OCR功能。
每个使用LEADTOOLS的开发者能够在每个开发平台上使用一组非常相似的库进行程序开发。这是其的一个明显优势,让开发者即能够开发原生的应用程序,又不用花费太多的时间进行完全的代码重写。
每个使用LEADTOOLS的开发者能够在每个开发平台上使用一组非常相似的库进行程序开发。这是其的一个明显优势,让开发者即能够开发原生的应用程序,又不用花费太多的时间进行完全的代码重写。
Windows.UI.Xaml.Media.ImageSource imageSource = ... // // Get a LEADTOOLS RasterImage from the platform image RasterImage rasterImage = RasterImageConverter.ConvertFromImageSource(imageSource, ConvertFromImageOptions.None); // Create a LEADTOOLS OCR Document instance IOcrEngine ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.Advantage, false); ocrEngine.Startup(null, null, string.Empty, Package.Current.InstalledLocation.Path); IOcrDocument ocrDocument = ocrEngine.DocumentManager.CreateDocument(); // Add the page to the document and recognize it IOcrPage ocrPage = ocrDocument.Pages.AddPage(rasterImage, null); // Recognize the image as text string text = ocrPage.RecognizeText(null); // Do something with 'text'
相关文章推荐
- 多平台代码对比示例——LEADTOOLS OCR iOS & OS X平台(三)
- 多平台代码对比示例——LEADTOOLS OCR Android平台(四)
- 多平台代码对比示例——LEADTOOLS OCR .NET平台(一)
- LEADTOOLS WinRT OCR识别代码示例
- LEADTOOLS WinRT OCR识别代码示例
- LEADTOOLS WinRT OCR识别代码示例
- LEADTOOLS代码示例大全(一)
- 重构Javascript代码示例(重构前后对比)
- 搭建基于MinGW平台的《OpenGL蓝皮书(OpenGL SuperBibe 5th)》示例代码编译环境
- linux平台C++多线程代码示例
- Go/Python/Erlang编程语言对比分析及示例代码
- LEADTOOLS代码示例大全(一)
- platform平台设备驱动简化示例代码
- 中国移动应用内计费平台服务器接口示例代码之“非官方”的一些说明
- jQuery写法与统计写法的对比,含示例代码和word文档
- phoenixframework自动化测试平台webUI代码示例
- 中国移动应用内计费平台服务器接收通知接口示例代码
- GridView生成的HTML代码示例对比
- 淘宝平台C#示例代码
- LEADTOOLS v18多平台条码识别(代码示例)