1234567891011121314151617181920212223242526 |
- //
- // KMDocumentAIPDFView.h
- // PDF Master
- //
- // Created by 丁林圭 on 2023/2/2.
- //
- #import <ComPDFKit/ComPDFKit.h>
- #import "KMDocumentAIManager.h"
- @interface KMDocumentAIPDFView : CPDFView
- @property (nonatomic, assign) BOOL isRecognitionErea;
- @property (nonatomic,copy) void (^callback)(NSRect recognitionRect,CPDFPage *page);
- @property (nonatomic,retain) NSMutableArray <NSDictionary*>*resultDics;
- //- (void)updateResult:(NSArray<COCRResult *> *)results recognitionRect:(CGRect)recognitionRect;
- - (NSRect)recognitionRect;
- - (void)clearOCRResult;
- @end
|