/// <summary>
 /// Release all the unmanaged memory associated with this detector
 /// </summary>
 protected override void DisposeObject()
 {
     if (IntPtr.Zero != _sharedPtr)
     {
         CudaInvoke.cudaCornersDetectorRelease(ref _sharedPtr);
         _ptr = IntPtr.Zero;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Release all the unmanaged memory associated with this detector
 /// </summary>
 protected override void DisposeObject()
 {
     CudaInvoke.cudaCornersDetectorRelease(ref _ptr);
 }