StandardCollector.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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/face.hpp"
  8. #import "opencv2/face/predict_collector.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "PredictCollector.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class StandardCollector
  16. /**
  17. * Default predict collector
  18. *
  19. * Trace minimal distance with treshhold checking (that is default behavior for most predict logic)
  20. *
  21. * Member of `Face`
  22. */
  23. CV_EXPORTS @interface StandardCollector : PredictCollector
  24. #ifdef __cplusplus
  25. @property(readonly)cv::Ptr<cv::face::StandardCollector> nativePtrStandardCollector;
  26. #endif
  27. #ifdef __cplusplus
  28. - (instancetype)initWithNativePtr:(cv::Ptr<cv::face::StandardCollector>)nativePtr;
  29. + (instancetype)fromNative:(cv::Ptr<cv::face::StandardCollector>)nativePtr;
  30. #endif
  31. #pragma mark - Methods
  32. //
  33. // int cv::face::StandardCollector::getMinLabel()
  34. //
  35. /**
  36. * Returns label with minimal distance
  37. */
  38. - (int)getMinLabel NS_SWIFT_NAME(getMinLabel());
  39. //
  40. // double cv::face::StandardCollector::getMinDist()
  41. //
  42. /**
  43. * Returns minimal distance value
  44. */
  45. - (double)getMinDist NS_SWIFT_NAME(getMinDist());
  46. //
  47. // vector_pair_int_and_double cv::face::StandardCollector::getResults(bool sorted = false)
  48. //
  49. // Return type 'vector_pair_int_and_double' is not supported, skipping the function
  50. //
  51. // static Ptr_StandardCollector cv::face::StandardCollector::create(double threshold = DBL_MAX)
  52. //
  53. /**
  54. * Static constructor
  55. * @param threshold set threshold
  56. */
  57. + (StandardCollector*)create:(double)threshold NS_SWIFT_NAME(create(threshold:));
  58. /**
  59. * Static constructor
  60. */
  61. + (StandardCollector*)create NS_SWIFT_NAME(create());
  62. @end
  63. NS_ASSUME_NONNULL_END