java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

百度AI开放平台 Java SDK

Results 24 java-sdk issues
Sort by recently updated
recently updated
newest added

程序重启后,第一次调用接口,如果接口出错(网咯不通),则之后的所有调用,sdk不会去获取access_token,导致出现IAM Certification failed, 通过跟踪发现第一次出错的时候,程序会将isBceKey.set(true); ![image](https://user-images.githubusercontent.com/6056349/69007166-34ce9980-0975-11ea-82af-00f0ea925375.png), 后面的请求再来的时候重新获取token的逻辑会跳过,导致后面的调用都没有token ![image](https://user-images.githubusercontent.com/6056349/69007179-62b3de00-0975-11ea-8d5d-a8664adab2a6.png) 重现可以第一次调用的时候,可以先关闭网卡,人为的使第一次调用出错。

目前的sdk,ocr识别相关接口,默认使用access_token进行认证。 对于分布式部署的服务,sdk怎样保证在两台服务器上,token的有效性?

`15:02:54.691 [http-nio-9302-exec-1] ERROR c.c.c.s.h.GlobalExceptionHandler - [handleException,83] - Type definition error: [simple type, class org.json.JSONObject]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.json.JSONObject and no properties discovered to create...

接口地址:https://aip.baidubce.com/rest/2.0/face/v1/merge。 人脸识别sdk目前只支持检测,对比,搜索的部分接口。申请加入更多的api实现,否则给开发人员造成较大开发难度

4.13.5 版本,一年快过去了,也不上传中央仓库

最新版版本没有提供视频审核的api吗?

https://mvnrepository.com/artifact/com.baidu.aip/java-sdk https://ai.baidu.com/ai-doc/ANTIPORN/ik3h6xdze