!38 增加说明

Merge pull request !38 from 逐光/test
pull/38/MERGE
逐光 5 years ago committed by Gitee
commit 57f1497029

@ -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;

@ -255,6 +255,8 @@ public class NerveManager {
*
* @param initPower
* @param isMatrix
* @param isShowLog
* @param isSoftMax softMax
* @throws Exception
*/
public void init(boolean initPower, boolean isMatrix, boolean isShowLog, boolean isSoftMax) throws Exception {//进行神经网络的初始化构建

@ -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…
Cancel
Save