Gallery¶
This page gives overview of all currently available actions.
AbsoluteMove¶
Low-level action that allows the user to manually select the pixel distances between the old and new landmarks. Note that this action is image specific and therefore not invariant to affine transformations.
AbsoluteMove(y_shifts={30: 20, 29: 20}) # move lower part of the nose 20 pixels down
Lambda¶
Low-level action where only angles and relative sizes in the reference space are to be specified. Affine transformation invariant. For more details see Lambda.
Lambda(0.2, {'OUTERMOST_EYEBROW_L': (-90, 1),
'OUTER_EYEBROW_L': (-90, 0.8)})
LinearTransform¶
Apply a linear transformation to all landmarks on a single face.
LinearTransform(scale_x=0.9, scale_y=0.95)
Multiple¶
Metaaction enabling handling of multiple faces in a single image.
Pipeline¶
Metaaction allowing for multiple actions on a single face.
Pipeline([Smile(-0.08), OpenEyes(-0.06)])
RaiseEyebrow¶
Raise an eyebrow. Left, right or both. Affine transformation invariant.
RaiseEyebrow(scale=0.1, side='left')