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

needed Trigger face effect and image-marker manually by JS #139

Closed
faychan opened this issue Sep 8, 2020 · 2 comments
Closed

needed Trigger face effect and image-marker manually by JS #139

faychan opened this issue Sep 8, 2020 · 2 comments

Comments

@faychan
Copy link

faychan commented Sep 8, 2020

I need the face effects and image marker action to wait until the verification result is true then they can access them in order. Get verification from API -> open image marker -> found image -> trigger face effect

any help is very appreciated, I'm still new in this framework...

@atomarch
Copy link
Contributor

Can you elaborate on what you mean by "verification result"?

In general, our AR Engine fires events/observables when various image and/or face events take place (image found, image lost, face found, face lost, etc). You can certainly decide if/when you have a listener and take action on these events.

For example, when a user clicks a button, that could register the face effects related event listeners.

More info on events:
https://www.8thwall.com/docs/web/#aframe-events
https://www.8thwall.com/docs/web/#image-target-events
https://www.8thwall.com/docs/web/#xr8xrcontrollerpipelinemodule
https://www.8thwall.com/docs/web/#xr8facecontrollerpipelinemodule

@faychan
Copy link
Author

faychan commented Sep 25, 2020

thank you @atomarch , the links already given me the answers i needed ^^

@faychan faychan closed this as completed Sep 25, 2020
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