mirror of
https://gitee.com/dromara/easyAi.git
synced 2024-11-30 10:47:49 +08:00
整理冗余1
This commit is contained in:
parent
c33b9dc86c
commit
657235ef34
@ -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;
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user