TrackerKCF.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 TrackerKCFParams;
  14. // C++: enum MODE (cv.TrackerKCF.MODE)
  15. typedef NS_ENUM(int, MODE) {
  16. TrackerKCF_GRAY NS_SWIFT_NAME(GRAY) = (1 << 0),
  17. TrackerKCF_CN NS_SWIFT_NAME(CN) = (1 << 1),
  18. TrackerKCF_CUSTOM NS_SWIFT_NAME(CUSTOM) = (1 << 2)
  19. };
  20. NS_ASSUME_NONNULL_BEGIN
  21. // C++: class TrackerKCF
  22. /**
  23. * the KCF (Kernelized Correlation Filter) tracker
  24. *
  25. * KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed.
  26. * This tracking method is an implementation of CITE: KCF_ECCV which is extended to KCF with color-names features (CITE: KCF_CN).
  27. * The original paper of KCF is available at <http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf>
  28. * as well as the matlab implementation. For more information about KCF with color-names features, please refer to
  29. * <http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html>.
  30. *
  31. * Member of `Tracking`
  32. */
  33. CV_EXPORTS @interface TrackerKCF : Tracker
  34. #ifdef __cplusplus
  35. @property(readonly)cv::Ptr<cv::TrackerKCF> nativePtrTrackerKCF;
  36. #endif
  37. #ifdef __cplusplus
  38. - (instancetype)initWithNativePtr:(cv::Ptr<cv::TrackerKCF>)nativePtr;
  39. + (instancetype)fromNative:(cv::Ptr<cv::TrackerKCF>)nativePtr;
  40. #endif
  41. #pragma mark - Methods
  42. //
  43. // static Ptr_TrackerKCF cv::TrackerKCF::create(TrackerKCF_Params parameters = TrackerKCF::Params())
  44. //
  45. /**
  46. * Create KCF tracker instance
  47. * @param parameters KCF parameters TrackerKCF::Params
  48. */
  49. + (TrackerKCF*)create:(TrackerKCFParams*)parameters NS_SWIFT_NAME(create(parameters:));
  50. /**
  51. * Create KCF tracker instance
  52. */
  53. + (TrackerKCF*)create NS_SWIFT_NAME(create());
  54. @end
  55. NS_ASSUME_NONNULL_END