micor soft detect
Project description
Info
ai_eye.py 2018-05-25
Author: Zhao Mingming <471106585@qq.com>
Copyright: This module has been placed in the public domain.
version:0.0.7
Functions:
has_closed_eye: eye’s open degree
How To Use This Module
when u use pip install ldm==0.0.2
from ldm import landmarks
from ai_eye import has_closed_eye
from skimage import io
imagepath="closed_eye/10.jfif"
img=io.imread(imagepath)
ldl,helptxt=landmarks(img)
print helptxt
for ld in ldl:
print has_closed_eye(ld)
when u use pip install ldm==0.0.4
import ldm
from ai_eye import has_closed_eye
from skimage import io
imagepath="closed_eye/10.jfif"
ldmer=ldm.LDM()
img=io.imread(imagepath)
ldl,facel,helptxt=ldmer.landmarks(img)
print helptxt
for ld in ldl:
print has_closed_eye(ld)
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
ms_detect-0.0.1.tar.gz
(2.2 kB
view details)
Built Distributions
ms_detect-0.0.1-py2.7.egg
(3.1 kB
view details)
File details
Details for the file ms_detect-0.0.1.tar.gz
.
File metadata
- Download URL: ms_detect-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f632e05b83e6e281c997841b7313fb2ebda949872dc30e846ee4b6629af9e91 |
|
MD5 | 67c1a55ec4648abbc4a0ba15e219df40 |
|
BLAKE2b-256 | 9dff6ec94cacbd1be7fe6cdf41df3ae38d3861745a422c89130851ec98d3fc9b |
Provenance
File details
Details for the file ms_detect-0.0.1-py2.7.egg
.
File metadata
- Download URL: ms_detect-0.0.1-py2.7.egg
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0658900c6ff3a706272db3b915f92baa989b1b1860beaaaca38a30c780e24b0 |
|
MD5 | 757e5aa508b45beaa668cae1a338bfc2 |
|
BLAKE2b-256 | 74b1dbffd3fdd3ad41de9ef383260f6196208b7e1e65f0d5e0240d6534939f48 |
Provenance
File details
Details for the file ms_detect-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: ms_detect-0.0.1-py2-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad99a71db8619ae67419c7c14c257b1aaa2db650190b8b92213db80c913c2cd |
|
MD5 | 107d55ee233e959cacb95f1e1aeb6dfa |
|
BLAKE2b-256 | dc2412192cabd954bdbb44cd883d310abcb0bc009cdf3dc58f9da357073579e0 |