From b39921d6985ba47376b4076d2085df207f285e12 Mon Sep 17 00:00:00 2001 From: lidapeng Date: Fri, 28 Feb 2020 12:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/README.md b/README.md index 7708abf..2b3e2f5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ * 比如你要分辨当前图像 是 苹果或是香蕉或是桃子,对图像进行判断分类,精准度更高,对图像的切割,针对占比比较大的物体切割,定位。 * 下面API文档有不清楚的地方可联系作者询问,QQ:794757862 * 详细视频教程地址:https://www.bilibili.com/video/av89134035 -## 好的让我们从HELLO WORLD 开始: +## 图像部分API 说明: public static void testPic() throws Exception { //测试SPEED模式学习过程 //初始化图像转矩阵类:作用就是说将一个图片文件转化为矩阵类 @@ -121,21 +121,6 @@ return templeConfig; } - public static void testModel() throws Exception { - // 模型参数获取及注入 实例 - TempleConfig templeConfig = getTemple(true, StudyPattern.Accuracy_Pattern); - ModelParameter modelParameter1 = templeConfig.getModel(); - String model = JSON.toJSONString(modelParameter1); - System.out.println(model); - TempleConfig templeConfig2 = getTemple(false, StudyPattern.Accuracy_Pattern); - ModelParameter modelParameter3 = JSONObject.parseObject(model, ModelParameter.class); - templeConfig2.insertModel(modelParameter3); - ModelParameter modelParameter2 = templeConfig2.getModel(); - String model2 = JSON.toJSONString(modelParameter2); - System.out.println(model2); - - } - public static void testPic2() throws Exception { //测试Accuracy_Pattern 模式学习过程,跟SPEED模式相同的部分就不再说明了 Picture picture = new Picture();