forked from vipstone/faceai
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
53 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# 人脸识别 | ||
|
||
人脸识别,需要使用的库是face_recognition做人脸对比,OpenCV读取摄像头数据,OpenCV安装请看:[《环境搭建》](https://github.com/vipstone/faceai/blob/master/doc/huanjingdajian.md)face_recognition安装使用命令: | ||
人脸识别,需要使用的库是face_recognition做人脸对比,OpenCV读取摄像头数据,OpenCV安装请看:[《环境搭建》](https://github.com/vipstone/faceai/blob/master/doc/settingup.md)face_recognition安装使用命令: | ||
>pip3 install face_recognition | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,4 +89,4 @@ cv2.destroyAllWindows() | |
|
||
---------- | ||
|
||
下一节:[人脸检测](jiance.md) | ||
下一节:[图片人脸检测(OpenCV版)](detectionOpenCV.md) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#coding=utf-8 | ||
|
||
#图片检测 - Dlib版本 | ||
import cv2 | ||
import dlib | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#coding=utf-8 | ||
#人脸识别类 - 使用face_recognition模块 | ||
import cv2 | ||
import face_recognition | ||
import os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#coding=utf-8 | ||
#文字识别类 | ||
from PIL import Image | ||
import pytesseract | ||
import cv2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#coding=utf-8 | ||
#练习类 | ||
import datetime | ||
import time | ||
|
||
#开始计时 | ||
startTime = datetime.datetime.now() | ||
|
||
time.sleep(1) | ||
|
||
#结束计时 | ||
endTime = datetime.datetime.now() | ||
print(endTime - startTime) | ||
#输出:0:00:01.000791 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#coding=utf-8 | ||
#版本号输出类 | ||
import cv2 | ||
import dlib | ||
import face_recognition | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# coding=utf-8 | ||
#coding=utf-8 | ||
#视频人脸检测类 - Dlib版本 | ||
import cv2 | ||
import dlib | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#coding=utf-8 | ||
#视频人脸检测类 - OpenCV版本 | ||
import cv2 | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.