# Class: OCR

## OCR

#### new OCR()

TIMS server OCR API wrapper

Source:
  - ocr.http.js, line 57

### Methods

#### (static) getImage() → {Promise}

文件下载接口

Source:
  - ocr.http.js, line 188

##### Returns:

Type
  Promise

#### (static) getOCRMsg(imageUUID) → {Promise}

ocr信息及文件查询接口

##### Parameters:

Name | Type | Description
--- | --- | ---
`imageUUID` | String | 影像系统图片唯一标识

Source:
  - ocr.http.js, line 140

##### Returns:

增值税专用发票识别后返回的JSON结果

Type
  Promise

#### (static) uploadFile() → {Promise}

ocr信息及文件查询接口

Source:
  - ocr.http.js, line 72

##### Returns:

Type
  Promise