Skip to main content

easy Face Recognition for python

Project description

Author:KuoYuan Li

本程式簡單地結合dlib,opencv 讓不懂機器學習的朋友可以軟簡單地操作人臉辨識, 程式需另外安裝 dlib dlib whl 安裝包下載網站: (https://reurl.cc/Y1OvEX)

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


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.4.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file pyFaceTrace-4.4.4.tar.gz.

File metadata

  • Download URL: pyFaceTrace-4.4.4.tar.gz
  • Upload date:
  • Size: 8.3 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

Hashes for pyFaceTrace-4.4.4.tar.gz
Algorithm Hash digest
SHA256 e9e7fe62389d4fd963945406306fbc6a325a850fb380e285497e3ecc12e6d1ba
MD5 ad4299d7a46b13eb44dd686c9f834b72
BLAKE2b-256 7c4d0d602654527b8162fbb9c166afbdd30d1e13eab1f5d11222b8c13381a7bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page