整理冗余1

This commit is contained in:
lidapeng 2020-05-31 20:36:51 +08:00
parent c33b9dc86c
commit 657235ef34
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,6 @@ package org.wlld.imageRecognition;
import org.wlld.MatrixTools.Matrix;
import org.wlld.MatrixTools.MatrixOperation;
import org.wlld.config.Classifier;
import org.wlld.config.Kernel;
import org.wlld.config.StudyPattern;
import org.wlld.i.OutBack;
import org.wlld.imageRecognition.border.*;
@ -13,7 +12,6 @@ import org.wlld.imageRecognition.segmentation.Specifications;
import org.wlld.imageRecognition.segmentation.Watershed;
import org.wlld.nerveCenter.NerveManager;
import org.wlld.nerveCenter.Normalization;
import org.wlld.nerveEntity.Nerve;
import org.wlld.nerveEntity.SensoryNerve;
import org.wlld.tools.ArithUtil;
import org.wlld.tools.IdCreator;

View File

@ -43,7 +43,7 @@ public class HelloWorld {
//easyAI 包持续更新现阶段一直在优化
Picture picture = new Picture();
//使用精度计算
TempleConfig templeConfig = new TempleConfig(false, true);
TempleConfig templeConfig = new TempleConfig();
//使用DNN分类器
templeConfig.setClassifier(Classifier.DNN);
//打印学习过程中产生的参数
@ -80,7 +80,7 @@ public class HelloWorld {
}
templeConfig.getNormalization().avg();
//三阶段学习
for (int i = 1; i < 1000; i++) {
for (int i = 1; i < 1900; i++) {
System.out.println("study2==================" + i);
//读取本地URL地址图片,并转化成矩阵
Matrix a = picture.getImageMatrixByLocal("D:\\share\\picture/a" + i + ".jpg");