mirror of
https://github.com/geekwenjie/SmartJavaAI.git
synced 2026-09-10 03:28:49 +00:00
修改官网地址
This commit is contained in:
@@ -96,6 +96,6 @@ vision-example/
|
||||
## 📄 文档
|
||||
|
||||
有关完整使用说明,请查阅 SmartJavaAI 官方文档:
|
||||
[http://doc.smartjavaai.cn](http://doc.smartjavaai.cn)
|
||||
[http://doc.numberone.ink](http://doc.numberone.ink)
|
||||
|
||||
---
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* 动作识别Demo
|
||||
* 模型下载地址:https://pan.baidu.com/s/17doY4pgZM9EbtSIaoCWWCA?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -41,7 +41,7 @@ public class ActionRecognizeDemo {
|
||||
/**
|
||||
* 获取动作识别模型
|
||||
* 注意事项:
|
||||
* 1、不同模型支持的动作类别不同,请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、不同模型支持的动作类别不同,请查看文档:http://doc.numberone.ink
|
||||
*/
|
||||
public ActionRecModel getModel(){
|
||||
ActionRecModelConfig config = new ActionRecModelConfig();
|
||||
@@ -62,7 +62,7 @@ public class ActionRecognizeDemo {
|
||||
/**
|
||||
* 动作识别
|
||||
* 注意事项:
|
||||
* 1、不同模型支持的动作类别不同,请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、不同模型支持的动作类别不同,请查看文档:http://doc.numberone.ink
|
||||
* 2、图片中应该只包含单一动作人物
|
||||
* 3、动作识别,只做图片分类,并不做人物定位
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.nio.file.Paths;
|
||||
/**
|
||||
* 实例分割 Demo
|
||||
* 模型下载地址:https://pan.baidu.com/s/12nRRY9JFNDwLeg63jfBerA?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -50,7 +50,7 @@ public class InstanceSegDemo {
|
||||
/**
|
||||
* 获取实例分割模型
|
||||
* 注意事项:
|
||||
* 1、更多模型请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、更多模型请查看文档:http://doc.numberone.ink
|
||||
*/
|
||||
public InstanceSegModel getModel(){
|
||||
InstanceSegModelConfig config = new InstanceSegModelConfig();
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* obb旋转框检测demo
|
||||
* 模型下载地址:https://pan.baidu.com/s/1-tC0u-aha3tnMQwy8FKy1Q?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -45,7 +45,7 @@ public class ObbDetDemo {
|
||||
/**
|
||||
* 获取旋转框检测模型
|
||||
* 注意事项:
|
||||
* 1、更多模型请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、更多模型请查看文档:http://doc.numberone.ink
|
||||
* 2、模型可检测物体请查看:模型同目录文件synset.txt
|
||||
*/
|
||||
public ObbDetModel getModel(){
|
||||
|
||||
@@ -45,7 +45,7 @@ import java.util.concurrent.CountDownLatch;
|
||||
/**
|
||||
* 目标检测模型demo
|
||||
* 模型下载地址:https://pan.baidu.com/s/10aTOLBlR6EG-sq6g0OkAWg?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -66,7 +66,7 @@ public class ObjectDetectionDemo {
|
||||
/**
|
||||
* 获取目标检测模型
|
||||
* 注意事项:
|
||||
* 1、更多模型请查看文档:http://doc.smartjavaai.cn/objectdetect.html
|
||||
* 1、更多模型请查看文档:http://doc.numberone.ink/objectdetect.html
|
||||
*/
|
||||
public DetectorModel getModel(){
|
||||
DetectorModelConfig config = new DetectorModelConfig();
|
||||
@@ -147,7 +147,7 @@ public class ObjectDetectionDemo {
|
||||
DetectorModelConfig config = new DetectorModelConfig();
|
||||
//目标检测模型,切换模型需要同时修改modelEnum及modelPath
|
||||
config.setModelEnum(DetectorModelEnum.YOLOV12_CUSTOM_ONNX);
|
||||
//模型所在路径,synset.txt也需要放在同目录下(分类文件,具体请看文档:http://doc.smartjavaai.cn/objectdetect.html#%E4%BD%BF%E7%94%A8%E8%87%AA%E5%B7%B1%E8%AE%AD%E7%BB%83%E7%9A%84%E6%A8%A1%E5%9E%8B%E6%A3%80%E6%B5%8B)
|
||||
//模型所在路径,synset.txt也需要放在同目录下(分类文件,具体请看文档:http://doc.numberone.ink/objectdetect.html#%E4%BD%BF%E7%94%A8%E8%87%AA%E5%B7%B1%E8%AE%AD%E7%BB%83%E7%9A%84%E6%A8%A1%E5%9E%8B%E6%A3%80%E6%B5%8B)
|
||||
config.setModelPath("/Users/xxx/Documents/develop/fire_model/best.onnx");
|
||||
//模型训练时图片宽度
|
||||
config.putCustomParam("width", 640);//resize 宽
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.nio.file.Paths;
|
||||
/**
|
||||
* 行人检测案例
|
||||
* 模型下载地址:https://pan.baidu.com/s/1EWfExw7pYjKEH5uR5wf3Rw?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.nio.file.Paths;
|
||||
/**
|
||||
* 姿态估计demo
|
||||
* 模型下载地址:https://pan.baidu.com/s/1pPYyl1V2CpcMYCO8CJQHGg?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -42,7 +42,7 @@ public class PoseDetDemo {
|
||||
/**
|
||||
* 获取姿态估计模型
|
||||
* 注意事项:
|
||||
* 1、更多模型请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、更多模型请查看文档:http://doc.numberone.ink
|
||||
*/
|
||||
public PoseModel getModel(){
|
||||
PoseModelConfig config = new PoseModelConfig();
|
||||
|
||||
@@ -23,7 +23,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* 语义分割 Demo 通过网盘分享的文件:语义分割(semantic_segmentation)
|
||||
* 模型下载地址:https://pan.baidu.com/s/18gs9E5h_d9imPmNLHuDo9A?pwd=1234 提取码: 1234
|
||||
* 文档地址:http://doc.smartjavaai.cn/
|
||||
* 文档地址:http://doc.numberone.ink/
|
||||
* @author dwj
|
||||
*/
|
||||
@Slf4j
|
||||
@@ -45,7 +45,7 @@ public class SemSegDemo {
|
||||
/**
|
||||
* 获取语义分割模型
|
||||
* 注意事项:
|
||||
* 1、更多模型请查看文档:http://doc.smartjavaai.cn
|
||||
* 1、更多模型请查看文档:http://doc.numberone.ink
|
||||
*/
|
||||
public SemSegModel getModel(){
|
||||
SemSegModelConfig config = new SemSegModelConfig();
|
||||
|
||||
Reference in New Issue
Block a user