更新编译版本为 甲方提供的版本
This commit is contained in:
@@ -271,4 +271,11 @@ public class FaceActivity extends GameActivity implements FaceLandmarkerHelper.L
|
||||
Log.i("FaceActivity", "ChangeState:" + json);
|
||||
ChangeStateCpp(json);
|
||||
}
|
||||
|
||||
// 添加这个缺失的方法
|
||||
@Override
|
||||
public void onEmpty() {
|
||||
// 当没有检测到人脸时的处理逻辑
|
||||
Log.d(TAG, "No face detected in the current frame");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user