提交修改
This commit is contained in:
parent
fb2889a864
commit
62db9af714
@ -72,7 +72,7 @@ public class RecognizeDrivingLicenseController extends BaseController {
|
||||
return "detectDirection 必须传 " + ApiConstants.trueOrFalse + ",false:不进行图像方向自动矫正, true: 开启图像方向自动矫正功能,可对旋转 90/180/270 度的图片进行自动矫正并识别";
|
||||
}
|
||||
if (checkNotFrontBack(request.getVehicleLicenseSide())) {
|
||||
return "vehicleLicenseSide 必须传 " + ApiConstants.frontOrback + ",front:正向, back反面";
|
||||
return "front 必须传 " + ApiConstants.frontOrback + ",front:正向, back反面";
|
||||
}
|
||||
if (checkNotTrueFalse(request.getUnified())) {
|
||||
return "unified必须为 " + ApiConstants.trueOrFalse + ", false 不进行归一化处理, rue:对输出字段进行归一化处理,将新/老版行驶证的“注册登记日期/注册日期”统一为”注册日期“进行输出";
|
||||
|
||||
@ -36,7 +36,7 @@ public class VehicleLicenseRequest {
|
||||
* - front:默认值,识别行驶证主页
|
||||
* - back:识别行驶证副页
|
||||
*/
|
||||
private String side;
|
||||
private String side = "front";
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user