From 1fbd8779b93809884b5de05ad0a60a600360174c Mon Sep 17 00:00:00 2001
From: dengwenjie <775747758@qq.com>
Date: Wed, 31 Dec 2025 11:28:06 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7?=
=?UTF-8?q?=EF=BC=9Av1.1.1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
all/pom.xml | 4 ++--
android.md | 3 ++-
bom/pom.xml | 4 ++--
common/pom.xml | 2 +-
examples/face-example/pom.xml | 2 +-
.../smartai/examples/face/liveness/LivenessDetDemo.java | 3 ---
examples/ocr-examples/pom.xml | 2 +-
examples/speech-examples/pom.xml | 2 +-
examples/translation-example/pom.xml | 2 +-
examples/vision-example/pom.xml | 2 +-
.../java/smartai/examples/vision/ObjectDetectionDemo.java | 8 +++++---
face/pom.xml | 4 ++--
ocr/pom.xml | 4 ++--
pom.xml | 2 +-
speech/pom.xml | 4 ++--
translate/pom.xml | 2 +-
vision/pom.xml | 4 ++--
18 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index d1f30c3..dd3d11a 100644
--- a/README.md
+++ b/README.md
@@ -514,7 +514,7 @@ SmartJavaAI是专为JAVA 开发者打造的一个功能丰富、开箱即用的
cn.smartjavaai
all
- 1.1.0
+ 1.1.1
```
diff --git a/all/pom.xml b/all/pom.xml
index 63c7d14..bb154f0 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -6,11 +6,11 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
all
- 1.1.0
+ 1.1.1
${project.artifactId}
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI
diff --git a/android.md b/android.md
index d2e8ec8..d978646 100644
--- a/android.md
+++ b/android.md
@@ -54,7 +54,8 @@ Android 版本包含以下四大核心模块,支持完全**离线运行**,
* **SDK 形式**:提供标准 AAR/Jar 包,方便集成。
* **源码支持**:提供完整的 Demo 工程源码。
-* **技术服务**:提供一对一技术咨询与集成协助。
+
+---
diff --git a/bom/pom.xml b/bom/pom.xml
index 815bba0..d4af111 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -6,10 +6,10 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
- 1.1.0
+ 1.1.1
bom
bom
统一版本管理的 BOM 包,同时支持 import 和全量依赖
diff --git a/common/pom.xml b/common/pom.xml
index e8d4e2c..80a80fd 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -6,7 +6,7 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
common
diff --git a/examples/face-example/pom.xml b/examples/face-example/pom.xml
index 4b34106..bb240c3 100644
--- a/examples/face-example/pom.xml
+++ b/examples/face-example/pom.xml
@@ -12,7 +12,7 @@
11
11
UTF-8
- 1.1.0
+ 1.1.1
smartai.examples.face.FaceDemo
diff --git a/examples/face-example/src/main/java/smartai/examples/face/liveness/LivenessDetDemo.java b/examples/face-example/src/main/java/smartai/examples/face/liveness/LivenessDetDemo.java
index e6854e2..9366930 100644
--- a/examples/face-example/src/main/java/smartai/examples/face/liveness/LivenessDetDemo.java
+++ b/examples/face-example/src/main/java/smartai/examples/face/liveness/LivenessDetDemo.java
@@ -31,9 +31,6 @@ import cn.smartjavaai.face.utils.FaceUtils;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;
import nu.pattern.OpenCV;
-import org.bytedeco.javacv.FFmpegFrameGrabber;
-import org.bytedeco.javacv.Frame;
-import org.bytedeco.javacv.Java2DFrameUtils;
import org.junit.BeforeClass;
import org.junit.Test;
import org.opencv.core.Mat;
diff --git a/examples/ocr-examples/pom.xml b/examples/ocr-examples/pom.xml
index cb6f95a..f2ee663 100644
--- a/examples/ocr-examples/pom.xml
+++ b/examples/ocr-examples/pom.xml
@@ -12,7 +12,7 @@
11
11
UTF-8
- 1.1.0
+ 1.1.1
smartai.examples.ocr.common.OcrRecognizeDemo
diff --git a/examples/speech-examples/pom.xml b/examples/speech-examples/pom.xml
index cc0c81c..8407683 100644
--- a/examples/speech-examples/pom.xml
+++ b/examples/speech-examples/pom.xml
@@ -12,7 +12,7 @@
11
11
UTF-8
- 1.1.0
+ 1.1.1
smartai.examples.speech.asr.common.OcrRecognizeDemo
diff --git a/examples/translation-example/pom.xml b/examples/translation-example/pom.xml
index b4f85e4..52610c8 100644
--- a/examples/translation-example/pom.xml
+++ b/examples/translation-example/pom.xml
@@ -12,7 +12,7 @@
11
11
UTF-8
- 1.1.0
+ 1.1.1
smartai.examples.nlp.translation.TranslationDemo
diff --git a/examples/vision-example/pom.xml b/examples/vision-example/pom.xml
index 3f03987..81a5277 100644
--- a/examples/vision-example/pom.xml
+++ b/examples/vision-example/pom.xml
@@ -12,7 +12,7 @@
11
11
UTF-8
- 1.1.0
+ 1.1.1
smartai.examples.vision.ObjectDetectionDemo
diff --git a/examples/vision-example/src/main/java/smartai/examples/vision/ObjectDetectionDemo.java b/examples/vision-example/src/main/java/smartai/examples/vision/ObjectDetectionDemo.java
index 50fd93c..af6972b 100644
--- a/examples/vision-example/src/main/java/smartai/examples/vision/ObjectDetectionDemo.java
+++ b/examples/vision-example/src/main/java/smartai/examples/vision/ObjectDetectionDemo.java
@@ -205,13 +205,16 @@ public class ObjectDetectionDemo {
*/
@Test
public void testStream(){
+
StreamDetector detector = new StreamDetector.Builder()
//视频源类型:支持视频流、本地摄像头、视频文件
.sourceType(VideoSourceType.STREAM)
//视频流地址,支持rtsp、rtmp、http等常见视频流
- .streamUrl("rtsp://username:password@ip:port/Streaming/Channels/101")
+ .streamUrl("rtsp://127.0.0.1:8554/stream")
//每隔多少帧检测一次(需要根据模型检测速度决定)
.frameDetectionInterval(10)
+ //是否打印调试日志
+ .enableDebugLog(false)
//目标检测模型
.detectorModel(getModel())
//回调函数:检测到指定目标时触发(getModel中可指定模型检测的物体)
@@ -246,6 +249,7 @@ public class ObjectDetectionDemo {
}
}).build();
detector.startDetection();
+
//阻塞主线程
CountDownLatch latch = new CountDownLatch(1);
try {
@@ -319,8 +323,6 @@ public class ObjectDetectionDemo {
.frameDetectionInterval(5)
//目标检测模型
.detectorModel(getModel())
- //同物体重复检测时间间隔,单位s
- .repeatGap(5)
//回调函数:检测到指定目标时触发(getModel中可指定模型检测的物体)
.listener(new StreamDetectionListener() {
@Override
diff --git a/face/pom.xml b/face/pom.xml
index e5ea7ce..56f3654 100644
--- a/face/pom.xml
+++ b/face/pom.xml
@@ -6,11 +6,11 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
face
- 1.1.0
+ 1.1.1
face
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI
diff --git a/ocr/pom.xml b/ocr/pom.xml
index 67ad098..32df199 100644
--- a/ocr/pom.xml
+++ b/ocr/pom.xml
@@ -6,7 +6,7 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
ocr
@@ -42,7 +42,7 @@
- 1.1.0
+ 1.1.1
ocr
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI
diff --git a/pom.xml b/pom.xml
index a3cbef4..1104534 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
SmartJavaAI
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
pom
SmartJavaAI
diff --git a/speech/pom.xml b/speech/pom.xml
index bfaf7c7..fdc832f 100644
--- a/speech/pom.xml
+++ b/speech/pom.xml
@@ -6,7 +6,7 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
speech
@@ -57,7 +57,7 @@
- 1.1.0
+ 1.1.1
speech
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI
diff --git a/translate/pom.xml b/translate/pom.xml
index 2469f02..b476a82 100644
--- a/translate/pom.xml
+++ b/translate/pom.xml
@@ -25,7 +25,7 @@
- 1.1.0
+ 1.1.1
translate
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI
diff --git a/vision/pom.xml b/vision/pom.xml
index ed6baf0..225de2f 100644
--- a/vision/pom.xml
+++ b/vision/pom.xml
@@ -6,11 +6,11 @@
cn.smartjavaai
smartjavaai-parent
- 1.1.0
+ 1.1.1
vision
- 1.1.0
+ 1.1.1
vision
SmartJavaAI
https://github.com/geekwenjie/SmartJavaAI