Skip to content

使用python中opencv库和baidu-api来进行颜值检测的demo

Notifications You must be signed in to change notification settings

lhf2018/face-scoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

颜值检测

使用opencv-python调用摄像头,使用baidu-api进行颜值检测

安装以下两个python第三方库

  • pip install opencv-python
  • pip install baidu-api

步骤

  • 登陆百度大脑ai开放平台
  • 点击人脸识别-立即使用
  • 创建应用
  • 复制AppID、API Key、Secret Key
  • 粘贴到demo.py中""" 你的 APPID AK SK """注释下面
  • 运行程序

注意事项

  • 摄像头闪灯证明正在拍摄
  • 如果运行时程序速度比较慢,等待即可
  • 拍摄后的照片存到了image下,文件夹下预存了几张照片

About

使用python中opencv库和baidu-api来进行颜值检测的demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published