MGDetectRectInfo.h 567 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // MGDetectRect.h
  3. // MGFacepp
  4. //
  5. // Created by Megvii on 2017/10/18.
  6. // Copyright © 2017年 megvii. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. typedef NS_ENUM(NSInteger, MGOrientation) {
  11. MGOrientationLeft,
  12. MGOrientationUp,
  13. MGOrientationRight,
  14. MGOrientationDown,
  15. };
  16. @interface MGDetectRectInfo : NSObject
  17. @property (nonatomic, assign) float confidence;
  18. @property (nonatomic, assign) float angle;
  19. @property (nonatomic, assign) MGOrientation orient;
  20. @property (nonatomic, assign) CGRect rect;
  21. @end