|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
Public Member Functions | |
| int | AddFrame (java.nio.ByteBuffer data, int width, int height, com.visagetechnologies.bsc.ColorModel model) |
| int | AddFrame (com.visagetechnologies.CamIL.Image frame) |
| com.visagetechnologies.CamIL.Image | ReuseInputFrame () |
| void | Subscribe (com.visagetechnologies.fpr.IFrameObserver observer) |
| void | Unsubscribe (com.visagetechnologies.fpr.IFrameObserver observer) |
An interface used to provide input image data for processing. API users should obtain a reference to this interface by using SDKProvider::GetFrameProvider function.
|
inline |
Enqueues image for processing, replacing the last queued Image. When processing is triggered the engine obtaines only the last queued frame.
| newFrame | Image for processing. |
|
inline |
Enqueues image for processing, replacing the last queued Image. When processing is triggered the engine obtaines only the last queued frame.
| newFrame | Image for processing. |
|
inline |
Returns previous input image. Use this method to reuse memory and avoid unnecessary allocations/dealocations that could cause a performance hit.
Use this only when new frame has the same format, width and height as the returned image. If format, width or height don't match, create a new CamIL::Image.
|
inline |
Subscribe to receive notifications when a new frame is ready.
| observer | Object reference to receive notifications when new frame is enqueued. |
|
inline |
Subscribe to stop receiving notifications.
| observer | Subscribed observer reference you wish to cancel. |