public CVPointPair(SWIGTYPE_p_cv__Point t, SWIGTYPE_p_cv__Point u) : this(LandmarkDetectorPINVOKE.new_CVPointPair__SWIG_1(SWIGTYPE_p_cv__Point.getCPtr(t), SWIGTYPE_p_cv__Point.getCPtr(u)), true) { if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool DetectSingleFaceHOG(SWIGTYPE_p_cv__Rect_T_double_t o_region, SWIGTYPE_p_cv__Mat_T_uchar_t intensity, SWIGTYPE_p_dlib__frontal_face_detector classifier, /* cstype */ out double confidence, SWIGTYPE_p_cv__Point preference) { bool ret = LandmarkDetectorPINVOKE.DetectSingleFaceHOG__SWIG_0(SWIGTYPE_p_cv__Rect_T_double_t.getCPtr(o_region), SWIGTYPE_p_cv__Mat_T_uchar_t.getCPtr(intensity), SWIGTYPE_p_dlib__frontal_face_detector.getCPtr(classifier), out confidence, SWIGTYPE_p_cv__Point.getCPtr(preference)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Point obj) { return(new System.Runtime.InteropServices.HandleRef(obj, obj.swigCPtr)); }
public static bool DetectSingleFace(SWIGTYPE_p_cv__Rect_T_double_t o_region, SWIGTYPE_p_cv__Mat_T_uchar_t intensity, SWIGTYPE_p_cv__CascadeClassifier classifier, SWIGTYPE_p_cv__Point preference) { bool ret = LandmarkDetectorPINVOKE.DetectSingleFace__SWIG_0(SWIGTYPE_p_cv__Rect_T_double_t.getCPtr(o_region), SWIGTYPE_p_cv__Mat_T_uchar_t.getCPtr(intensity), SWIGTYPE_p_cv__CascadeClassifier.getCPtr(classifier), SWIGTYPE_p_cv__Point.getCPtr(preference)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }