pycozmo.expressions.expressions¶
Facial expression definitions.
Based on the “Expressive Eyes” project by Catherine Chambers: https://git.brl.ac.uk/ca2-chambers/expressive-eyes
Classes
Amazement(params, width, height) |
|
Anger(params, width, height) |
|
Annoyance(params, width, height) |
|
Asleep(params, width, height) |
|
Boredom(params, width, height) |
|
Confusion(params, width, height) |
|
Despair(params, width, height) |
|
Disappointment(params, width, height) |
|
Disgust(params, width, height) |
|
Embarrassment(params, width, height) |
|
Excitement(params, width, height) |
|
Fear(params, width, height) |
|
Fury(params, width, height) |
aka “enragement”. |
Guilt(params, width, height) |
|
Happiness(params, width, height) |
|
Horror(params, width, height) |
|
Neutral(params, width, height) |
|
Pleading(params, width, height) |
|
Rejection(params, width, height) |
|
Sadness(params, width, height) |
|
Skepticism(params, width, height) |
|
Surprise(params, width, height) |
|
Suspicion(params, width, height) |
|
Tiredness(params, width, height) |
|
Vulnerability(params, width, height) |
-
class
pycozmo.expressions.expressions.Neutral(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Anger(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Sadness(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Happiness(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Surprise(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Disgust(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Fear(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Pleading(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Vulnerability(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Despair(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Guilt(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Disappointment(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Embarrassment(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Horror(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Skepticism(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Annoyance(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Fury(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFaceaka “enragement”.
-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Suspicion(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Rejection(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Boredom(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Tiredness(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Asleep(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Confusion(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Amazement(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-
-
class
pycozmo.expressions.expressions.Excitement(params: Optional[List[float]] = None, width: int = 128, height: int = 64)¶ Bases:
pycozmo.procedural_face.ProceduralFace-
angle¶
-
center_x¶
-
center_y¶
-
eye_height¶
-
eye_width¶
-
eyes¶
-
half_eye_height¶
-
half_eye_width¶
-
height¶
-
offset¶
-
params¶
-
render() → <module 'PIL.Image' from '/home/docs/checkouts/readthedocs.org/user_builds/pycozmo/envs/latest/lib/python3.7/site-packages/PIL/Image.py'>¶
-
scale_factor_lid_bend¶
-
scale_factor_lid_height¶
-
scale_x¶
-
scale_y¶
-
width¶
-