Skip to content

Commit

Permalink
Merge pull request #5 from MJLblabla/main
Browse files Browse the repository at this point in the history
升级sdk 身份证识别添加切图返回
  • Loading branch information
MJLblabla authored Aug 19, 2021
2 parents 18d74bf + 40cf3ae commit b98ea7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,8 @@ class QNIDCardDetect {
class ImageResultDTO {
// 框坐标,格式为 [[x0, y0], [x1, y1], [x2, y2], [x3, y3]]
java.util.List<java.util.List<Integer>> idCardBox // ??? 为什么用数组的数组
String idcard ; //身份证区域图片,使用Base64 编码后的字符串, 是否返回由请求参数ret_image 决定
String portrait ;// 身份证人像照片,使用Base64 编码后的字符串, 是否返回由请求参数ret_portrait 决定
}

class OCRResultDTO {
Expand Down Expand Up @@ -996,7 +998,7 @@ interface QNFaceFlashLiveCallback {

//光线活体结果
class QNFaceFlashLive {
int score //检测分数
double score //检测分数
int passNum //视频中通过的人脸帧数
int faceNum //视频中检测到的人脸帧数
int errorCode
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies {
implementation ('com.github.MJLblabla:hapiMediaPicker:1.0.5')
implementation files('libs/qndroid-rtc-4.0.1-beta.5.jar')

implementation (files('libs/qndroid-rtc-ai-1.0.6.jar'))
implementation (files('libs/qndroid-rtc-ai-1.0.7.jar'))
implementation 'com.qiniu:happy-dns:0.2.17'
implementation 'com.qiniu:qiniu-java-sdk:7.6.0'
implementation 'com.squareup.okhttp3:okhttp:4.2.2'
Expand Down
Binary file not shown.

0 comments on commit b98ea7d

Please sign in to comment.