修改说明文档

pull/1/head
lidapeng 5 years ago
parent 22dbd34805
commit 6a0ba2b7f6

@ -163,6 +163,10 @@
operation.learning(right, rightTagging, true);
operation.learning(wrong, wrongTagging, true);
}
//精准模式全部学习结束一定要调用此方法,不调用识别会报错
//templeConfig.startLvq();//原型向量量化
//如果使用物体在图片中的定位功能,全部学习结束一定要调用此方法,不调用识别会报错
//templeConfig.boxStudy();//边框回归
Matrix right = picture.getImageMatrixByLocal("/Users/lidapeng/Desktop/myDocment/test/a101.png");
Matrix wrong = picture.getImageMatrixByLocal("/Users/lidapeng/Desktop/myDocment/b/b1000.png");
//精准模式检测单张图片将直接返回分类id,而不是通过回调来获取分类概率

@ -54,9 +54,8 @@ public class HelloWorld {
// }
// templeConfig.boxStudy();//边框聚类
// //精准模式在全部学习结束的时候一定要使用此方法,速度模式不要调用此方法
// templeConfig.startLvq();//原型向量量化
//templeConfig.boxStudy();//边框回归
//templeConfig.clustering();//进行聚类
templeConfig.startLvq();//原型向量量化
templeConfig.boxStudy();//边框回归
for (int j = 1; j < 2; j++) {
Matrix right = picture.getImageMatrixByLocal("/Users/lidapeng/Desktop/myDocment/c/c" + j + ".png");
Map<Integer, List<FrameBody>> map = operation.lookWithPosition(right, j);

Loading…
Cancel
Save