PHash.h 1017 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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/phash.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 PHash
  16. /**
  17. * pHash
  18. *
  19. * Slower than average_hash, but tolerant of minor modifications
  20. *
  21. * This algorithm can combat more variation than averageHash, for more details please refer to CITE: lookslikeit
  22. *
  23. * Member of `Img_hash`
  24. */
  25. CV_EXPORTS @interface PHash : ImgHashBase
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::img_hash::PHash> nativePtrPHash;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::img_hash::PHash>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::img_hash::PHash>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // static Ptr_PHash cv::img_hash::PHash::create()
  36. //
  37. + (PHash*)create NS_SWIFT_NAME(create());
  38. @end
  39. NS_ASSUME_NONNULL_END