LenzTensorFlow.h 559 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // LenzTensorFlow.h
  3. // LenzNormalCapture_Example
  4. //
  5. // Created by Zero on 2020/6/12.
  6. // Copyright © 2020 zero. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <CoreVideo/CoreVideo.h>
  10. @interface LenzTensorFlow : NSObject
  11. - (instancetype)initWithFileName:(NSString *)fileName;
  12. /// take photo is remake
  13. /// @param image CVPixelBufferRef
  14. - (BOOL)remake:(UIImage *)image;
  15. /// result
  16. /// @param image CVPixelBufferRef
  17. - (NSDictionary *)resultsDictWith:(UIImage *)image;
  18. + (NSDictionary *)checkIsRemakeWith:(NSDictionary *)param;
  19. @end