摘要: 原文地址:http://blog.damiles.com/2008/11/basic-ocr-in-opencv/代码下载:https://github.com/damiles/basicOCRIn this tutorial we go to create a basic number OCR. It consist to classify a handwrite number into his class.To do it, we go to use all we learn in before tutorials, we go to use a simple basic painter 阅读全文
posted @ 2013-01-01 21:13 基础软件 阅读(2711) 评论(0) 推荐(0) 编辑
摘要: javascript防止页面重复提交 阅读全文
posted @ 2012-09-09 22:46 基础软件 阅读(3544) 评论(0) 推荐(0) 编辑
摘要: telerik reporting crosstab报表排序 阅读全文
posted @ 2012-07-06 14:27 基础软件 阅读(841) 评论(3) 推荐(1) 编辑
摘要: 通过EF加载外键时,发现我以前的做法有个性能问题。 阅读全文
posted @ 2012-03-09 23:48 基础软件 阅读(2441) 评论(0) 推荐(0) 编辑
摘要: 在一个人员信息的View中,称为PersonView,调用了另外一个partial view,用来显示人员专业资质,称为QualificationView.PersonView的model类型为Person, QualificationView的model类型为IEnumerable<PersonQualification>。Person类有一个类型为List<PersonQualification>的属性qualificationList. 在PersonView中通过以下代码引用QualificaitonView。Html.RenderPartial("Q 阅读全文
posted @ 2012-03-01 19:25 基础软件 阅读(3252) 评论(1) 推荐(1) 编辑
摘要: C#代码生成交叉表。基本思想是将数据用LINQ按照行、列分组后,再生成一个对应结构的DataTable,再将此DataTable绑定到GridView,并设置列标题。 阅读全文
posted @ 2011-12-01 19:58 基础软件 阅读(3712) 评论(0) 推荐(1) 编辑
摘要: 编译程序时遇到以下错误: "Lc.exe已退出 代码为-1"。这是由于引用了第三方组件,但是授权文件不正确。 解决方法如下: 1、把项目文件夹下Properties文件夹下的licenses.licx文件删除,重新编译即可; 2、文本方式打开*.csproj文件,在文件中查找licenses.licx字样,删除对应节点。 注意:还有一种情况就是Properties文件夹下已经没有licen... 阅读全文
posted @ 2011-11-01 16:39 基础软件 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 在做页面时,尤其是做表格时,经常需要判断各列的宽度。当然浏览器具有自动调整各列宽度的功能,但是当表格中各个单元格内容字数相关太多时,则表格呈现出 来的效果很差,有的列非常窄,有的列很宽,比例严重失调。 此时,就需要指定某些列的宽度。那么,多宽合适呢?有时可以有用百分比,但有时取决于你要显示的文字多少,做成固定的像素。我经历了好几次这样的事情,总记不住多少像素能够显示多少字,现在做了一个小程序测试了一下,并将结果保存下来,这样再需要时,直接使用就可以了。 阅读全文
posted @ 2011-10-19 11:08 基础软件 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 在使用Visual Studio 2010时,经常出现aspx页面中不能识别服务器控件标记,不能出智能提示。本文介绍了此问题解决方案。 阅读全文
posted @ 2011-09-18 09:53 基础软件 阅读(2263) 评论(1) 推荐(1) 编辑
摘要: 原文Bjarne Stroustrup, the creator of C++, said recently that C++11 “feels like a new language — the pieces just fit together better.” Indeed, core C++11 has changed significantly. It now supports lambda expressions, automatic type deduction of objects, uniform initialization syntax, delegating constr 阅读全文
posted @ 2011-09-13 12:46 基础软件 阅读(339) 评论(0) 推荐(0) 编辑