我们已经在Windows 10+Anaconda3+CUDA10.1环境中成功安装了dlib19.17开发环境,具体过程请参考:
https://blog.csdn.net/weixin_41943311/article/details/91866987
并且在目标检测这个方向上,对YOLO v3和dlib19.17做了对比测试,发现YOLO v3更快,具体过程请参考:
https://blog.csdn.net/weixin_41943311/article/details/92793426
同时,对YOLO v3的工作原理进行了简单的剖析:
Keras YOLOv3代码详解(一):darknet53网络结构分析+Netron工具
Keras YOLOv3代码详解(三):目标检测的流程图和源代码+中文注释
当然,目标检测只是AI应用的一个方向,我个人更感兴趣的是对具体目标的识别、跟踪和行为分析,作为一个最常见的识别目标,我先选定了人脸。
查了一些资料,发现基于dlib的face_recognition是一个比较容易上手的方案,今天就安装一下试试。
(1)使用anaconda安装失败,说找不到“package”。
(2)用pip来安装:
pip install face_recognition
运行时报错:
报错信息:
(2.1)WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
(2.2)Could not fetch URL https://pypi.org/simple/face-recognition/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/face-recognition/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
看起来似乎是缺少TLS/SSL环境,但其实不是。