06 2013 档案
衔接UI线程和管理后台工作线程的类(多线程、异步调用)
摘要:一个不错的UI多线程操作类http://www.cnblogs.com/net66/archive/2005/08/03/206132.html 阅读全文
posted @ 2013-06-28 10:10 NLazyo 阅读(253) 评论(0) 推荐(0)
c#图片识别之Asprise-OCR
摘要:Asprise-OCR的使用。Asprise-OCR下载地址:http://asprise.com/product/ocr/download.php?lang=csharp 其中需要使用的3个dll是AspriseOCR.dll、DevIL.dll、ILU.dll。需要注意的是这几个.dll是vc写的引用要在程序中用DllImport引用,关键代码:[DllImport("AspriseOCR.dll", EntryPoint = "OCR", CallingConvention = CallingConvention.Cdecl)]public sta 阅读全文
posted @ 2013-06-10 21:19 NLazyo 阅读(10499) 评论(4) 推荐(1)
lucene.net搜索文档(pdf,doc,txt)内容
摘要:public static void AddTxtDocument(string path, IndexWriter writer) { try { Document doc = new Document(); string StrContent; if (Path.GetExtension(path).ToLower() == ".pdf") { ... 阅读全文
posted @ 2013-06-04 15:26 NLazyo 阅读(1603) 评论(0) 推荐(0)