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 hashes)