Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

get the facepose

Project description

Info 2018-05-25

Author: Zhao Mingming <>

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

version:0.0.1 - add get_image_pose


  • face_pose: get face pose

How To Use This Module

funny cat picture
  1. example code:

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 compare:"
print ldmer.face_rec(img1,img2)
print ldmer.has_same_person(img1,img2)
print ldmer.has_same_person(img2,img2)

print "face number:"
print ldmer.face_number(img,facel)


add a function : ldmer.imread(imgpath) modify the return value number to: has_flag,max_score=ldmer.has_same_person(img1,img2)

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 face-pose, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size face_pose-0.0.3-py2.7.egg (7.7 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size face_pose-0.0.3-py2-none-any.whl (5.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size face_pose-0.0.3.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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