百度敏感词图检测 百度智能云 敏感字检测https://cloud.baidu.com/doc/ANTIPORN/s/Rk3h6xb3i config1234$config = [ 'client_id' => '', 'client_secret' => '',]; 获取 Token12$token = \Baidu\Sensitive\Words::getInstance()->config($config)->getToken();echo $token['access_token'];die; 检测文本敏感字1$data = \Baidu\Sensitive\Words::getInstance()->config($config)->ckContent($token, "文本内容"); 检测图片1$data = \Baidu\Sensitive\Words::getInstance()->config($config)->ckImage($token, $image); Composer > PHP > 敏感词图检测 #Composer #PHP #百度敏感词图 百度敏感词图检测 https://code-lives.github.io/2023/05/04/sensitive-words/ 作者 Li Jie 发布于 2023年5月4日 许可协议 Dockerfile生成PHP7.4+Nginx 上一篇 k8s的yml编写 下一篇