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

Ocluder does not transform #525

Open
squareclouds opened this issue May 6, 2024 · 1 comment
Open

Ocluder does not transform #525

squareclouds opened this issue May 6, 2024 · 1 comment

Comments

@squareclouds
Copy link

Hello and thanks for the library!

somehow I am having issues with the transformations of the ocluder for face recognition.

for instance
position="1 1 1" rotation="0 0 0" scale="0.1 0.1 0.1"

if i remove the attribute "mindar-face-occluder" i can see the head and the transformations work. so after i position and scale it how I need it, i then re-add the "mindar-face-occluder" attribute and the head ignores the transformations. I can enter position="9 1 1" and it remains in the same location. if i remove the attribute again I can see that the head flew way out of the way. any ideas?

@squareclouds
Copy link
Author

PS: i just removed the head model

<a-entity mindar-face-target="anchorIndex: 168">
        <a-gltf-model mindar-face-occluder position="1 1 1" rotation="0 0 0" scale="0.1 0.1 0.1" src="#headModel"></a-gltf-model>
</a-entity>

and still something is oclusing the hat! maybe that is the main problem?

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

1 participant