public class OCRResult extends AbstractModel
header, skipSign| Constructor and Description |
|---|
OCRResult() |
OCRResult(OCRResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCardBackCutImageBase64()
Get Base64 of the cropped image on the reverse side of the ID card
|
String |
getCardCutImageBase64()
Get Base64 of cropped image of ID card
|
String |
getCardImageBase64()
Get The Base64 of ID card image
Note: This field may return null, indicating that no valid values can be obtained.
|
CardInfo |
getCardInfo()
Deprecated.
|
Boolean |
getIsPass()
Get Is the indentity verification or OCR process passed
|
NormalCardInfo |
getNormalCardInfo()
Get OCR result of the ID card.
|
String |
getRequestId()
Get The request id
|
Long[] |
getWarnCardInfos()
Get Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.
|
void |
setCardBackCutImageBase64(String CardBackCutImageBase64)
Set Base64 of the cropped image on the reverse side of the ID card
|
void |
setCardCutImageBase64(String CardCutImageBase64)
Set Base64 of cropped image of ID card
|
void |
setCardImageBase64(String CardImageBase64)
Set The Base64 of ID card image
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCardInfo(CardInfo CardInfo)
Deprecated.
|
void |
setIsPass(Boolean IsPass)
Set Is the indentity verification or OCR process passed
|
void |
setNormalCardInfo(NormalCardInfo NormalCardInfo)
Set OCR result of the ID card.
|
void |
setRequestId(String RequestId)
Set The request id
|
void |
setWarnCardInfos(Long[] WarnCardInfos)
Set Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OCRResult()
public OCRResult(OCRResult source)
public Boolean getIsPass()
public void setIsPass(Boolean IsPass)
IsPass - Is the indentity verification or OCR process passedpublic String getCardImageBase64()
public void setCardImageBase64(String CardImageBase64)
CardImageBase64 - The Base64 of ID card image
Note: This field may return null, indicating that no valid values can be obtained.@Deprecated public CardInfo getCardInfo()
@Deprecated public void setCardInfo(CardInfo CardInfo)
CardInfo - OCR result of the ID card.public NormalCardInfo getNormalCardInfo()
public void setNormalCardInfo(NormalCardInfo NormalCardInfo)
NormalCardInfo - OCR result of the ID card.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The request idpublic String getCardCutImageBase64()
public void setCardCutImageBase64(String CardCutImageBase64)
CardCutImageBase64 - Base64 of cropped image of ID cardpublic String getCardBackCutImageBase64()
public void setCardBackCutImageBase64(String CardBackCutImageBase64)
CardBackCutImageBase64 - Base64 of the cropped image on the reverse side of the ID cardpublic Long[] getWarnCardInfos()
public void setWarnCardInfos(Long[] WarnCardInfos)
WarnCardInfos - Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.Copyright © 2025. All rights reserved.