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) { bool ret = LandmarkDetectorPINVOKE.DetectSingleFace__SWIG_1(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)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool DetectFaces(CVDoubleRectList o_regions, SWIGTYPE_p_cv__Mat_T_uchar_t intensity, SWIGTYPE_p_cv__CascadeClassifier classifier) { bool ret = LandmarkDetectorPINVOKE.DetectFaces__SWIG_1(CVDoubleRectList.getCPtr(o_regions), SWIGTYPE_p_cv__Mat_T_uchar_t.getCPtr(intensity), SWIGTYPE_p_cv__CascadeClassifier.getCPtr(classifier)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }