12. Enable Debugging Mode
ARGSession.h
typedef NS_OPTIONS (NSInteger,ARGInferenceDebugOption) {
ARGInferenceOptionDebugNON = 1 << 0,
ARGInferenceOptionDebugFaceTracking = 1 << 1,
ARGInferenceOptionDebugFaceLandmark2D = 1 << 2,
};// Sample Code. Enable and Disable Debugging Mode
ARGSession *argSession = [[ARGSession alloc] initWithARGConfig:argConfig error:&error];
…
// Enable Debugging Mode
[argSession setInferenceDebugOption:ARGInferenceOptionDebugFaceLandmark2D];
// Disable Debugging Mode
[argSession setInferenceDebugOption:ARGInferenceOptionDebugNON];// Sample Code. Enable and Disable Debugging Mode
if let session = argSession {
// Enable Debugging Mode
session.inferenceDebugOption = .optionDebugFaceLandmark2D
// Disable Debugging Mode
session.inferenceDebugOption = .optionDebugNON
}Last updated
Was this helpful?