face-recognition-scoring-applet
開放源代碼,遵循Apache License 2.0
效果展示
可切換攝像頭、拍照、從相冊選擇
效果預覽
小程序賬號註冊及配置
地址:https://mp.weixin.qq.com/
依次到 開發-開發設置
配置request域名爲百度AI接口地址 https://aip.baidubce.com
百度AI平臺註冊及配置
依次到控制檯-人臉識別-應用列表 中查看KEY與Value(需要先創建應用,只需要輸入應用名稱和描述,其他默認即可)
修改代碼
將 pages/home/home.js
data 中 appkey、appsecret 兩處修改爲百度AI平臺創建的應用配置
Github:https://github.com/nanshaobit/face-recognition-scoring-applet
碼雲Gitee:https://gitee.com/nanshaobit/face-recognition-scoring-applet
個人博客:https://blog.nanshaobit.top/97
博客園:https://www.cnblogs.com/nanshaobit/p/face-recognition-scoring-applet.html
CSDN:https://blog.csdn.net/LZ_nanshao/article/details/104809737