public class WxMnpOcrApi extends WxBaseHttpApi
| 构造器和说明 |
|---|
WxMnpOcrApi() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
bankcard(String accessToken,
File img)
ocr.bankcard
本接口提供基于小程序的银行卡 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
String |
bankcard(String accessToken,
InputStream inputStream)
ocr.bankcard
本接口提供基于小程序的银行卡 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
String |
bankcard(String accessToken,
String imgUrl)
ocr.bankcard
本接口提供基于小程序的银行卡 OCR 识别
参考文档
|
BusinessLincense |
businessLicense(String accessToke,
File file)
ocr.businessLicense
本接口提供基于小程序的营业执照 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
BusinessLincense |
businessLicense(String accessToke,
InputStream inputStream)
ocr.businessLicense
本接口提供基于小程序的营业执照 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
BusinessLincense |
businessLicense(String accessToke,
String imgUrl)
ocr.businessLicense
本接口提供基于小程序的营业执照 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
DriverLicense |
driverLicense(String accessToken,
File file)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
DriverLicense |
driverLicense(String accessToken,
InputStream inputStream)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
DriverLicense |
driverLicense(String accessToken,
String imgUrl)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
static WxMnpOcrApi |
getInstance() |
IdCard |
idCard(String accessToken,
File file)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
IdCard |
idCard(String accessToken,
InputStream inputStream)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
IdCard |
idCard(String accessToken,
String imgUrl)
ocr.idcard
本接口提供基于小程序的身份证 OCR 识别
接口限制 微信OCR能力已全面接入服务平台计费系统。
|
PrintedTextOcrResult |
printedText(String accessToken,
File file)
ocr.printedText
本接口提供基于小程序的通用印刷体 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
PrintedTextOcrResult |
printedText(String accessToken,
InputStream inputStream)
ocr.printedText
本接口提供基于小程序的通用印刷体 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
PrintedTextOcrResult |
printedText(String accessToken,
String imgUrl)
ocr.printedText
本接口提供基于小程序的通用印刷体 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
VehicleLicense |
vehicleLicense(String accessToken,
File file)
ocr.vehicleLicense
本接口提供基于小程序的行驶证 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
VehicleLicense |
vehicleLicense(String accessToken,
InputStream inputStream)
ocr.vehicleLicense
本接口提供基于小程序的行驶证 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
VehicleLicense |
vehicleLicense(String accessToken,
String imgUrl)
ocr.vehicleLicense
本接口提供基于小程序的行驶证 OCR 识别
接口限制 内测期间已认证的订阅号、服务号、企业号、小程序可直接调用,次数限制为100次/天。
|
get, getInputStream, post, post, postInputStream, upload, uploadpublic static WxMnpOcrApi getInstance()
public String bankcard(String accessToken, File img)
accessToken - img - public String bankcard(String accessToken, InputStream inputStream) throws IOException
accessToken - inputStream - IOExceptionpublic String bankcard(String accessToken, String imgUrl)
accessToken - imgUrl - public BusinessLincense businessLicense(String accessToke, File file)
accessToke - file - public BusinessLincense businessLicense(String accessToke, InputStream inputStream) throws IOException
accessToke - inputStream - IOExceptionpublic BusinessLincense businessLicense(String accessToke, String imgUrl) throws IOException
accessToke - imgUrl - IOExceptionpublic DriverLicense driverLicense(String accessToken, String imgUrl)
accessToken - imgUrl - public DriverLicense driverLicense(String accessToken, File file)
accessToken - file - public DriverLicense driverLicense(String accessToken, InputStream inputStream) throws IOException
accessToken - inputStream - IOExceptionpublic PrintedTextOcrResult printedText(String accessToken, String imgUrl)
accessToken - imgUrl - public PrintedTextOcrResult printedText(String accessToken, File file)
accessToken - file - public PrintedTextOcrResult printedText(String accessToken, InputStream inputStream) throws IOException
accessToken - inputStream - IOExceptionpublic IdCard idCard(String accessToken, String imgUrl)
accessToken - imgUrl - public IdCard idCard(String accessToken, File file)
accessToken - file - public IdCard idCard(String accessToken, InputStream inputStream) throws IOException
accessToken - inputStream - IOExceptionpublic VehicleLicense vehicleLicense(String accessToken, String imgUrl)
accessToken - imgUrl - public VehicleLicense vehicleLicense(String accessToken, File file)
accessToken - file - public VehicleLicense vehicleLicense(String accessToken, InputStream inputStream) throws IOException
accessToken - inputStream - IOExceptionCopyright © 2022. All rights reserved.