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 details)
Built Distribution
ldm-0.0.4-py2.7.egg
(3.7 kB
view details)
File details
Details for the file ldm-0.0.4.tar.gz
.
File metadata
- Download URL: ldm-0.0.4.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
527c8ad1644274f42a876d05ee4ac9ea216cf142c561ccf008a85754afaa4a72
|
|
MD5 |
0cdc5eb91a91309195b7217c08b50711
|
|
BLAKE2b-256 |
045b0b482b5a0a788b9405e53f15ffc4f55d9e442ca02307f21ee3b109f1353f
|
File details
Details for the file ldm-0.0.4-py2.7.egg
.
File metadata
- Download URL: ldm-0.0.4-py2.7.egg
- Upload date:
- Size: 3.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5f783302dfbdf7f48f379d8705ef52f5d42cd714de4c303bdd28028981965b8d
|
|
MD5 |
a01227e325b29bc12cae89d3da315fcf
|
|
BLAKE2b-256 |
8b80f74daeb3e03c389980af91691910280075f9e132b1348cd5695911be97e4
|