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

How to change faceMeshTexture in realTime #2

Open
iamprafful opened this issue Apr 5, 2020 · 2 comments
Open

How to change faceMeshTexture in realTime #2

iamprafful opened this issue Apr 5, 2020 · 2 comments

Comments

@iamprafful
Copy link

iamprafful commented Apr 5, 2020

I was working on realtime face texture change on button click
can you please help me in this
I tried this

 button.setOnClickListener {
            Texture.builder()
                .setSource(this, R.drawable.makeup2)
                .build()
                .thenAccept { texture -> faceMeshTexture= texture }
        }

but its not working please help

@iamprafful iamprafful reopened this Apr 5, 2020
@iamprafful iamprafful changed the title In makeup activity How to change faceMeshTexture in realTime Apr 5, 2020
@ghost
Copy link

ghost commented Sep 2, 2020

Hey @prafful98 did you found a way for implementing this?
I am also trying to change the modelrenderable at runtime.
It's like the Snapchat camera where the face filters are changed at runtime as the user selects them.

@Arazilabid
Copy link

Did you find Any solution?

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

No branches or pull requests

2 participants