You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CameraViewController.h 640 B

6 years ago
1234567891011121314151617181920212223242526272829303132
  1. //
  2. // CameraViewController.h
  3. // lpr
  4. //
  5. // Created by baotim on 2018/10/26.
  6. // Copyright © 2018 lprSample. All rights reserved.
  7. //
  8. #ifdef __cplusplus
  9. #import <opencv2/opencv.hpp>
  10. #import <opencv2/imgcodecs/ios.h>
  11. #endif
  12. #ifdef __OBJC__
  13. #import <UIKit/UIKit.h>
  14. #import <Foundation/Foundation.h>
  15. #import <AVFoundation/AVFoundation.h>
  16. #import <AudioToolbox/AudioToolbox.h>
  17. #import <CoreMedia/CoreMedia.h>
  18. #endif
  19. NS_ASSUME_NONNULL_BEGIN
  20. typedef void(^ResultCallBack)(NSString *reuslt, UIImage *image);
  21. @interface CameraViewController : UIViewController
  22. @property(nonatomic, copy) ResultCallBack resultCB;
  23. @end
  24. NS_ASSUME_NONNULL_END