SDK 2.0.0. Auth: Auth & License.
Return values
Create() returns nullptr on failure. ProcessImage may return nullptr.
Engine events
Common failures
1. Create returns nullptr
resource_pathis not theresource.fbdfile- Invalid
license_tokenorapp_id+app_key - Online auth cannot reach
/facebetter/v2/auth libfacebetter.soversion mismatch
2. libfacebetter.so not found
RPATH at link time (-Wl,-rpath,/path/to/sdk/lib).
3. ProcessImage returns nullptr
4. Effects look unchanged
NoSetBeautyTypeEnabled in 2.0. Set intensities > 0. Reshape / makeup need a face.
5. GLFW cannot open the display
ssh -X) or a local compositor.
6. OpenGL init fails
- Create the engine and call process on the thread whose GL context is current. Input and output textures must belong to that context. CPU frames do not need a caller GL context. There is no context flag on the config.

