Enable Debugging Mode

For the debugging purpose, ARGear provides displaying AR information functions, which shows face landmark, face rect, and face axes. Debugging function can be enabled or disabled in real time.

A sample code is written below.

// Enabling Debug Function
argsession.setDebugInference(EnumSet.of(ARGInferenceConfig.Debug.FACE_LANDMARK,
ARGInferenceConfig.Debug.FACE_RECT_HW,
ARGInferenceConfig.Debug.FACE_RECT_SW,
ARGInferenceConfig.Debug.FACE_AXIES));
// Disabling Debugging Function
argsession.setDebugInference(EnumSet.of(ARGInferenceConfig.Debug.NONE));