save code

This commit is contained in:
xsl
2025-09-09 21:52:27 +08:00
parent c1c4b49386
commit 516fe7e47b
3 changed files with 14 additions and 5 deletions
@@ -62,11 +62,6 @@ class FaceLandmarkerHelper(
return faceLandmarker == null
}
// Initialize the Face landmarker using current settings on the
// thread that is using it. CPU can be used with Landmarker
// that are created on the main thread and used on a background thread, but
// the GPU delegate needs to be used on the thread that initialized the
// Landmarker
fun setupFaceLandmarker() {
// Set general face landmarker options
val baseOptionBuilder = BaseOptions.builder()