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