static public void PrepareTrackingParamsDefault( ref xmgTrackingParams trackingParams) { trackingParams.m_processingSize.w = 320; trackingParams.m_processingSize.h = 240; trackingParams.m_rotate_mode = 0; trackingParams.m_detect_without_eyes = 1; trackingParams.texturePtr = System.IntPtr.Zero; }
static public void PrepareTrackingParams( ref xmgTrackingParams trackingParams, int proc_w, int proc_h, int rotationMode = 0) { trackingParams.m_processingSize.w = proc_w; trackingParams.m_processingSize.h = proc_h; trackingParams.m_rotate_mode = rotationMode; trackingParams.m_detect_without_eyes = 1; trackingParams.texturePtr = System.IntPtr.Zero; }
public static extern int xzimgFaceApiRigidTracking([In][Out] ref xmgTrackingParams trackingData, [In][Out] ref xmgRigidFaceData rigidData);