QRCodeEncoderParams.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/objdetect.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "QRCodeEncoder.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class Params
  15. /**
  16. * QR code encoder parameters.
  17. * version The optional version of QR code (by default - maximum possible depending on
  18. * the length of the string).
  19. * correction_level The optional level of error correction (by default - the lowest).
  20. * mode The optional encoding mode - Numeric, Alphanumeric, Byte, Kanji, ECI or Structured Append.
  21. * structure_number The optional number of QR codes to generate in Structured Append mode.
  22. *
  23. * Member of `Objdetect`
  24. */
  25. CV_EXPORTS @interface QRCodeEncoderParams : NSObject
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::QRCodeEncoder::Params> nativePtr;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::QRCodeEncoder::Params>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::QRCodeEncoder::Params>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // cv::QRCodeEncoder::Params::Params()
  36. //
  37. - (instancetype)init;
  38. //
  39. // C++: int cv::QRCodeEncoder::Params::version
  40. //
  41. @property int version;
  42. //
  43. // C++: CorrectionLevel cv::QRCodeEncoder::Params::correction_level
  44. //
  45. @property CorrectionLevel correction_level;
  46. //
  47. // C++: EncodeMode cv::QRCodeEncoder::Params::mode
  48. //
  49. @property EncodeMode mode;
  50. //
  51. // C++: int cv::QRCodeEncoder::Params::structure_number
  52. //
  53. @property int structure_number;
  54. @end
  55. NS_ASSUME_NONNULL_END