Exemplo n.º 1
0
    public static PResult Open(string uri, PInputVideoStream inputVideoStream)
    {
        PResult ret = new PResult(PapillonPINVOKE.PInputVideoStream_Open__SWIG_0(uri, PInputVideoStream.getCPtr(inputVideoStream)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 2
0
    public static PResult Open(SWIGTYPE_p_papillon__PPlugin plugin, PUri uri, PInputVideoStream inputVideoStream)
    {
        PResult ret = new PResult(PapillonPINVOKE.PInputVideoStream_Open__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PUri.getCPtr(uri), PInputVideoStream.getCPtr(inputVideoStream)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 3
0
 public PInputVideoStream(PInputVideoStream other) : this(PapillonPINVOKE.new_PInputVideoStream__SWIG_1(PInputVideoStream.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
    public PResult EnrollFromVideoStream(PInputVideoStream ivs, PDescription description, int maxFrames, int maxExamples, PGuid subjectId, string subjectName)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromVideoStream__SWIG_1(swigCPtr, PInputVideoStream.getCPtr(ivs), PDescription.getCPtr(description), maxFrames, maxExamples, PGuid.getCPtr(subjectId), subjectName), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }