feat(face): 人脸库为空时自动进入新用户采集模式
- 新增 newUserCollect() 方法,人脸数据库记录为零时自动显示采集界面 - onResume 中异步查询人脸数量,据此决定进入采集模式或正常识别模式 - 修复 isFirstOpen 依赖 1000ms 延迟的竞态问题,改为立即置 false - 顺带修改 FunActivity 按钮文案为「清除并拉取全量数据」 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
android:layout_marginHorizontal="50dp"
|
||||
android:paddingHorizontal="30dp"
|
||||
android:background="@drawable/btn_outline"
|
||||
android:text="清除并重新拉取数据"
|
||||
android:text="清除并拉取全量数据"
|
||||
android:textColor="#FFCC99" />
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user