windows中使用人脸识别库face_recognition的教程

windows中使用人脸识别库face_recognition的教程

1.安装python3.9.0

https://github.com/pyenv-win/pyenv-win

在 power shell 中运行

shell 复制代码
Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"

2.安装python3.9.0

shell 复制代码
pyenv install 3.9.0
pyenv global 3.9.0

3.安装cmake

https://cmake.org/download/

4.安装dlib

https://github.com/sachadee/Dlib/tree/main

5.降级numpy

shell 复制代码
pip uninstall -y numpy 
pip install numpy==1.23.5

6.安装face_recognition

shell 复制代码
pip install face_recognition
相关推荐
秋邱5 小时前
智启未来:AGI 教育融合 × 跨平台联盟 × 个性化空间,重构教育 AI 新范式开篇:一场 “教育 ×AI” 的范式革命
人工智能·python·重构·推荐算法·agi
爱吃泡芙的小白白5 小时前
vscode、anaconda、git、python配置安装(自用)
ide·git·vscode·python·anaconda·学习记录
谷隐凡二5 小时前
Kubernetes主从架构简单解析:基于Python的模拟实现
python·架构·kubernetes
老歌老听老掉牙5 小时前
Matplotlib Pyplot 数据可视化完全指南
python·信息可视化·matplotlib
Sunhen_Qiletian5 小时前
《Python开发之语言基础》第六集:操作文件
前端·数据库·python
Python编程学习圈5 小时前
Python真的要一统天下了?
python
Hacker_Oldv6 小时前
Python技能进阶:探索Selenium库,实现网页自动化测试与爬虫
自动化测试·软件测试·爬虫·python·selenium·职场和发展
天天爱吃肉82186 小时前
电机控制技术深度解析:从基础原理到前沿实战
python·嵌入式硬件·汽车
银河邮差7 小时前
python实战-用海外代理IP抓LinkedIn热门岗位数据
后端·python
第二只羽毛8 小时前
遵守robots协议的友好爬虫
大数据·爬虫·python·算法·网络爬虫