全球旧事资料 分类
100ga_optio
v10ga_optio
ggap09bestCVaccuracybestcbestg
fgaSVMcgForClassTrai
LabelTrai
Dataga_optio
训练cmdc
um2strbestcg
um2strbestgmodelsvmtrai
Trai
LabelTrai
Datacmd在训练集上查看识别能力preTrai
LabelsvmpredictTrai
LabelTrai
Datamodel载入测试样本FileNamePathNameFilterI
dexuigetfile
jpgbmp请导入测试图片bmpMultiSelecto
ifFilterI
dex
retur
e
d
um_trai
le
gthFileNameTestDatazeros
um_trai
1616TestLabelzeros
um_trai
1fork1
um_trai
picimreadPathNameFileNamekpicpic_preprocesspic
TestDatakdoublepicTestLabelkstr2doubleFileNamek4e
d对测试样本进行分类preTestLabelsvmpredictTestLabelTestDatamodelassig
i
baseTestLabelTestLabelassig
i
basepreTestLabelpreTestLabelTestLabelpreTestLabelsubfu
ctio
ofpreprocessi
gpicfu
ctio
pic_preprocesspic_preprocesspic图片预处理子函数图像反色处理pic255pic设定阈值,将反色图像转成二值图像picim2bwpic04查找数字上所有像素点的行标y和列标xyxfi
dpic1截取包含完整数字的最小区域pic_preprocesspicmi
ymaxymi
xmaxx将截取的包含完整数字的最小区域图像转成1616的标准化图像pic_preprocessimresizepic_preprocess1616
fr
好听全球资料 返回顶部