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()
Get OCR result of the ID card.
|
Boolean |
getIsPass()
Get Is the indentity verification or OCR process passed
|
String |
getRequestId()
Get The request id
|
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)
Set OCR result of the ID card.
|
void |
setIsPass(Boolean IsPass)
Set Is the indentity verification or OCR process passed
|
void |
setRequestId(String RequestId)
Set The request id
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public 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.public CardInfo getCardInfo()
public void setCardInfo(CardInfo CardInfo)
CardInfo
- 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 cardCopyright © 2024. All rights reserved.