You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
640 B
Objective-C
33 lines
640 B
Objective-C
//
|
|
// CameraViewController.h
|
|
// lpr
|
|
//
|
|
// Created by baotim on 2018/10/26.
|
|
// Copyright © 2018 lprSample. All rights reserved.
|
|
//
|
|
|
|
#ifdef __cplusplus
|
|
#import <opencv2/opencv.hpp>
|
|
#import <opencv2/imgcodecs/ios.h>
|
|
#endif
|
|
|
|
#ifdef __OBJC__
|
|
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import <AudioToolbox/AudioToolbox.h>
|
|
#import <CoreMedia/CoreMedia.h>
|
|
#endif
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef void(^ResultCallBack)(NSString *reuslt, UIImage *image);
|
|
|
|
@interface CameraViewController : UIViewController
|
|
|
|
@property(nonatomic, copy) ResultCallBack resultCB;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|