segment,一个简单的中文分词程序,命令行如下: java -jar segmenter.jar [-b|-g|-8|-s|-t] inputfile.txt -b Big5, -g GB2312, -8 UTF-8, -s simp. chars, -t trad. chars Segmented text will be saved to inputfile.txt.seg
上传时间: 2014-01-04
上传用户:ynzfm
使用说明 使用时打开此例题目录下pic中的图片,然后依次单击按钮“转”、“1”、“2”、“3”、“4”和“5”,就可以实现精确的车牌定位。 具体步骤 1.24位真彩色->256色灰度图。 2.预处理:中值滤波。 3.二值化:用一个初始阈值T对图像A进行二值化得到二值化图像B。 初始阈值T的确定方法是:选择阈值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分别是最高、最低灰度值。 该阈值对不同牌照有一定的适应性,能够保证背景基本被置为0,以突出牌照区域。 4.削弱背景干扰。对图像B做简单的相邻像素灰度值相减,得到新的图像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左边缘直接赋值,不会影响整体效果。 5.用自定义模板进行中值滤波 区域灰度基本被赋值为0。考虑到文字是由许多短竖线组成,而背景噪声有一大部分是孤立噪声,用模板(1,1,1,1,1)T对G进行中值滤波,能够得到除掉了大部分干扰的图像C。 6.牌照搜索:利用水平投影法检测车牌水平位置,利用垂直投影法检测车牌垂直位置。 7.区域裁剪,截取车牌图像。
上传时间: 2014-01-17
上传用户:851197153
Trie树既可用于一般的字典搜索,也可用于索引查找。对于给定的一个字符串a1,a2,a3,...,an.则采用TRIE树搜索经过n次搜索即可完成一次查找。不过好像还是没有B树的搜索效率高,B树搜索算法复杂度为logt(n+1/2).当t趋向大,搜索效率变得高效。怪不得DB2的访问内存设置为虚拟内存的一个PAGE大小,而且帧切换频率降低,无需经常的PAGE切换。
上传时间: 2016-07-06
上传用户:sk5201314
集成温度传感器实质上是一种半导体集成电路,它是利用晶体管的b-e 结压降的不饱和 值VBE与热力学温度T 和通过发射极电流I 的下述关系实现对温度的检测:
上传时间: 2016-07-11
上传用户:363186
flash 键盘音效取自win2000系统ding.wav,经过CoolEdit处理成音阶,在Flash中导入在相应按钮上。 没有难度,就是耐心一点,成绩不错哦! 对应表: 低音G-a #G-w A-s #A-e B-d 中音C-f #C-t D-g #D-y E-h F-j #F-i G-k #G-o A-l #A-p B- 高音C-1 D-2 E-3 F-4 G-5 A-6 B-7 C(high)-8 #C-c #D-v #F-b #G-n #A-m
上传时间: 2014-02-06
上传用户:ljmwh2000
一个神经网络的工具箱,用于M a t l a b中
上传时间: 2016-09-28
上传用户:zhanditian
This book is for you if You re no "dummy," and you need to get quickly up to speed in intermediate to advanced C++ You ve had some experience in C++ programming, but reading intermediate and advanced C++ books is slow-going You ve had an introductory C++ course, but you ve found that you still can t follow your colleagues when they re describing their C++ designs and code You re an experienced C or Java programmer, but you don t yet have the experience to develop nuanced C++ code and designs You re a C++ expert, and you re looking for an alternative to answering the same questions from your less-experienced colleagues over and over again C++ Common Knowledge covers essential but commonly misunderstood topics in C++ programming and design while filtering out needless complexity in the discussion of each topic. What remains is a clear distillation of the essentials required for production C++ programming, presented in the author s trademark incisive, engaging style.
标签: intermediate you quickly dummy
上传时间: 2014-01-09
上传用户:wpwpwlxwlx
(1) 设计算法并编制程序,进行调试。 (2) 用调试好的程序解决如下问题: 计算 的近似值,取精度为 步骤一、先编制计算函数值的程序; 步骤二、执行编制好的Romberg算法,输出T。 (3)用Romberg算法和复合Simpson公式分别计算 的近似值, 其中b分别取为b=0.1, 0.3, 0.5, 0.7, 0.9
上传时间: 2014-12-03
上传用户:四只眼
CAN51开发板功能 1、 USB或DC+5V供电; 2、 89c52+sja1000+tja1050(tja1040)(p82c250);89c52+mcp2515+tja1050(tja1040)(p82c250);通过跳键选择sja1000或 mcp2515,用户任选一种CAN控制芯片; 3、 支持RS232/422/485总线与CAN总线相互转换; 4、 CAN总线波特率可调:20,40,50,80,100,125,200,250,400,500,666,800,1000Kbit/s 5、 提供电路图; 6、 提供源程序:basican和pelican模式(CAN2.0A和CAN2.0B),c语言和汇编语言,程序注释详尽; 7、 成对购买开发板可以实现:A开发板发送数据,B开发板接收数据,并把接收到的数据通过串口上传到计算机显示;A开发板上短路键的状态,可以通过CAN总线发送给B开发板,通过B开发板LED灯的亮灭,显示A开发板上短路键的状态; 8、 提供技术支持,接受CAN开发项目;
上传时间: 2016-11-22
上传用户:fxf126@126.com
51单片连tcs230的源程序,绝对原创,可以记忆颜色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定义 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //频率从TO口输入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //关定时器 TR1=0 TH1=0xB1 TL1=0xE0 //归0 TH0=0x00 TL0=0x00 //归0 }
上传时间: 2016-11-26
上传用户:秦莞尔w