資源簡介
可部署到云主機(Heroku,AWS……)!
使用dlib最先進的面部識別功能構(gòu)建而成,具有深度學(xué)習(xí)功能。該模型在Wild標(biāo)記的Labeled Faces中具有99.38%的準(zhǔn)確度 。
這提供了一個簡單的命令行工具,允許從命令行對圖像文件夾進行面部識別!
1、找到圖片中出現(xiàn)的所有面孔
2、獲取每個人的眼睛,鼻子,嘴巴和下巴的位置和輪廓。
3、應(yīng)用數(shù)字化妝
4、識別每張照片中出現(xiàn)的人物。
5、可以將此庫與其他Python庫一起使用來進行實時人臉識別。
使用要求
Python 3.3+或Python 2.7
macOS或Linux(Windows未正式支持,但可能有效)
人臉檢測
在照片中找到面孔
在照片中找到面孔(使用深度學(xué)習(xí))
使用GPU(使用深度學(xué)習(xí))批量查找圖像中的面孔
使用網(wǎng)絡(luò)攝像頭模糊實時視頻中的所有人臉(需要安裝OpenCV)
面部特征
識別照片中的特定面部特征
應(yīng)用(可怕的丑陋)數(shù)字化妝
面部識別
根據(jù)已知人物的照片查找并識別照片中的未知面部
識別并在照片中的每個人周圍繪制框
通過數(shù)字面部距離比較面部而不僅僅是真/假匹配
使用網(wǎng)絡(luò)攝像頭識別實時視頻中的人臉 - 簡單/慢速版本(需要安裝OpenCV)
使用網(wǎng)絡(luò)攝像頭識別實時視頻中的人臉 - 更快的版本(需要安裝OpenCV)
識別視頻文件中的面部并寫出新的視頻文件(需要安裝OpenCV)
用相機識別Raspberry Pi上的臉部
運行Web服務(wù)以通過HTTP識別面部(需要安裝Flask)
使用K近鄰分類器識別面部
代碼片段和文件信息
#!/usr/bin/env?python
#?-*-?coding:?utf-8?-*-
from?setuptools?import?setup
with?open(‘README.rst‘)?as?readme_file:
????readme?=?readme_file.read()
with?open(‘HISTORY.rst‘)?as?history_file:
????history?=?history_file.read()
requirements?=?[
????‘face_recognition_models>=0.3.0‘
????‘Click>=6.0‘
????‘dlib>=19.7‘
????‘numpy‘
????‘Pillow‘
]
test_requirements?=?[
????‘tox‘
????‘flake8==2.6.0‘
]
setup(
????name=‘face_recognition‘
????version=‘1.2.3‘
????description=“Recognize?faces?from?Python?or?from?the?command?line“
????long_description=readme?+?‘\n\n‘?+?history
????author=“Adam?Geitgey“
????author_email=‘a(chǎn)geitgey@gmail.com‘
????url=‘https://github.com/ageitgey/face_recognition‘
????packages=[
????????‘face_recognition‘
????]
????package_dir={‘face_recognition‘:?‘face_recognition‘}
????package_data={
????????‘face_recognition‘:?[‘models/*.dat‘]
????}
????entry_points={
????????‘console_scripts‘:?[
????????????‘face_recognition=face_recognition.face_recognition_cli:main‘
????????????‘face_detection=face_recognition.face_detection_cli:main‘
????????]
????}
????install_requires=requirements
????license=“MIT?license“
????zip_safe=False
????keywords=‘face_recognition‘
????classifiers=[
????????‘Development?Status?::?4?-?Beta‘
????????‘Intended?Audience?::?Developers‘
????????‘License?::?OSI?Approved?::?MIT?License‘
????????‘Natural?Language?::?English‘
????????“Programming?Language?::?Python?::?2“
????????‘Programming?Language?::?Python?::?2.6‘
????????‘Programming?Language?::?Python?::?2.7‘
????????‘Programming?Language?::?Python?::?3‘
????????‘Programming?Language?::?Python?::?3.3‘
????????‘Programming?Language?::?Python?::?3.4‘
????????‘Programming?Language?::?Python?::?3.5‘
????????‘Programming?Language?::?Python?::?3.6‘
????]
????test_suite=‘tests‘
????tests_require=test_requirements
)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-10-26?22:54??face_recognition-python\
?????文件?????????292??2018-08-22?02:33??face_recognition-python\.editorconfig
?????文件?????????795??2018-08-22?02:33??face_recognition-python\.gitignore
?????文件?????????472??2018-08-22?02:33??face_recognition-python\.travis.yml
?????文件?????????573??2018-08-22?02:33??face_recognition-python\AUTHORS.rst
?????文件????????2794??2018-08-22?02:33??face_recognition-python\CONTRIBUTING.rst
?????文件????????1347??2018-08-22?02:33??face_recognition-python\Dockerfile
?????目錄???????????0??2018-08-22?02:33??face_recognition-python\docs\
?????文件??????????28??2018-08-22?02:33??face_recognition-python\docs\authors.rst
?????文件????????8789??2018-08-22?02:33??face_recognition-python\docs\conf.py
?????文件??????????33??2018-08-22?02:33??face_recognition-python\docs\contributing.rst
?????文件?????????178??2018-08-22?02:33??face_recognition-python\docs\face_recognition.rst
?????文件??????????28??2018-08-22?02:33??face_recognition-python\docs\history.rst
?????文件?????????302??2018-08-22?02:33??face_recognition-python\docs\index.rst
?????文件????????1187??2018-08-22?02:33??face_recognition-python\docs\installation.rst
?????文件????????6479??2018-08-22?02:33??face_recognition-python\docs\make.bat
?????文件????????6802??2018-08-22?02:33??face_recognition-python\docs\Makefile
?????文件??????????85??2018-08-22?02:33??face_recognition-python\docs\modules.rst
?????文件??????????27??2018-08-22?02:33??face_recognition-python\docs\readme.rst
?????文件????????1614??2018-08-22?02:33??face_recognition-python\docs\usage.rst
?????目錄???????????0??2018-08-22?02:33??face_recognition-python\examples\
?????文件??????182581??2018-08-22?02:33??face_recognition-python\examples\alex-lacamoire.png
?????文件????????2450??2018-08-22?02:33??face_recognition-python\examples\benchmark.py
?????文件??????353723??2018-08-22?02:33??face_recognition-python\examples\biden.jpg
?????文件????????1741??2018-08-22?02:33??face_recognition-python\examples\blur_faces_on_webcam.py
?????文件????????1443??2018-08-22?02:33??face_recognition-python\examples\digital_makeup.py
?????文件????????3086??2018-08-22?02:33??face_recognition-python\examples\facerec_from_video_file.py
?????文件????????2793??2018-08-22?02:33??face_recognition-python\examples\facerec_from_webcam.py
?????文件????????3670??2018-08-22?02:33??face_recognition-python\examples\facerec_from_webcam_faster.py
?????文件????????1899??2018-08-22?02:33??face_recognition-python\examples\facerec_on_raspberry_pi.py
?????文件????????1866??2018-08-22?02:33??face_recognition-python\examples\face_distance.py
............此處省略70個文件信息
評論
共有 條評論