Image frame for landmarks
Hi!
How could I go about getting access to the exact frame for which the landmarks were calculated?
In several machine learning problems getting those points are crucial for properly formatting the input.
But it doesn't look like there's an easy way to accurately access it.
The obvious choice would be to use a texture provider on the frame update event but there's no guarantee the landmarks will be for that frame.
Instead, one idea I have is to create a new Camera and continuously update its render target with the frame that comes from the update script event and then call facial landmarks. This way I know which frame the landmarks are for.
But still that sounds very ineficient.
Would love to hear your thoughts on that.
thanks
Hi, Marco Vanossi
The landmarks positions are updated before the ML and Script update.
If you modify your ML input according to landmarks positions in script Update you can use Late Update start Time for the ML Component.
Best
Olha