get the eye state from the landmarks of the face in the image
Project description
# ldm
version:0.0.2
ldm=landmarks
you can usr a function to get landmarks with no other libs
like this:
```
# pip install gldm
from gldm import landmarks
from skimage import io
imagepath="closed_eye/10.jfif"
img=io.imread(imagepath)
ldl,txt=landmarks(img)
print txt
for ld in ldl:
print ld['nose']
```
20180524
anjiang
version:0.0.2
ldm=landmarks
you can usr a function to get landmarks with no other libs
like this:
```
# pip install gldm
from gldm import landmarks
from skimage import io
imagepath="closed_eye/10.jfif"
img=io.imread(imagepath)
ldl,txt=landmarks(img)
print txt
for ld in ldl:
print ld['nose']
```
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
ai_eye-0.0.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
ai_eye-0.0.1-py2.7.egg
(2.2 kB
view hashes)