AverageHash.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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/img_hash.hpp"
  8. #import "opencv2/img_hash/average_hash.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "ImgHashBase.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class AverageHash
  16. /**
  17. * Computes average hash value of the input image
  18. *
  19. * This is a fast image hashing algorithm, but only work on simple case. For more details, please
  20. * refer to CITE: lookslikeit
  21. *
  22. * Member of `Img_hash`
  23. */
  24. CV_EXPORTS @interface AverageHash : ImgHashBase
  25. #ifdef __cplusplus
  26. @property(readonly)cv::Ptr<cv::img_hash::AverageHash> nativePtrAverageHash;
  27. #endif
  28. #ifdef __cplusplus
  29. - (instancetype)initWithNativePtr:(cv::Ptr<cv::img_hash::AverageHash>)nativePtr;
  30. + (instancetype)fromNative:(cv::Ptr<cv::img_hash::AverageHash>)nativePtr;
  31. #endif
  32. #pragma mark - Methods
  33. //
  34. // static Ptr_AverageHash cv::img_hash::AverageHash::create()
  35. //
  36. + (AverageHash*)create NS_SWIFT_NAME(create());
  37. @end
  38. NS_ASSUME_NONNULL_END