# 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
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
Release files for ai-face 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_face-0.0.1.tar.gz | 1.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_face-0.0.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 2.5 kB
Release files / ai_face-0.0.1.tar.gz
| Download URL | ai_face-0.0.1.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5eb228d1d50e89b4b935eac021855a27bae7a36edfc2bcd37cacb4dcc0fbc1b
|
|
BLAKE2b-256 checksum How to use checksums |
94475e74d9a87a1422d989cb2c92218b2d48e085db4eddb12bbbdc555354e8e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ai_face-0.0.1-py2.7.egg
| Download URL | ai_face-0.0.1-py2.7.egg |
|---|---|
| Size | 1.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b117abb04fb5a4e3e7c213676889cab66149e5ea134a6653b5ec9acce43a7d1a
|
|
BLAKE2b-256 checksum How to use checksums |
59e364acbf5ebb97977465391ceb4e19926a5255ede5ad7d9b9926b51ffd8073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |