Skip to main content

analyze the face of the face in the image

Project description

# ai_face
version:0.0.1

analyze the face artribution in the image
like this:
```
# pip install ldm
import ldm
# pip install ai_eye
from ai_face import *
from skimage import io

imagepath="closed_eye/10.jfif"
ldmer=ldm.LDM()
img=io.imread(imagepath)
ldl,facel,helptxt=ldmer.landmarks(img)
print helptxt
print 'face_num:'
print face_num(facel)
print 'face_avre_rate:'
print face_area_rate(img,facel)
print 'face_center_degree:'
print face_center_degree(img,facel)
print 'face_direction:'
print face_direction(facel)
print 'face_feature:'
print face_feature(img,facel)
print 'face_compare:'
feature1=face_feature(img,facel)
feature2=face_feature(img,facel)
print compare2facefeature(feature1,feature2)

```
20180524
anjiang

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

ai_face-0.0.1.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

ai_face-0.0.1-py2.7.egg (1.2 kB view details)

Uploaded Source

File details

Details for the file ai_face-0.0.1.tar.gz.

File metadata

  • Download URL: ai_face-0.0.1.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ai_face-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e5eb228d1d50e89b4b935eac021855a27bae7a36edfc2bcd37cacb4dcc0fbc1b
MD5 6c2e2f0455d6bd30403f7c24c385ebbf
BLAKE2b-256 94475e74d9a87a1422d989cb2c92218b2d48e085db4eddb12bbbdc555354e8e9

See more details on using hashes here.

File details

Details for the file ai_face-0.0.1-py2.7.egg.

File metadata

  • Download URL: ai_face-0.0.1-py2.7.egg
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ai_face-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 b117abb04fb5a4e3e7c213676889cab66149e5ea134a6653b5ec9acce43a7d1a
MD5 817d9cccf60ec79210bef02962060143
BLAKE2b-256 59e364acbf5ebb97977465391ceb4e19926a5255ede5ad7d9b9926b51ffd8073

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