BoxLayer.h 383 Bytes
Newer Older
lvxiangxiang's avatar
lvxiangxiang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Created by chenxiaoyu on 2018/5/5.
// Copyright (c) 2018 baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "OcrData.h"


@interface BoxLayer : CAShapeLayer

/**
 * 绘制OCR的结果
 */
-(void) renderOcrPolygon: (OcrData *)data withHeight:(CGFloat)originHeight withWidth:(CGFloat)originWidth withLabel:(bool) withLabel;



@end