Skip to main content

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

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

ldm-0.0.4.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

ldm-0.0.4-py2.7.egg (3.7 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page