31 lines
647 B
Objective-C
31 lines
647 B
Objective-C
//
|
|
// Wrapper.h
|
|
// TedQu
|
|
//
|
|
// Created by RSP on 26/07/24.
|
|
//
|
|
|
|
#ifdef __OBJC__
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreVideo/CoreVideo.h>
|
|
#import <UIKit/UIKit.h>
|
|
#import <SceneKit/SceneKit.h>
|
|
#import <CoreMedia/CoreMedia.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#endif
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface Wrapper : NSObject
|
|
|
|
+ (NSString *)openCVVersionString;
|
|
+ (UIImage *)processImage:(UIImage *)image;
|
|
+ (NSArray *)detectMarkers:(UIImage *)image;
|
|
+ (NSDictionary *)drawDetectedMarkersOnImage:(UIImage *)image startScan:(BOOL)startScan CARD_SCANNING_TYPE:(int)CARD_SCANNING_TYPE;
|
|
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|