EstimateParameters.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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/aruco.hpp"
  8. #import "aruco/charuco.hpp"
  9. #import "opencv2/aruco/aruco_calib.hpp"
  10. #else
  11. #define CV_EXPORTS
  12. #endif
  13. #import <Foundation/Foundation.h>
  14. #import "Aruco.h"
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class EstimateParameters
  17. /**
  18. * Pose estimation parameters
  19. *
  20. * pattern Defines center this system and axes direction (default PatternPositionType::ARUCO_CCW_CENTER).
  21. * useExtrinsicGuess Parameter used for SOLVEPNP_ITERATIVE. If true (1), the function uses the provided
  22. * rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further
  23. * optimizes them (default false).
  24. * solvePnPMethod Method for solving a PnP problem: see REF: calib3d_solvePnP_flags (default SOLVEPNP_ITERATIVE).
  25. * @see PatternPositionType, solvePnP(), check tutorial_aruco_detection in aruco contrib
  26. *
  27. * Member of `Aruco`
  28. */
  29. CV_EXPORTS @interface EstimateParameters : NSObject
  30. #ifdef __cplusplus
  31. @property(readonly)cv::Ptr<cv::aruco::EstimateParameters> nativePtr;
  32. #endif
  33. #ifdef __cplusplus
  34. - (instancetype)initWithNativePtr:(cv::Ptr<cv::aruco::EstimateParameters>)nativePtr;
  35. + (instancetype)fromNative:(cv::Ptr<cv::aruco::EstimateParameters>)nativePtr;
  36. #endif
  37. #pragma mark - Methods
  38. //
  39. // cv::aruco::EstimateParameters::EstimateParameters()
  40. //
  41. - (instancetype)init;
  42. //
  43. // C++: PatternPositionType cv::aruco::EstimateParameters::pattern
  44. //
  45. @property PatternPositionType pattern;
  46. //
  47. // C++: bool cv::aruco::EstimateParameters::useExtrinsicGuess
  48. //
  49. @property BOOL useExtrinsicGuess;
  50. //
  51. // C++: int cv::aruco::EstimateParameters::solvePnPMethod
  52. //
  53. @property int solvePnPMethod;
  54. @end
  55. NS_ASSUME_NONNULL_END