easy Face Recognition fo python
Project description
- # 比對目前webcam擷取到的人臉和指定影像檔案並計算它們之間的距離
im = captureImageFromCam() VTest = getFeatureVector(im) Vtrain = loadFeatureFromPic(‘train李國源.jpg’) print(dist(VTest,Vtrain))
#載入train資料夾中所有jpg檔之特徵及tag #並直接預測目前webcam擷取到的人臉對應的TAG loadDB(folder=’train’) result = predictFromDB(VTest) print(result)
#vedio Demo loadDB(folder=’train’) predictCam()
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-3.1.tar.gz
(830.3 kB
view details)
File details
Details for the file pyFaceTrace-3.1.tar.gz
.
File metadata
- Download URL: pyFaceTrace-3.1.tar.gz
- Upload date:
- Size: 830.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3f361f9c457f82895d8a558e5e5a33070e373c1be260759701400ec10617c2 |
|
MD5 | 79406eab7f48d17867fe97943d20c8ae |
|
BLAKE2b-256 | 7896033fa66c91ec6d16ceeb6a3014e59daa1b2f40ce42dcf981a320e5fbd397 |