KMDocumentAIPDFView.h 567 B

1234567891011121314151617181920212223242526
  1. //
  2. // KMDocumentAIPDFView.h
  3. // PDF Master
  4. //
  5. // Created by 丁林圭 on 2023/2/2.
  6. //
  7. #import <ComPDFKit/ComPDFKit.h>
  8. #import "KMDocumentAIManager.h"
  9. @interface KMDocumentAIPDFView : CPDFView
  10. @property (nonatomic, assign) BOOL isRecognitionErea;
  11. @property (nonatomic,copy) void (^callback)(NSRect recognitionRect,CPDFPage *page);
  12. @property (nonatomic,retain) NSMutableArray <NSDictionary*>*resultDics;
  13. //- (void)updateResult:(NSArray<COCRResult *> *)results recognitionRect:(CGRect)recognitionRect;
  14. - (NSRect)recognitionRect;
  15. - (void)clearOCRResult;
  16. @end