very nb computer vision
Project description
Info
====
`vcvf_emotion 2018-08-01`
`Author: Zhao Mingming <471106585@qq.com>`
`Copyright: This module has been placed in the public domain.`
`version:0.0.0.1`
Classes:
- `face_emotion`: get the face emotion
Functions:
- `test()`: test function
- `face_emotion()`: a class
- `face_emotion.face_emotion(image,rect)`: return the face's happy confidence list
- `face_emotion.face_emotion_flat(image,rect)`:return the face is or not happy: true or false
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
from vcvf_emotion import face_emotion as fe
import cv2
fe0=fe.face_emotion()
fe0.test()
imf=os.path.join(self.site_package,'test.jpg')
print imf
image=cv2.imread(imf)
rect=none
print(fe0.face_emotion(image,rect))
print(fe0.face_emotion_flat(image,rect))
Refresh
========
====
`vcvf_emotion 2018-08-01`
`Author: Zhao Mingming <471106585@qq.com>`
`Copyright: This module has been placed in the public domain.`
`version:0.0.0.1`
Classes:
- `face_emotion`: get the face emotion
Functions:
- `test()`: test function
- `face_emotion()`: a class
- `face_emotion.face_emotion(image,rect)`: return the face's happy confidence list
- `face_emotion.face_emotion_flat(image,rect)`:return the face is or not happy: true or false
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
from vcvf_emotion import face_emotion as fe
import cv2
fe0=fe.face_emotion()
fe0.test()
imf=os.path.join(self.site_package,'test.jpg')
print imf
image=cv2.imread(imf)
rect=none
print(fe0.face_emotion(image,rect))
print(fe0.face_emotion_flat(image,rect))
Refresh
========
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
vcvf_emotion-0.0.0.3.tar.gz
(246.5 kB
view hashes)
Built Distributions
vcvf_emotion-0.0.0.3-py2.7.egg
(252.5 kB
view hashes)
vcvf_emotion-0.0.0.3-py2-none-any.whl
(247.5 kB
view hashes)
Close
Hashes for vcvf_emotion-0.0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4480b768159c7857f2cd1b816bb9ec038626b81a0ef87662ff6890fa7708859 |
|
MD5 | 4b12cfc98f4c34b7683ab393c1826771 |
|
BLAKE2b-256 | 7a4a45801f7b9df7175145fc84b94adfbddd0ea78d7c841f439e9cafa88d5151 |