C#????°?????????????
???????????? ???????[ 2014/5/13 15:52:26 ] ????????Net ???????
???????????????????
public String GetCheckString(Bitmap bitmap) {
UnCodebase ud = new UnCodebase(bitmap);
ud.GrayByPixels();
ud.ClearPicBorder(2);
ud.CutMap(14?? 15?? 0?? 0);
bitmap = ud.bmpobj;
// bitmap = ud.ClearNoise(128?? 1);
String chkcode = "";
Bitmap[] arrmap = ud.SplitImg(bitmap?? 4?? 1);
foreach (Bitmap item in arrmap) {
String str = ud.GetCodebybitmap(item?? 128);
Boolean isEques = false;
foreach (String strss in code) {
String[] a = strss.Split(':');
if (str == a[1]) {
chkcode += a[0];
isEques = true;
break;
}
}
if (!isEques) {
String strCurrent = "";
double max = 0.0;
foreach (String strss in code) {
int len1?? len2?? min?? count = 0;
String[] a = strss.Split(':');
len1 = a[1].Length;
len2 = str.Length;
min = len1;
if (min > len2) {
min = len2;
}
for (int i = 0; i < min; i++) {
if (str[i] == a[1][i]) {
count++;
}
}
double currrent = (count * 100.0 / min);
if (max < currrent) {
max = currrent;
strCurrent = a[0].Trim();
}
}
chkcode += strCurrent.Trim();
}
}
return chkcode;
}
|
?????????Щ??????????????90+%?????
???????渽????????????? C#????????asp.net??????????C/C++??? asp.net ?????й????Щ?鷳????÷??System32 ???????·?????鷳
??????????
????http://www.fox163.com/UniconTest.aspx
???????渽????????????? C#????????asp.net??????????C/C++??? asp.net ?????й????Щ?鷳????÷??System32 ???????·?????鷳
??????????
????http://www.fox163.com/UniconTest.aspx
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
???????C#?е?StringC# Socket???????????????????C#?????????????????????????C#???????C#????????????Log4net??????δ????C#?????????????C#?????????????????C#???????????????C#????????????????C#7 ?е?Tuple??????C#??TypeScript - GeneratorC# ?????????細??????????C#?е???н???C#??MySQL?????????μ??Ч?????д??C#????C++??dll???C#??VS2010????е??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????