public void Execute() { if (!CreateNativeTracker(nativeProvider)) { LogError($"Unable to create native tracker due to internal device error. Subsystem will be set to invalid. See native output for more details."); } RcoApi.Release(s_NativeProviderPtr); }
public unsafe void Execute() { var success = AddImage( database, nativeProvider, ref managedReferenceImage, grayscaleImage.GetUnsafePtr(), width, height, name.GetUnsafePtr()); if (!success) { managedReferenceImage.Dispose(); } RcoApi.Release(database); RcoApi.Release(nativeProvider); }