Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to dynamically load the local 3D model about FaceEffect #4180

Open
roMummy opened this issue Mar 17, 2023 · 5 comments
Open
Assignees
Labels
legacy:face mesh Issues related to Face Mesh stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@roMummy
Copy link

roMummy commented Mar 17, 2023

I wish I could dynamically load 3d models instead of using SwitchContainer.Any ideas

@roMummy roMummy added the type:others issues not falling in bug, perfromance, support, build and install or feature label Mar 17, 2023
@ayushgdev ayushgdev added the legacy:face mesh Issues related to Face Mesh label Mar 17, 2023
@ayushgdev
Copy link
Contributor

Hello @roMummy
Would you please elaborate your idea of "dynamic loading of model" because SwitchContainerCalculator decides the model to use during runtime only based on the input_side_packets supplied during the run initiation through either cmd (for desktop) or through programmatic means (for Android/Python)

@ayushgdev ayushgdev added the stat:awaiting response Waiting for user response label Mar 17, 2023
@roMummy
Copy link
Author

roMummy commented Mar 20, 2023

I have now encapsulated the iOS framework of FaceEffect, but regarding the switching of 3D models, currently all 3D models are encapsulated into the framework and switched through Switch. Now I want to dynamically change the model by passing in the path and texture of the 3d model externally.@ayushgdev

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Mar 20, 2023
@ayushgdev
Copy link
Contributor

Thank you for the details @roMummy . We shall forward this request to the team to prioritise it internally.

@ayushgdev ayushgdev added the stat:awaiting googler Waiting for Google Engineer's Response label Mar 20, 2023
@andrechen
Copy link

I had done pretty much the same thing but in Windows with visual studio 2019. Customized a FaceEffectRenderer that loads axis and glass models plus the face paint texture when starting up, then use key input to switch these 3 effects in real time.

If you don't mind to do this in the hard way, check this out...
https://github.com/andrechen/mediapipe/tree/master/visualstudio/face_effect

@roMummy
Copy link
Author

roMummy commented Mar 21, 2023

@andrechen thank you so much.

@kuaashish kuaashish added type:support General questions and removed type:others issues not falling in bug, perfromance, support, build and install or feature labels Apr 3, 2023
@kuaashish kuaashish added type:feature Enhancement in the New Functionality or Request for a New Solution and removed type:support General questions labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:face mesh Issues related to Face Mesh stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

5 participants