This commit is contained in:
砂糖
2025-09-30 14:23:20 +08:00

View File

@@ -468,7 +468,7 @@ public class InspectionTaskServiceImpl implements InspectionTaskService {
private List<Detection> performDetection(Mat mat) {
try {
if (modelManager != null) {
YoloDetector detector = modelManager.get("person-helmet"); // 使用人员安全帽检测
YoloDetector detector = modelManager.get("garbage"); // 应该使用垃圾检测 当开启自动巡检的时候 需要替换模型
if (detector != null) {
return detector.detect(mat);
}