little change

1.3
liuruoze 10 years ago
parent ae0dc784f4
commit 1c1b2ac50f

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

@ -709,3 +709,27 @@
总图片数:120张, 未识出图片:7张, 定位率:94.1667% 总图片数:120张, 未识出图片:7张, 定位率:94.1667%
平均字符差距:2.0177个, 完全匹配数:26张, 完全匹配率:23.0089% 平均字符差距:2.0177个, 完全匹配数:26张, 完全匹配率:23.0089%
总时间:87秒, 平均执行时间:0.725秒 总时间:87秒, 平均执行时间:0.725秒
2015-03-14 18:01:13
总图片数:2张, 未识出图片:1张, 定位率:50%
平均字符差距:5个, 完全匹配数:0张, 完全匹配率:0%
总时间:8秒, 平均执行时间:4秒
2015-03-14 18:01:55
总图片数:2张, 未识出图片:1张, 定位率:50%
平均字符差距:5个, 完全匹配数:0张, 完全匹配率:0%
总时间:15秒, 平均执行时间:7.5秒
2015-03-14 18:14:46
总图片数:1张, 未识出图片:1张, 定位率:0%
平均字符差距:-1.#IND个, 完全匹配数:0张, 完全匹配率:-1.#IND%
总时间:1秒, 平均执行时间:1秒
2015-03-14 18:16:41
总图片数:120张, 未识出图片:7张, 定位率:94.1667%
平均字符差距:2.0177个, 完全匹配数:26张, 完全匹配率:23.0089%
总时间:96秒, 平均执行时间:0.8秒
2015-03-14 18:21:03
总图片数:120张, 未识出图片:13张, 定位率:89.1667%
平均字符差距:2.26168个, 完全匹配数:24张, 完全匹配率:22.4299%
总时间:126秒, 平均执行时间:1.05秒
2015-03-14 18:23:34
总图片数:120张, 未识出图片:7张, 定位率:94.1667%
平均字符差距:2.0177个, 完全匹配数:26张, 完全匹配率:23.0089%
总时间:93秒, 平均执行时间:0.775秒

@ -348,13 +348,17 @@ int CPlateLocate::sobelOper(const Mat& in, Mat& out, int blurSize, int morphW, i
GaussianBlur(in, mat_blur, Size(blurSize, blurSize), 0, 0, BORDER_DEFAULT); GaussianBlur(in, mat_blur, Size(blurSize, blurSize), 0, 0, BORDER_DEFAULT);
Mat mat_gray; Mat mat_gray;
if (mat_blur.channels() == 3) if (mat_blur.channels() == 3) {
cvtColor(mat_blur, mat_gray, CV_RGB2GRAY); cvtColor(mat_blur, mat_gray, CV_RGB2GRAY);
}
else else
mat_gray = mat_blur; mat_gray = mat_blur;
//equalizeHist(mat_gray, mat_gray); //equalizeHist(mat_gray, mat_gray);
int scale = SOBEL_SCALE; int scale = SOBEL_SCALE;
int delta = SOBEL_DELTA; int delta = SOBEL_DELTA;
int ddepth = SOBEL_DDEPTH; int ddepth = SOBEL_DDEPTH;

Loading…
Cancel
Save