Пример #1
0
 public PIdentifyResult(PGuid identityId, string name, int rank, double score) : this(PapillonPINVOKE.new_PIdentifyResult__SWIG_1(PGuid.getCPtr(identityId), name, rank, score), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public PDetection(PObjectType objectType, PGuid detectorId, PFrame frame, PFeatureMap featureMap, float reliability) : this(PapillonPINVOKE.new_PDetection__SWIG_1(PObjectType.getCPtr(objectType), PGuid.getCPtr(detectorId), PFrame.getCPtr(frame), PFeatureMap.getCPtr(featureMap), reliability), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public PDetection(PGuid objectId, PGuid detectorId, PFrame frame, PObjectType objectType, PTrack track, PFeatureMap featureMap, float confidence) : this(PapillonPINVOKE.new_PDetection__SWIG_2(PGuid.getCPtr(objectId), PGuid.getCPtr(detectorId), PFrame.getCPtr(frame), PObjectType.getCPtr(objectType), PTrack.getCPtr(track), PFeatureMap.getCPtr(featureMap), confidence), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public PSWatchlistSingleUpdate(PSWatchlistSingleUpdate.EChangeType action, PGuid objectId, PDescription description) : this(PapillonPINVOKE.new_PSWatchlistSingleUpdate__SWIG_1((int)action, PGuid.getCPtr(objectId), PDescription.getCPtr(description)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public PDescription(string name, PObjectType objectType, PGuid identityId) : this(PapillonPINVOKE.new_PDescription__SWIG_2(name, PObjectType.getCPtr(objectType), PGuid.getCPtr(identityId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public PMatchScore(PGuid objectId1, PGuid objectId2, double score) : this(PapillonPINVOKE.new_PMatchScore__SWIG_2(PGuid.getCPtr(objectId1), PGuid.getCPtr(objectId2), score), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 public PDescriptor(PObjectType objectType, PGuid describerId) : this(PapillonPINVOKE.new_PDescriptor__SWIG_2(PObjectType.getCPtr(objectType), PGuid.getCPtr(describerId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
 public PTrack(PGuid id, float confidence) : this(PapillonPINVOKE.new_PTrack__SWIG_1(PGuid.getCPtr(id), confidence), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #9
0
 public PEventBuilder(string type, string annotation, PGuid sourceId) : this(PapillonPINVOKE.new_PEventBuilder__SWIG_0(type, annotation, PGuid.getCPtr(sourceId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #10
0
 public PFrame(PImage image, PGuid frameId) : this(PapillonPINVOKE.new_PFrame__SWIG_2(PImage.getCPtr(image), PGuid.getCPtr(frameId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #11
0
 public PGuid(PGuid other) : this(PapillonPINVOKE.new_PGuid__SWIG_1(PGuid.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #12
0
 public void SetEntityId(PGuid id)
 {
     PapillonPINVOKE.PEntity_SetEntityId(swigCPtr, PGuid.getCPtr(id));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #13
0
 public void SetFrameId(PGuid guid)
 {
     PapillonPINVOKE.PFrame_SetFrameId(swigCPtr, PGuid.getCPtr(guid));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #14
0
 public void SetIdentityId(PGuid objectId)
 {
     PapillonPINVOKE.PDescription_SetIdentityId(swigCPtr, PGuid.getCPtr(objectId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #15
0
 public void SetSource(PGuid sourceId)
 {
     PapillonPINVOKE.PEvent_SetSource(swigCPtr, PGuid.getCPtr(sourceId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #16
0
 public void SetDescriptorId(PGuid descriptorId)
 {
     PapillonPINVOKE.PDescriptor_SetDescriptorId(swigCPtr, PGuid.getCPtr(descriptorId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #17
0
 public void SetTrackId(PGuid val)
 {
     PapillonPINVOKE.PTrack_SetTrackId(swigCPtr, PGuid.getCPtr(val));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #18
0
 public void SetNewImage(PImage image, PGuid frameId)
 {
     PapillonPINVOKE.PFrame_SetNewImage__SWIG_1(swigCPtr, PImage.getCPtr(image), PGuid.getCPtr(frameId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #19
0
    public PResult RemoveDescriptor(PGuid descriptorId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescription_RemoveDescriptor(swigCPtr, PGuid.getCPtr(descriptorId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #20
0
    public PResult SetDeleteFlag(PGuid entityId, bool enabled)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_SetDeleteFlag(swigCPtr, PGuid.getCPtr(entityId), enabled), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #21
0
    public bool IsCompatibleWith(PGuid describeId)
    {
        bool ret = PapillonPINVOKE.PWatchlist_IsCompatibleWith(swigCPtr, PGuid.getCPtr(describeId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #22
0
    public PResult GetDescription(PGuid objectId, PDescription description)
    {
        PResult ret = new PResult(PapillonPINVOKE.PWatchlist_GetDescription(swigCPtr, PGuid.getCPtr(objectId), PDescription.getCPtr(description)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #23
0
    public PResult Remove(PGuid objectId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PWatchlist_Remove(swigCPtr, PGuid.getCPtr(objectId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #24
0
    public bool Has(PGuid objectId)
    {
        bool ret = PapillonPINVOKE.PWatchlist_Has(swigCPtr, PGuid.getCPtr(objectId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #25
0
    public int RecomputeDescriptors(PGuid describeId, PDetector detector, PDescriber describer)
    {
        int ret = PapillonPINVOKE.PWatchlist_RecomputeDescriptors(swigCPtr, PGuid.getCPtr(describeId), PDetector.getCPtr(detector), PDescriber.getCPtr(describer));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #26
0
    public int GetNumberOfDescriptors(PGuid describerId)
    {
        int ret = PapillonPINVOKE.PWatchlist_GetNumberOfDescriptors__SWIG_1(swigCPtr, PGuid.getCPtr(describerId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #27
0
    public bool Exists(PGuid entityId)
    {
        bool ret = PapillonPINVOKE.PStore_Exists(swigCPtr, PGuid.getCPtr(entityId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #28
0
    public PResult Describe(PDetection example, string name, PGuid identityId, PDescription description)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Describe__SWIG_1(swigCPtr, PDetection.getCPtr(example), name, PGuid.getCPtr(identityId), PDescription.getCPtr(description)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #29
0
    public PList GetDescriptors(PGuid describeId)
    {
        PList ret = new PList(PapillonPINVOKE.PDescription_GetDescriptors__SWIG_0(swigCPtr, PGuid.getCPtr(describeId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #30
0
    public static PGuid CreateFromMD5(string str)
    {
        PGuid ret = new PGuid(PapillonPINVOKE.PGuid_CreateFromMD5(str), true);

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