コード例 #1
0
ファイル: PVerify.cs プロジェクト: videoai/papillon-swig
    public PResult VerifyFromVideoFile(PDescription description, string videoFilename, PMatchScore matchScore, PDescription outputDescription)
    {
        PResult ret = new PResult(PapillonPINVOKE.PVerify_VerifyFromVideoFile__SWIG_2(swigCPtr, PDescription.getCPtr(description), videoFilename, PMatchScore.getCPtr(matchScore), PDescription.getCPtr(outputDescription)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #2
0
ファイル: PVerify.cs プロジェクト: videoai/papillon-swig
    public PResult VerifyFromImageFile(string imageFilename1, string imageFilename2, PMatchScore matchScore, PDescription outputDescription1, PDescription outputDescription2)
    {
        PResult ret = new PResult(PapillonPINVOKE.PVerify_VerifyFromImageFile(swigCPtr, imageFilename1, imageFilename2, PMatchScore.getCPtr(matchScore), PDescription.getCPtr(outputDescription1), PDescription.getCPtr(outputDescription2)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
ファイル: PVerify.cs プロジェクト: videoai/papillon-swig
    public PResult VerifyFromDescription(PDescription description1, PDescription description2, PMatchScore matchScore)
    {
        PResult ret = new PResult(PapillonPINVOKE.PVerify_VerifyFromDescription(swigCPtr, PDescription.getCPtr(description1), PDescription.getCPtr(description2), PMatchScore.getCPtr(matchScore)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
ファイル: PVerify.cs プロジェクト: videoai/papillon-swig
    public PResult VerifyFromDescriptionFile(string descriptionFile1, string descriptionFile2, PMatchScore matchScore)
    {
        PResult ret = new PResult(PapillonPINVOKE.PVerify_VerifyFromDescriptionFile(swigCPtr, descriptionFile1, descriptionFile2, PMatchScore.getCPtr(matchScore)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
 public PMatchScore(PMatchScore other) : this(PapillonPINVOKE.new_PMatchScore__SWIG_3(PMatchScore.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }