银行卡OCR识别-creditcardOcr
返回内容介绍
public static String sample(TAipOcr client) throws Exception {
//参数为本地图片路径
String imagePath = "./User/xiaoshaui/mp.jpg";
String result = client.creditcardOcr("./idcard.jpg");
//参数为本地图片二进制数组
byte[] image = FileUtil.readFileByBytes(imagePath);
String result = client.creditcardOcr(image);
return result;
}