shape17.h
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// shape17.h: convert a shape to a 17 point shape
//
// Copyright (C) 2005-2013, Stephen Milborrow
#ifndef STASM_SHAPE17_H
#define STASM_SHAPE17_H
#include "misc.h"
namespace stasm
{
enum LANDMARKS_17 // the 17 points that make up a Shape17 shape
{
L17_LPupil, // 0
L17_RPupil, // 1
L17_LMouthCorner, // 2
L17_RMouthCorner, // 3
L17_LEyebrowOuter, // 4
L17_LEyebrowInner, // 5
L17_REyebrowInner, // 6
L17_REyebrowOuter, // 7
L17_LEyeOuter, // 8
L17_LEyeInner, // 9
L17_REyeInner, // 10
L17_REyeOuter, // 11
L17_CNoseTip, // 12
L17_LNostril, // 13
L17_RNostril, // 14
L17_CTopOfTopLip, // 15
L17_CBotOfBotLip // 16
};
#if 0
static const char *LANDMARKS_17_NAMES[] =
{
"LPupil",
"RPupil",
"LMouthCorner",
"RMouthCorner",
"LEyebrowOuter",
"LEyebrowInner",
"REyebrowInner",
"REyebrowOuter",
"LEyeOuter",
"LEyeInner",
"REyeInner",
"REyeOuter",
"CNoseTip",
"LNostril",
"RNostril",
"CTopOTopLip",
"CBotOfBotLip"
};
#endif
extern const Shape MEANSHAPE17; // mean 17 point shape
Shape Shape17( // convert an arb face shape to a 17 point shape
const Shape& shape); // in
} // namespace stasm
#endif // STASM_SHAPE17_H