Exemplo n.º 1
0
    public static PResult ReadFromFile(string filename, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PWatchlist_ReadFromFile(filename, PWatchlist.getCPtr(watchlist)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 2
0
 public PWatchlist(PWatchlist other) : this(PapillonPINVOKE.new_PWatchlist__SWIG_1(PWatchlist.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
    public static PResult WriteToFileWatchlist(string filename, PWatchlist arg1)
    {
        PResult ret = new PResult(PapillonPINVOKE.PFileIO_WriteToFileWatchlist__SWIG_1(filename, PWatchlist.getCPtr(arg1)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 4
0
    public static PResult ReadFromFileWatchlist(string filename, PWatchlist arg1, ESerialisationFormat format)
    {
        PResult ret = new PResult(PapillonPINVOKE.PFileIO_ReadFromFileWatchlist__SWIG_0(filename, PWatchlist.getCPtr(arg1), (int)format), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
    public PResult CreateWatchlistFromFolder(string path, PWatchlist watchlist, bool thumbnail, int maxFrames, int maxExamples)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_CreateWatchlistFromFolder__SWIG_0(swigCPtr, path, PWatchlist.getCPtr(watchlist), thumbnail, maxFrames, maxExamples), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 6
0
    public PResult CreateWatchlistFromFolder(string path, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_CreateWatchlistFromFolder__SWIG_3(swigCPtr, path, PWatchlist.getCPtr(watchlist)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
    public PResult CreateWatchlist(string configurationFile, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_CreateWatchlist__SWIG_2(swigCPtr, configurationFile, PWatchlist.getCPtr(watchlist)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 8
0
    public PResult EnrollFromCSV(string csvInputFilename, int videoMaxFrames, int videoMaxExamples, string csvOutputFilename, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromCSV__SWIG_1(swigCPtr, csvInputFilename, videoMaxFrames, videoMaxExamples, csvOutputFilename, PWatchlist.getCPtr(watchlist)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 9
0
    public PResult EnrollFromCSV(string csvInputFilename, int videoMaxFrames, int videoMaxExamples, string csvOutputFilename, PWatchlist watchlist, SWIGTYPE_p_f_r_q_const__papillon__PString__void callback)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromCSV__SWIG_0(swigCPtr, csvInputFilename, videoMaxFrames, videoMaxExamples, csvOutputFilename, PWatchlist.getCPtr(watchlist), SWIGTYPE_p_f_r_q_const__papillon__PString__void.getCPtr(callback)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 10
0
    public PResult EnrollFromVideoStream(PInputVideoStream ivs, int maxFrames, int maxExamples, PGuid subjectId, string subjectName, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromVideoStream__SWIG_0(swigCPtr, PInputVideoStream.getCPtr(ivs), maxFrames, maxExamples, PGuid.getCPtr(subjectId), subjectName, PWatchlist.getCPtr(watchlist)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 11
0
    public PResult EnrollFromImages(string path, PGuid subjectId, string subjectName, PWatchlist watchlist)
    {
        PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromImages__SWIG_0(swigCPtr, path, PGuid.getCPtr(subjectId), subjectName, PWatchlist.getCPtr(watchlist)), true);

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