You've already forked FrameTour-BE
refactor(kafka): 修改人脸库分组命名规则
- 将人脸库分组名称从 "ai-cam-{deviceId}" 更改为 "AiCam{deviceId}"
- 更新 FaceProcessingKafkaService 中的数据库名称生成逻辑
- 同步修改 FaceDetectLogAiCamServiceImpl 中的数据库名称使用方式
This commit is contained in:
@@ -471,8 +471,8 @@ public class FaceProcessingKafkaService {
|
||||
return;
|
||||
}
|
||||
|
||||
// 使用 "ai-cam-" + deviceId 作为人脸库分组
|
||||
String dbName = "ai-cam-" + deviceId;
|
||||
// 使用 "AiCam" + deviceId 作为人脸库分组
|
||||
String dbName = "AiCam" + deviceId;
|
||||
taskFaceService.assureFaceDb(adapter, dbName);
|
||||
|
||||
String faceUniqueId = faceSampleId.toString();
|
||||
|
||||
@@ -21,7 +21,7 @@ public class FaceDetectLogAiCamServiceImpl implements FaceDetectLogAiCamService
|
||||
|
||||
@Override
|
||||
public SearchFaceResp searchAndLog(Long scenicId, Long deviceId, Long faceSampleId, String faceUrl, IFaceBodyAdapter adapter) {
|
||||
String dbName = "ai-cam-" + deviceId;
|
||||
String dbName = "AiCam" + deviceId;
|
||||
|
||||
SearchFaceResp resp = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user