Qiniuyun calls OCR ID identification API, Authorization: Qiniu < AccessKey >: < Sign > Generation method
Auth auth = Auth.create(acKey, scKey);
String signature = auth.signRequestV2("http://ai.qiniuapi.com/v1/ocr/idcard?uri=http://img3.redocn.com/20120528/Redocn_2012052817213559.jpg",
"POST", null, "application/json");
String QiniuToken = "Qiniu " + signature;
Map<String, String> headers = new HashMap<>();
headers.put("Authorization", QiniuToken);
String result = HttpKit.post("http://ai.qiniuapi.com/v1/ocr/idcard?uri=http://img3.redocn.com/20120528/Redocn_2012052817213559.jpg", null, "UTF-8", headers);
System.out.println(result);`