You've already forked FrameTour-BE
refactor(face): 调整人脸识别匹配逻辑以支持场景参数
- 修改 PrinterTvController 中 faceUpload 方法的 scene 参数值从 print 改为 tv - 在 FaceServiceImpl 中为人脸匹配方法增加 scene 参数支持 - 更新 FaceMatchingOrchestrator 的 orchestrateMatching 方法签名以接收 scene 参数 - 在 FaceService 接口中新增带 scene 参数的 matchFaceId 方法定义 - 更新 VideoTaskGenerator 中调用 matchFaceId 方法时传入 scene 参数
This commit is contained in:
@@ -82,7 +82,7 @@ public class VideoTaskGenerator {
|
||||
faceReqQuery.setEndTime(DateUtil.endOfDay(new Date()));
|
||||
List<FaceRespVO> list = faceMapper.list(faceReqQuery);
|
||||
list.forEach(face -> {
|
||||
faceService.matchFaceId(face.getId(), false);
|
||||
faceService.matchFaceId(face.getId(), false, null);
|
||||
if (Integer.valueOf(3).equals(scenicConfig.getBookRoutine())) {
|
||||
// 全部生成
|
||||
templateList.forEach(content -> {
|
||||
|
||||
Reference in New Issue
Block a user