运行github上多人脸识别项目

github库地址:

https://github.com/coneypo/Dlib_face_recognition_from_camera.git

需要安装的依赖:

  • cv2安装遇到问题,问题拆解,在conda环境中分别安装库:
bash 复制代码
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
bash 复制代码
pip install opencv-contrib-python -i https://pypi.tuna.tsinghua.edu.cn/simple

我使用的python3.8版本

  • dlib安装遇到问题,问题拆解:
bash 复制代码
#利用镜像下载
pip install cmake -i https://pypi.tuna.tsinghua.edu.cn/simple
bash 复制代码
pip install boost

来自其他博主的.whl包下载链接:https://pan.baidu.com/s/1Tr9D0XxFmOflc_8AjDRX-A?pwd=ryp4

提取码:ryp4

bash 复制代码
# 安装.whl包
pip install dlib-19.21.99-cp38-cp38-win_amd64.whl

然后,就可以顺利运行项目了。

相关推荐
databook2 小时前
探索视觉的边界:用 Manim 重现有趣的知觉错觉
python·动效
明月_清风3 小时前
Python 性能微观世界:列表推导式 vs for 循环
后端·python
明月_清风4 小时前
Python 性能翻身仗:从 O(n) 到 O(1) 的工程实践
后端·python
Moment17 小时前
Vibe Coding 时代,到底该选什么样的工具来提升效率❓❓❓
前端·后端·github
helloweilei20 小时前
python 抽象基类
python
用户83562907805120 小时前
Python 实现 PPT 转 HTML
后端·python
CoovallyAIHub21 小时前
语音AI Agent编排框架!Pipecat斩获10K+ Star,60+集成开箱即用,亚秒级对话延迟接近真人反应速度!
深度学习·算法·计算机视觉
zone77391 天前
004:RAG 入门-LangChain读取PDF
后端·python·面试
zone77391 天前
005:RAG 入门-LangChain读取表格数据
后端·python·agent