Ejemplo n.º 1
0
 public override void forwardPass(FloatRectangle2ArrayList handRectangles, SWIGTYPE_p_cv__Mat cvInputData)
 {
     OpenPosePINVOKE.HandExtractorCaffe_forwardPass(swigCPtr, FloatRectangle2ArrayList.getCPtr(handRectangles), SWIGTYPE_p_cv__Mat.getCPtr(cvInputData));
     if (OpenPosePINVOKE.SWIGPendingException.Pending)
     {
         throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public void setFrom(SWIGTYPE_p_cv__Mat cvMat)
 {
     OpenPosePINVOKE.FloatArray_setFrom(swigCPtr, SWIGTYPE_p_cv__Mat.getCPtr(cvMat));
     if (OpenPosePINVOKE.SWIGPendingException.Pending)
     {
         throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public static void ReadMat(SWIGTYPE_p_std__ifstream stream, SWIGTYPE_p_cv__Mat output_matrix)
 {
     LandmarkDetectorPINVOKE.ReadMat(SWIGTYPE_p_std__ifstream.getCPtr(stream), SWIGTYPE_p_cv__Mat.getCPtr(output_matrix));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void set_mat(SWIGTYPE_p_cv__Mat image)
 {
     csharpaidiclientPINVOKE.AidiImage_set_mat(swigCPtr, SWIGTYPE_p_cv__Mat.getCPtr(image));
     if (csharpaidiclientPINVOKE.SWIGPendingException.Pending)
     {
         throw csharpaidiclientPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public static void Draw(SWIGTYPE_p_cv__Mat img, SWIGTYPE_p_cv__Mat_T_double_t shape2D)
 {
     LandmarkDetectorPINVOKE.Draw__SWIG_1(SWIGTYPE_p_cv__Mat.getCPtr(img), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(shape2D));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public static void Draw(SWIGTYPE_p_cv__Mat img, CLNF clnf_model)
 {
     LandmarkDetectorPINVOKE.Draw__SWIG_2(SWIGTYPE_p_cv__Mat.getCPtr(img), CLNF.getCPtr(clnf_model));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public static void DrawLandmarks(SWIGTYPE_p_cv__Mat img, CVPointList landmarks)
 {
     LandmarkDetectorPINVOKE.DrawLandmarks(SWIGTYPE_p_cv__Mat.getCPtr(img), CVPointList.getCPtr(landmarks));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
 public static void DrawBox(CVPointPairList lines, SWIGTYPE_p_cv__Mat image, SWIGTYPE_p_cv__Scalar color, int thickness)
 {
     LandmarkDetectorPINVOKE.DrawBox__SWIG_1(CVPointPairList.getCPtr(lines), SWIGTYPE_p_cv__Mat.getCPtr(image), SWIGTYPE_p_cv__Scalar.getCPtr(color), thickness);
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 9
0
 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();
     }
 }
Ejemplo n.º 10
0
 public void Response(SWIGTYPE_p_cv__Mat_T_float_t im, SWIGTYPE_p_cv__Mat_T_double_t im_dft, SWIGTYPE_p_cv__Mat integral_img, SWIGTYPE_p_cv__Mat integral_img_sq, SWIGTYPE_p_cv__Mat_T_float_t resp)
 {
     LandmarkDetectorPINVOKE.CCNF_neuron_Response(swigCPtr, SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(im), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(im_dft), SWIGTYPE_p_cv__Mat.getCPtr(integral_img), SWIGTYPE_p_cv__Mat.getCPtr(integral_img_sq), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(resp));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 11
0
        public SWIGTYPE_p_cv__Mat getCvMat()
        {
            SWIGTYPE_p_cv__Mat ret = new SWIGTYPE_p_cv__Mat(OpenPosePINVOKE.FloatArray_getCvMat(swigCPtr), false);

            return(ret);
        }
Ejemplo n.º 12
0
        public SWIGTYPE_p_cv__Mat get_mat_const()
        {
            SWIGTYPE_p_cv__Mat ret = new SWIGTYPE_p_cv__Mat(csharpaidiclientPINVOKE.AidiImage_get_mat_const(swigCPtr), false);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Mat obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 14
0
 public static void matchTemplate_m(SWIGTYPE_p_cv__Mat_T_float_t input_img, SWIGTYPE_p_cv__Mat_T_double_t img_dft, SWIGTYPE_p_cv__Mat _integral_img, SWIGTYPE_p_cv__Mat _integral_img_sq, SWIGTYPE_p_cv__Mat_T_float_t templ, Int_DoubleMatMap templ_dfts, SWIGTYPE_p_cv__Mat_T_float_t result, int method)
 {
     LandmarkDetectorPINVOKE.matchTemplate_m(SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(input_img), SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(img_dft), SWIGTYPE_p_cv__Mat.getCPtr(_integral_img), SWIGTYPE_p_cv__Mat.getCPtr(_integral_img_sq), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(templ), Int_DoubleMatMap.getCPtr(templ_dfts), SWIGTYPE_p_cv__Mat_T_float_t.getCPtr(result), method);
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 15
0
 public static System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cv__Mat obj)
 {
     return(new System.Runtime.InteropServices.HandleRef(obj, obj.swigCPtr));
 }