get the landmars of the face in the image
Project description
# ldm
version:0.0.4
ldm=landmarks
you can use a function to get landmarks and face with no other libs
like this:
```
import ldm
from skimage import io
imagepath="closed_eye/10.jfif"
ldmer=ldm.LDM()
img=io.imread(imagepath)
ldl,facel,txt=ldmer.landmarks(img)
print txt
for ld in ldl:
print 10*'-'
print 'nose:'
print ld['nose']
for face in facel:
print 10*'-'
print 'face:'
print face
```
20180524
anjiang
version:0.0.4
ldm=landmarks
you can use a function to get landmarks and face with no other libs
like this:
```
import ldm
from skimage import io
imagepath="closed_eye/10.jfif"
ldmer=ldm.LDM()
img=io.imread(imagepath)
ldl,facel,txt=ldmer.landmarks(img)
print txt
for ld in ldl:
print 10*'-'
print 'nose:'
print ld['nose']
for face in facel:
print 10*'-'
print 'face:'
print face
```
20180524
anjiang
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
ldm-0.0.4.tar.gz
(2.1 kB
view hashes)
Built Distribution
ldm-0.0.4-py2.7.egg
(3.7 kB
view hashes)