TrackerCSRT.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //
  2. // This file is auto-generated. Please don't modify it!
  3. //
  4. #pragma once
  5. #ifdef __cplusplus
  6. //#import "opencv.hpp"
  7. #import "opencv2/tracking.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Tracker.h"
  13. @class Mat;
  14. @class TrackerCSRTParams;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class TrackerCSRT
  17. /**
  18. * the CSRT tracker
  19. *
  20. * The implementation is based on CITE: Lukezic_IJCV2018 Discriminative Correlation Filter with Channel and Spatial Reliability
  21. *
  22. * Member of `Tracking`
  23. */
  24. CV_EXPORTS @interface TrackerCSRT : Tracker
  25. #ifdef __cplusplus
  26. @property(readonly)cv::Ptr<cv::TrackerCSRT> nativePtrTrackerCSRT;
  27. #endif
  28. #ifdef __cplusplus
  29. - (instancetype)initWithNativePtr:(cv::Ptr<cv::TrackerCSRT>)nativePtr;
  30. + (instancetype)fromNative:(cv::Ptr<cv::TrackerCSRT>)nativePtr;
  31. #endif
  32. #pragma mark - Methods
  33. //
  34. // static Ptr_TrackerCSRT cv::TrackerCSRT::create(TrackerCSRT_Params parameters = TrackerCSRT::Params())
  35. //
  36. /**
  37. * Create CSRT tracker instance
  38. * @param parameters CSRT parameters TrackerCSRT::Params
  39. */
  40. + (TrackerCSRT*)create:(TrackerCSRTParams*)parameters NS_SWIFT_NAME(create(parameters:));
  41. /**
  42. * Create CSRT tracker instance
  43. */
  44. + (TrackerCSRT*)create NS_SWIFT_NAME(create());
  45. //
  46. // void cv::TrackerCSRT::setInitialMask(Mat mask)
  47. //
  48. - (void)setInitialMask:(Mat*)mask NS_SWIFT_NAME(setInitialMask(mask:));
  49. @end
  50. NS_ASSUME_NONNULL_END