You've already forked FrameTour-BE
feat(ai-cam): 增强AI摄像头人脸检测逻辑
All checks were successful
ZhenTu-BE/pipeline/head This commit looks good
All checks were successful
ZhenTu-BE/pipeline/head This commit looks good
- 引入时间范围限制配置,支持按分钟设置检测窗口 - 创建DetectResult内部类,记录人脸检测的分数和时间信息 - 优化照片筛选逻辑,先按分数排序再应用时间范围过滤 - 更新设备类型名称,将"微单"改为"AI微单" - 增强日志记录,提供更详细的调试信息
This commit is contained in:
@@ -41,6 +41,9 @@ public class SourceRepository {
|
||||
}
|
||||
|
||||
public void setUserIsBuyItem(Long memberId, int type, Long faceId, Long orderId) {
|
||||
if (type == 13) {
|
||||
type = 3; // compact
|
||||
}
|
||||
MemberSourceEntity memberSource = new MemberSourceEntity();
|
||||
memberSource.setMemberId(memberId);
|
||||
memberSource.setFaceId(faceId);
|
||||
|
||||
Reference in New Issue
Block a user