Skip to main content

get the eye state from the landmarks of the face in the image

Project description

# ai_eye
version:0.0.2
ai_eye can tell u the eye's open degree from the landmarks
like this:
```
# pip install ldm
from ldm import landmarks
# pip install ai_eye
from ai_eye import has_closed_eye
from skimage import io

imagepath="closed_eye/10.jfif"

img=io.imread(imagepath)
ldl,txt=landmarks(img)
print txt
for ld in ldl:
print has_closed_eye(ld)

```
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.2.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

ai_eye-0.0.2-py2.7.egg (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page