public class MrsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
MrsClient(Credential credential,
String region) |
MrsClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ImageMaskResponse |
ImageMask(ImageMaskRequest req)
医疗报告图片脱敏接口
|
ImageToClassResponse |
ImageToClass(ImageToClassRequest req)
图片分类
|
ImageToObjectResponse |
ImageToObject(ImageToObjectRequest req)
图片转结构化对象
|
TextToClassResponse |
TextToClass(TextToClassRequest req)
文本分类
|
TextToObjectResponse |
TextToObject(TextToObjectRequest req)
文本转结构化对象。
适用场景:经过腾讯医疗专用 OCR 从图片识别之后的文本,可以调用此接口。通过其它 OCR 识别的文本可能不适配。医院的 XML 格式文本也不适配,XML 文件需要经过特殊转换才能直接调用此接口。单次调用传入的文本不宜超过 2000 字。
|
TurnPDFToObjectResponse |
TurnPDFToObject(TurnPDFToObjectRequest req)
将PDF格式的体检报告文件结构化,解析关键信息。
注意:该接口是按照体检报告 PDF 页面数量统计次数,不是按照 PDF 文件数量统计次数。通过该接口传入的报告必须是体检报告,非体检报告可能无法正确解析。
|
TurnPDFToObjectAsyncResponse |
TurnPDFToObjectAsync(TurnPDFToObjectAsyncRequest req)
体检报告PDF文件结构化-异步接口
|
TurnPDFToObjectAsyncGetResultResponse |
TurnPDFToObjectAsyncGetResult(TurnPDFToObjectAsyncGetResultRequest req)
体检报告PDF文件结构化异步获取结果接口
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
public MrsClient(Credential credential, String region)
public MrsClient(Credential credential, String region, ClientProfile profile)
public ImageMaskResponse ImageMask(ImageMaskRequest req) throws TencentCloudSDKException
req
- ImageMaskRequestTencentCloudSDKException
public ImageToClassResponse ImageToClass(ImageToClassRequest req) throws TencentCloudSDKException
req
- ImageToClassRequestTencentCloudSDKException
public ImageToObjectResponse ImageToObject(ImageToObjectRequest req) throws TencentCloudSDKException
req
- ImageToObjectRequestTencentCloudSDKException
public TextToClassResponse TextToClass(TextToClassRequest req) throws TencentCloudSDKException
req
- TextToClassRequestTencentCloudSDKException
public TextToObjectResponse TextToObject(TextToObjectRequest req) throws TencentCloudSDKException
req
- TextToObjectRequestTencentCloudSDKException
public TurnPDFToObjectResponse TurnPDFToObject(TurnPDFToObjectRequest req) throws TencentCloudSDKException
req
- TurnPDFToObjectRequestTencentCloudSDKException
public TurnPDFToObjectAsyncResponse TurnPDFToObjectAsync(TurnPDFToObjectAsyncRequest req) throws TencentCloudSDKException
req
- TurnPDFToObjectAsyncRequestTencentCloudSDKException
public TurnPDFToObjectAsyncGetResultResponse TurnPDFToObjectAsyncGetResult(TurnPDFToObjectAsyncGetResultRequest req) throws TencentCloudSDKException
req
- TurnPDFToObjectAsyncGetResultRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.