[AI]如何使用face_recognition

本文档详细介绍了在MAC环境下安装face_recognition库的步骤,包括安装Pillow、cmake、dlib和face_recognition,以及解决在PyCharm中遇到的依赖包识别问题。在安装过程中,可能遇到的权限问题和Python环境冲突也给出了相应的解决方案。
摘要由CSDN通过智能技术生成

github: https://github.com/ageitgey/face_recognition

以下是MAC环境下安装:

1. 先安装Pillow:

pip install pillow: https://stackoverflow.com/questions/26505958/why-cant-python-import-image-from-pil

 

2.安装cmake:

 

  1. Install cmake:  https://www.jianshu.com/p/7fff1f77dd9d

3.安装dlib:

 

 https://gist.github.com/ageitgey/629d75c1baac34dfa5ca2a1928a7aeaf

 

 

Clone the code from github:

git clone https://github.com/davisking/dlib.git
Build the main dlib library (optional if you just want to use Python):

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值