/// <summary> /// Returns the count of all descriptors stored in the training set. /// </summary> /// <returns></returns> public int DescriptorsCount() { NativeMethods.HandleException( NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr, out var ret)); GC.KeepAlive(this); return(ret); }
/// <summary> /// Returns the count of all descriptors stored in the training set. /// </summary> /// <returns></returns> public int DescriptorsCount() { var res = NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr); GC.KeepAlive(this); return(res); }
/// <summary> /// Returns the count of all descriptors stored in the training set. /// </summary> /// <returns></returns> public int DescriptorsCount() { return(NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr)); }