Skip to main content

get the landmars,positions,features for reconition of the face in the image

Project description

Info 2018-05-25

Author: Zhao Mingming <>

Copyright: This module has been placed in the public domain.


Classes: - LDM: you can use a function to get landmarks and face feature with no other libs


  • face_feature: the feature of face in the image for face recognition
  • landmarks: get the landmarks and face in the image

How To Use This Module

funny cat picture
  1. example code:
import  ldm
from skimage import io

print img.shape[0]
print txt
for ld in ldl:
    print 10*'-'
    print 'nose:'
    print ld['nose']
for face in facel:
    print 10*'-'
    print 'face:'
    print face.left()
    print face.width()
    print face.height()
    print face.bottom()
    print face.right()
    print x,y,w,h
    print "feature:"
    for ff in ffl:
    print help(ff)
    print 'ff='+str(ff)
    print 'len(ff)='+str(len(ff))
    print 'ff[0]='+str(ff[0])
    print 'ff[127]='+str(ff[127])
print "face number:"
print ldmer.face_number(img)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ldm, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size ldm-0.0.5-py2.7.egg (5.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size ldm-0.0.5-py2-none-any.whl (4.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size ldm-0.0.5.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page