easy Face Recognition for python
Project description
Author:KuoYuan Li
本程式簡單地結合dlib,opencv 讓不懂機器學習的朋友可以軟簡單地操作人臉辨識, 程式需另外安裝 dlib dlib whl 安裝包下載網站: (https://reurl.cc/Y1OvEX)
- 由於windows中dlib的whl檔只下載得到p36版本
- 故本套工具只能在python3.6中運行
- dlib whl 安裝包下載後必需由檔案離線安裝 pip install ...
- opencv whl 下載點:請下載合適的opencv版本
(https://pypi.tuna.tsinghua.edu.cn/simple/opencv-contrib-python/)
Download the samples to 'train' folder(下載各種照片樣本至train資料夾)
downloadImageSamples()
比對目前webcam擷取到的人臉和指定影像檔案並計算它們之間的距離
im = captureImageFromCam()
VTest = getFeatureVector(im)
Vtrain = loadFeatureFromPic('train\\李國源.jpg')
載入train資料夾中所有jpg檔之特徵及tag並直接預測目前webcam擷取到的人臉對應的TAG
loadDB(folder='train')
result = predictFromDB(VTest)
print(result)
Demo with webcam
loadDB(folder='train')
predictCam()
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyFaceTrace-4.4.7.tar.gz
(8.2 kB
view details)
File details
Details for the file pyFaceTrace-4.4.7.tar.gz
.
File metadata
- Download URL: pyFaceTrace-4.4.7.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a74907189d4a331fe81161ec38a12a24bc3f9dd8aeab0239e618ff3b07f4b53 |
|
MD5 | 193a0533f44e4c9a59aef6b0ff357367 |
|
BLAKE2b-256 | af3d459f2a949bf073fd55640d7be0679242f55fb7fef29508c202a0ac850501 |