Tastenkunst / brfv4_ane_examples

Adobe AIR native extension for Windows, macOS, iOS and Android.
37 stars 9 forks source link

frame count and function calls #8

Open floatingworld3 opened 6 years ago

floatingworld3 commented 6 years ago

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

MarcelKlammer commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

MarcelKlammer commented 6 years ago

yes...

floatingworld3 commented 5 years ago

Hi Marcel,

I would like to arrange the purchase of BRF.V4 facial tracking software. Could you please provide requisite details for exchange.

Yours kindly,

David

Sent from my iPhone

On 23 Oct 2018, at 5:55 pm, Marcel Klammer notifications@github.com wrote:

yes...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MarcelKlammer commented 5 years ago

Please write an email to info@tastenkunst.com

Thanks