You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

CharsIdentify类
此类主要用于字符的鉴别通过this.ann.clear();函数加载二值化后的ann配置文件图像转文字的训练库文件对图像进行定位于预测。
CharsRecognise类
此类主要是通过字符的分割对字符进行识别。首先利用Vector<Mat> matVec = new Vector<Mat>();函数将车牌字符方块集合String plateIdentify = "";输出车牌的识别结果并通过调用charsSegment.setDebug(isDebug);return charsSegment.getDebug();PlateColor result = CoreFunc.getPlateType(input, true);
return result.desc;charsSegment.setLiuDingSize(param);charsSegment.setColorThreshold(param); charsSegment.setBluePercent(param);return charsSegment.getBluePercent();charsSegment.setWhitePercent(param);return charsSegment.getWhitePercent();等函数来对车牌进行识别处理;其函数的作用分别是是否开启调式模式、获取调试模式状态、获得车牌颜色、设置柳丁大小变量、设置颜色阈值、设置蓝色百分比、得到蓝色百分比、设置白色百分比和得到白色百分比。通过一系列的函数对车牌进行进一步的识别与处理(处理过程中默认默认首个字符块是中文字符 第二个字符块是字母),转化为机器可识别的图像。