BasicFaceRecognizer.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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/facerec.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "FaceRecognizer.h"
  14. @class Mat;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class BasicFaceRecognizer
  17. /**
  18. * The BasicFaceRecognizer module
  19. *
  20. * Member of `Face`
  21. */
  22. CV_EXPORTS @interface BasicFaceRecognizer : FaceRecognizer
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::face::BasicFaceRecognizer> nativePtrBasicFaceRecognizer;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::face::BasicFaceRecognizer>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::face::BasicFaceRecognizer>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // int cv::face::BasicFaceRecognizer::getNumComponents()
  33. //
  34. /**
  35. * @see `-setNumComponents:`
  36. */
  37. - (int)getNumComponents NS_SWIFT_NAME(getNumComponents());
  38. //
  39. // void cv::face::BasicFaceRecognizer::setNumComponents(int val)
  40. //
  41. /**
  42. * getNumComponents @see `-getNumComponents:`
  43. */
  44. - (void)setNumComponents:(int)val NS_SWIFT_NAME(setNumComponents(val:));
  45. //
  46. // double cv::face::BasicFaceRecognizer::getThreshold()
  47. //
  48. /**
  49. * @see `-setThreshold:`
  50. */
  51. - (double)getThreshold NS_SWIFT_NAME(getThreshold());
  52. //
  53. // void cv::face::BasicFaceRecognizer::setThreshold(double val)
  54. //
  55. /**
  56. * getThreshold @see `-getThreshold:`
  57. */
  58. - (void)setThreshold:(double)val NS_SWIFT_NAME(setThreshold(val:));
  59. //
  60. // vector_Mat cv::face::BasicFaceRecognizer::getProjections()
  61. //
  62. - (NSArray<Mat*>*)getProjections NS_SWIFT_NAME(getProjections());
  63. //
  64. // Mat cv::face::BasicFaceRecognizer::getLabels()
  65. //
  66. - (Mat*)getLabels NS_SWIFT_NAME(getLabels());
  67. //
  68. // Mat cv::face::BasicFaceRecognizer::getEigenValues()
  69. //
  70. - (Mat*)getEigenValues NS_SWIFT_NAME(getEigenValues());
  71. //
  72. // Mat cv::face::BasicFaceRecognizer::getEigenVectors()
  73. //
  74. - (Mat*)getEigenVectors NS_SWIFT_NAME(getEigenVectors());
  75. //
  76. // Mat cv::face::BasicFaceRecognizer::getMean()
  77. //
  78. - (Mat*)getMean NS_SWIFT_NAME(getMean());
  79. @end
  80. NS_ASSUME_NONNULL_END