(1)首先需要通过API Key和Secret Key获取access_token
官方介绍如何获取请参考:https://ai.baidu.com/ai-doc/REFERENCE/Ck3dwjhhu
![](https://img.haomeiwen.com/i15527725/39625ebc1b63d051.png)
输出你的access_token
![](https://img.haomeiwen.com/i15527725/75904c0733f96248.png)
(2 )调用人脸识别API
调用代码
![](https://img.haomeiwen.com/i15527725/d667d1a2b8f90412.png)
输出结果
![](https://img.haomeiwen.com/i15527725/4d6d0ced1a88e7b0.png)
(1)首先需要通过API Key和Secret Key获取access_token
官方介绍如何获取请参考:https://ai.baidu.com/ai-doc/REFERENCE/Ck3dwjhhu
输出你的access_token
(2 )调用人脸识别API
调用代码
输出结果
本文标题:百度AI中人脸识别API的调用
本文链接:https://www.haomeiwen.com/subject/lrnqkktx.html
网友评论