Abstract plugin for FaceRenderer
Specializes the BabylonPlugin generic for FaceResult. This's abstract plugin that doesn't implement any logic.
• new FacePlugin()
Dispose render plugin
Prepares or modifies the attached node if required. Reference to the scene object is cached and used by plugin on update() and unload(). You need to reload plugin if you want to change scene it's attached to. Overridden by derived classes for particular task.
|Scene this plugin is attached to|
Promise resolving when initialization is finished
Releases all resources/instances created in load(). Overridden by derived classes for particular task.
Update the scene node
Main method implementing the logic of the plugin. Updates the node according to provided results. Overridden by derived classes for particular task.
|Results of video processing|
|Captured video frame|
Promise resolving when update is finished