FaceShapeAreaOptions

Filter effect options.

public class FaceShapeAreaOptions {
  public static final int FACE_SHAPE_AREA_NONE = -1;
  public static final int FACE_SHAPE_AREA_HEADSCALE = 100;
  public static final int FACE_SHAPE_AREA_FOREHEAD = 101;
  public static final int FACE_SHAPE_AREA_FACECONTOUR = 102;
  public static final int FACE_SHAPE_AREA_FACELENGTH = 103;
  public static final int FACE_SHAPE_AREA_FACEWIDTH = 104;
  public static final int FACE_SHAPE_AREA_CHEEKBONE = 105;
  public static final int FACE_SHAPE_AREA_CHEEK = 106;
  public static final int FACE_SHAPE_AREA_CHIN = 108;
  public static final int FACE_SHAPE_AREA_EYESCALE = 200;
  public static final int FACE_SHAPE_AREA_EYEDISTANCE = 201;
  public static final int FACE_SHAPE_AREA_EYEPOSITION = 202;
  public static final int FACE_SHAPE_AREA_LOWEREYELID = 203;
  public static final int FACE_SHAPE_AREA_EYEPUPILS = 204;
  public static final int FACE_SHAPE_AREA_EYEINNERCORNER = 205;
  public static final int FACE_SHAPE_AREA_EYEOUTERCORNER = 206;
  public static final int FACE_SHAPE_AREA_NOSELENGTH = 300;
  public static final int FACE_SHAPE_AREA_NOSEWIDTH = 301;
  public static final int FACE_SHAPE_AREA_NOSEWING = 302;
  public static final int FACE_SHAPE_AREA_NOSEROOT = 303;
  public static final int FACE_SHAPE_AREA_NOSEBRIDGE = 304;
  public static final int FACE_SHAPE_AREA_NOSETIP = 305;
  public static final int FACE_SHAPE_AREA_NOSEGENERAL = 306;
  public static final int FACE_SHAPE_AREA_MOUTHSCALE = 400;
  public static final int FACE_SHAPE_AREA_MOUTHPOSITION = 401;
  public static final int FACE_SHAPE_AREA_MOUTHSMILE = 402;
  public static final int FACE_SHAPE_AREA_MOUTHLIP = 403;
  public static final int FACE_SHAPE_AREA_EYEBROWPOSITION = 500;
  public static final int FACE_SHAPE_AREA_EYEBROWTHICKNESS = 501;

  public int shapeArea;
  public int shapeIntensity;

}

Attributes

shapeArea
Facial enhancement areas.
  • FACE_SHAPE_AREA_NONE(-1): (Default) Invalid area, no beauty effect applied.
  • FACE_SHAPE_AREA_HEADSCALE(100): Head, used to achieve a smaller head effect. The adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100.
  • FACE_SHAPE_AREA_FOREHEAD(101): Forehead, used to adjust the hairline height. The adjustment strength ranges from [-100,100], with positive values raising and negative values lowering the hairline. The greater the absolute value, the stronger the effect. The default value is 50.
  • FACE_SHAPE_AREA_FACECONTOUR(102): Face contour, used to achieve a slimmer face effect. The adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
  • FACE_SHAPE_AREA_FACELENGTH(103): Face length, used to achieve a longer face effect. The adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of 0.
  • FACE_SHAPE_AREA_FACEWIDTH(104): Face width, used to achieve a narrower face effect. The adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10.
  • FACE_SHAPE_AREA_CHEEKBONE(105): Cheekbone, used to adjust cheekbone width. The adjustment range is [0,100]; the larger the value, the narrower the cheekbones, with a preset set value of 43.
  • FACE_SHAPE_AREA_CHEEK(106): Cheeks, used to adjust the cheeks width. The adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50.
  • FACE_SHAPE_AREA_CHIN(108): Chin, used to adjust the chin length. The adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -20.
  • FACE_SHAPE_AREA_EYESCALE(200):Eyes, used to achieve a larger eye effect. The adjustment range is [0,100]; the larger the value, the larger the eye size, with a preset value of 50.
  • FACE_SHAPE_AREA_EYEDISTANCE(201): Eye distance adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction.
  • FACE_SHAPE_AREA_EYEPOSITION(202): Eye position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction.
  • FACE_SHAPE_AREA_LOWEREYELID(203): Lower eyelid adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_EYEPUPILS(204): Pupil size adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_EYEINNERCORNER(205): Inner eye corner adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_EYEOUTERCORNER(206): Outer eye corner adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_NOSELENGTH(300): Nose length, used to achieve a longer nose effect. The adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -10.
  • FACE_SHAPE_AREA_NOSEWIDTH(301): Nose width, used to achieve a slimmer nose effect. The adjustment range is [-100,100]; positive values make the nose wider, while negative values make it narrower. The larger the value, the stronger the enhancement effect, with a preset value of 72.
  • FACE_SHAPE_AREA_NOSEWING(302): Nose wing adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_NOSEROOT(303): Nose root adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_NOSEBRIDGE(304): Nose bridge adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_NOSETIP(305): Nose tip adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_NOSEGENERAL(306): Overall nose adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_MOUTHSCALE(400): Mouth, used to achieve a larger mouth effect. The adjustment strength ranges from [0,100], with larger values resulting in a larger mouth. The default value is 50.
  • FACE_SHAPE_AREA_MOUTHPOSITION(401): Mouth position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction.
  • FACE_SHAPE_AREA_MOUTHSMILE(402): Mouth smile adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_MOUTHLIP(403): Lip shape adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
  • FACE_SHAPE_AREA_EYEBROWPOSITION(500): Eyebrow position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction.
  • FACE_SHAPE_AREA_EYEBROWTHICKNESS(501): Eyebrow thickness adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
shapeIntensity
The intensity of the enhancement. The definition of enhancement intensity varies according to the different face areas, such as its orientation, range, and preset value.For details, see descriptions in shapeArea. .