Skip to content

faces: load BVH raycast acceleration lazily in FaceRecognizer.init() - #471

Merged
dli7319 merged 1 commit into
google:mainfrom
dli7319:three_mesh_bvh
Aug 1, 2026
Merged

faces: load BVH raycast acceleration lazily in FaceRecognizer.init()#471
dli7319 merged 1 commit into
google:mainfrom
dli7319:three_mesh_bvh

Conversation

@dli7319

@dli7319 dli7319 commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Description

This gets rid of the annoy three-mesh-bvh warning on apps which don't need it.
I moved the call into init for now, but I think it gets called automatically anyways.

Type of Change

  • Bug fix
  • New feature / enhancement
  • New demo or sample
  • Documentation update

Media / Screen Recordings & Screenshots (If Applicable)

On device, the console is clean now
Screenshot 2026-07-31 at 4 59 07 PM

I also checked the face demo in the simulator and it works just as before.

This gets rid of the annoy three-mesh-bvh warning on apps which don't need it.
@dli7319
dli7319 requested a review from ruofeidu August 1, 2026 00:04
@dli7319
dli7319 merged commit 66db1de into google:main Aug 1, 2026
10 checks passed
@dli7319
dli7319 deleted the three_mesh_bvh branch August 1, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants