写这个项目主要是为了把自己所学的知识分享出来,希望这个项目能帮到大家,大家一起共同学习,共同进步。
项目主要使用的是Spring+SpirngMvc+SpringBoot敏捷开发系统架构,使用百度智能云提供人脸识别接口
- SpringBoot 2.4.1
- Spring
- SpringMvc
- Mysql 5.7
- BaiduAip 4.15.1
- Fastjson 1.2.70
|————baiduai 百度人脸识别
|————————entity 百度人脸识别参数配置
|————common 公共
|————controller 前端接口
|————entity 实体类
|————mapper 数据访问
|————service 业务
- 在百度智能云中开通人脸识别,创建应用,得到appId、apiKey、secretKey
- 修改application.yml中的“百度人脸识别配置”
- 最后导入SQL文件修改application.yml中的“数据源配置”
- 百度人脸识别中的可视化人脸库的组可动态创建,具体请看百度人脸识别官方文档
- 前端获取人脸,如果报错无法打开摄像头,请把项目改为https协议
感谢百度智能云 百度智能云官网