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

frame count and function calls #8

Open
floatingworld3 opened this issue Oct 23, 2018 · 7 comments
Open

frame count and function calls #8

floatingworld3 opened this issue Oct 23, 2018 · 7 comments

Comments

@floatingworld3
Copy link

How often is the px = points[index].x function called? Every frame? How can I know what frame?

@MarcelKlammer
Copy link
Member

You like to open issues, aren't you?

brfManager.update() will work on the currently provided image data and the results in a BRFFace will be updated. This .x is just one of the facial landmark values.

@floatingworld3
Copy link
Author

so brfmanager.update() is called every frame and therefore also updates points[index].x I take it? What about timestamp? All I want to do is get the positions of a few key points into my 3d app via a websocket.

@MarcelKlammer
Copy link
Member

MarcelKlammer commented Oct 23, 2018

Just try it out. You opended an issue in the Adobe AIR native extension repo. So download the repo and try the FLA file or setup your Actionscript3 project as usual.

If you want to try the Javascript version, you can download the examples there as well and fire up a local server to see how things are working.

There is always an update method that is called every frame... And there is always a BRFFace with the current results of 68 landmarks. Those landmarks can be seen in an image in the repo.

@floatingworld3
Copy link
Author

so update( Bitmap imageData ) is called every 1/framerate seconds?

@MarcelKlammer
Copy link
Member

yes...

@floatingworld3
Copy link
Author

floatingworld3 commented Mar 21, 2019 via email

@MarcelKlammer
Copy link
Member

Please write an email to [email protected]

Thanks

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