public void CalcBoundingBox(SWIGTYPE_p_cv__Rect out_bounding_box, SWIGTYPE_p_cv__Vec6d params_global, SWIGTYPE_p_cv__Mat_T_double_t params_local) { LandmarkDetectorPINVOKE.PDM_CalcBoundingBox(swigCPtr, SWIGTYPE_p_cv__Rect.getCPtr(out_bounding_box), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(params_local)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public void ComputeJacobian(SWIGTYPE_p_cv__Mat_T_float_t params_local, SWIGTYPE_p_cv__Vec6d params_global, SWIGTYPE_p_cv__Mat_T_float_t Jacobian, SWIGTYPE_p_cv__Mat_T_float_t W, SWIGTYPE_p_cv__Mat_T_float_t Jacob_t_w) { LandmarkDetectorPINVOKE.PDM_ComputeJacobian(swigCPtr, SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(params_local), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(Jacobian), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(W), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(Jacob_t_w)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public void CalcParams(SWIGTYPE_p_cv__Vec6d out_params_global, SWIGTYPE_p_cv__Rect_T_double_t bounding_box, SWIGTYPE_p_cv__Mat_T_double_t params_local, SWIGTYPE_p_cv__Vec3d rotation) { LandmarkDetectorPINVOKE.PDM_CalcParams__SWIG_0(swigCPtr, SWIGTYPE_p_cv__Vec6d.getCPtr(out_params_global), SWIGTYPE_p_cv__Rect_T_double_t.getCPtr(bounding_box), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(params_local), SWIGTYPE_p_cv__Vec3d.getCPtr(rotation)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public void CalcParams(SWIGTYPE_p_cv__Vec6d out_params_global, SWIGTYPE_p_cv__Mat_T_double_t out_params_local, SWIGTYPE_p_cv__Mat_T_double_t landmark_locations) { LandmarkDetectorPINVOKE.PDM_CalcParams__SWIG_3(swigCPtr, SWIGTYPE_p_cv__Vec6d.getCPtr(out_params_global), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(out_params_local), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(landmark_locations)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static void DrawBox(SWIGTYPE_p_cv__Mat image, SWIGTYPE_p_cv__Vec6d pose, SWIGTYPE_p_cv__Scalar color, int thickness, float fx, float fy, float cx, float cy) { LandmarkDetectorPINVOKE.DrawBox__SWIG_0(SWIGTYPE_p_cv__Mat.getCPtr(image), SWIGTYPE_p_cv__Vec6d.getCPtr(pose), SWIGTYPE_p_cv__Scalar.getCPtr(color), thickness, fx, fy, cx, cy); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public void Clamp(SWIGTYPE_p_cv__Mat_T_float_t params_local, SWIGTYPE_p_cv__Vec6d params_global, FaceModelParameters arg2) { LandmarkDetectorPINVOKE.PDM_Clamp(swigCPtr, SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(params_local), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), FaceModelParameters.getCPtr(arg2)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public int GetViewIdx(SWIGTYPE_p_cv__Vec6d params_global, int scale) { int ret = LandmarkDetectorPINVOKE.Patch_experts_GetViewIdx(swigCPtr, SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), scale); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SWIGTYPE_p_cv__Vec6d GetCorrectedPoseWorld(SWIGTYPE_p_CLNF clnf_model, double fx, double fy, double cx, double cy) { SWIGTYPE_p_cv__Vec6d ret = new SWIGTYPE_p_cv__Vec6d(LandmarkDetectorPINVOKE.GetCorrectedPoseWorld(SWIGTYPE_p_CLNF.getCPtr(clnf_model), fx, fy, cx, cy), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CVPoint2DPairList CalculateBox(SWIGTYPE_p_cv__Vec6d pose, float fx, float fy, float cx, float cy) { CVPoint2DPairList ret = new CVPoint2DPairList(LandmarkDetectorPINVOKE.CalculateBox(SWIGTYPE_p_cv__Vec6d.getCPtr(pose), fx, fy, cx, cy), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void UpdateModelParameters(SWIGTYPE_p_cv__Mat_T_float_t delta_p, SWIGTYPE_p_cv__Mat_T_float_t params_local, SWIGTYPE_p_cv__Vec6d params_global) { LandmarkDetectorPINVOKE.PDM_UpdateModelParameters(swigCPtr, SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(delta_p), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(params_local), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public void Response(FloatMatList patch_expert_responses, SWIGTYPE_p_cv__Matx22f sim_ref_to_img, SWIGTYPE_p_cv__Matx22d sim_img_to_ref, SWIGTYPE_p_cv__Mat_T_uchar_t grayscale_image, SWIGTYPE_p_PDM pdm, SWIGTYPE_p_cv__Vec6d params_global, SWIGTYPE_p_cv__Mat_T_double_t params_local, int window_size, int scale) { LandmarkDetectorPINVOKE.Patch_experts_Response(swigCPtr, FloatMatList.getCPtr(patch_expert_responses), SWIGTYPE_p_cv__Matx22f.getCPtr(sim_ref_to_img), SWIGTYPE_p_cv__Matx22d.getCPtr(sim_img_to_ref), SWIGTYPE_p_cv__Mat_T_uchar_t.getCPtr(grayscale_image), SWIGTYPE_p_PDM.getCPtr(pdm), SWIGTYPE_p_cv__Vec6d.getCPtr(params_global), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(params_local), window_size, scale); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Vec6d obj) { return(new System.Runtime.InteropServices.HandleRef(obj, obj.swigCPtr)); }