Commit 3bec8ea61fb55960f1982bf1193c7020fe7b10bf
Merge pull request #276 from biometrics/stasm_revert
Reverted Stasm 4.1 to Stasm 4.0
Showing
531 changed files
with
11953 additions
and
12818 deletions
Too many changes.
To preserve performance only 100 of 531 files are displayed.
3rdparty/stasm/stasm/stasm/include/atface.h deleted
| 1 | -// atface.h: face point attributes | |
| 2 | -// | |
| 3 | -// These attributes are used when training new models (they appear in | |
| 4 | -// LANDMARK_INFO_TAB). They are also sometimes used when testing Stasm. | |
| 5 | -// They are not needed for doing landmark searches. | |
| 6 | -// | |
| 7 | -// Some of these bits apply to the entire image (AT_BadImg); other apply | |
| 8 | -// only to a specific points (AT_Glasses). | |
| 9 | -// | |
| 10 | -// In shape files, the bits appear in the in the "tag" preceding each shape. | |
| 11 | -// For example | |
| 12 | -// 0004 d0145 | |
| 13 | -// means that the face in image d0145.jpg is wearing glasses. | |
| 14 | - | |
| 15 | -#ifndef STASM_ATFACE_HPP | |
| 16 | -#define STASM_ATFACE_HPP | |
| 17 | - | |
| 18 | -static const char* const AT_NAMES[] = // used only for information during training | |
| 19 | -{ | |
| 20 | - "Male", // AT_Male 0x0001 | |
| 21 | - "Child", // AT_Child 0x0002 | |
| 22 | - "Glasses", // AT_Glasses 0x0004 | |
| 23 | - "Beard", // AT_Beard 0x0008 | |
| 24 | - "Mustache", // AT_Mustache 0x0010 | |
| 25 | - "MouthOpen", // AT_MouthOpen 0x0020 | |
| 26 | - "Expression", // AT_Expression 0x0040 | |
| 27 | - "Eye", // AT_Eye 0x0080 | |
| 28 | - "BadImg", // AT_BadImg 0x0100 | |
| 29 | - "Cropped", // AT_Cropped 0x0200 | |
| 30 | - "Obscured", // AT_Obscured 0x0400 | |
| 31 | - "BadEye", // AT_BadEye 0x0800 | |
| 32 | - "Hat", // AT_Hat 0x1000 | |
| 33 | - "Unused", // AT_Hat 0x2000 | |
| 34 | - "MultiFace", // AT_MultiFace 0x4000 | |
| 35 | - "BadTrain", // AT_BadTrain 0x8000 | |
| 36 | -}; | |
| 37 | - | |
| 38 | -static const unsigned AT_Male = 0x0001; // gender, 1=male | |
| 39 | -static const unsigned AT_Child = 0x0002; // child | |
| 40 | -static const unsigned AT_Glasses = 0x0004; // face is wearing specs | |
| 41 | -static const unsigned AT_Beard = 0x0008; // beard including possible mustache | |
| 42 | -static const unsigned AT_Mustache = 0x0010; // mustache | |
| 43 | -static const unsigned AT_MouthOpen = 0x0020; // mouth is open | |
| 44 | -static const unsigned AT_Expression = 0x0040; // non-neutral expression on face | |
| 45 | -static const unsigned AT_Eye = 0x0080; // is eye landmark, used only during training | |
| 46 | - | |
| 47 | -static const unsigned AT_BadImg = 0x0100; // image is "bad" in some way (blurred, duplicated, etc.) | |
| 48 | -static const unsigned AT_Cropped = 0x0200; // a landmark would be off the page | |
| 49 | -static const unsigned AT_Obscured = 0x0400; // face is obscured e.g. by subject's hand | |
| 50 | -static const unsigned AT_BadEye = 0x0800; // an eye is closed or obscured by hair etc. | |
| 51 | -static const unsigned AT_Hat = 0x1000; // HAT desciptor (ignored if pyr lev > HAT_START_LEV) | |
| 52 | - | |
| 53 | -// following are currently used only in aflw.shape | |
| 54 | -static const unsigned AT_MultiFace = 0x4000; // multiple faces in the image | |
| 55 | -static const unsigned AT_BadTrain = 0x8000; // face is not suitable for training face det | |
| 56 | - // (by manual inspection of train face rects) | |
| 57 | - | |
| 58 | -static const unsigned AT_Meta = 0xFF000000; // "meta bits" used for face and pose detectors | |
| 59 | - | |
| 60 | -static const unsigned AT_Pose = 0x80000000; // 4 elements: yaw, pitch, roll, estimated_err | |
| 61 | - | |
| 62 | -static const unsigned AT_EYAW00 = 0x81000000; // yaw00 face detector results, see DetPar | |
| 63 | -static const unsigned AT_EYAW22 = 0x82000000; | |
| 64 | -static const unsigned AT_EYAW45 = 0x83000000; | |
| 65 | -static const unsigned AT_EYAW_22 = 0x8A000000; // ms bit of nibble indicates negative yaw | |
| 66 | -static const unsigned AT_EYAW_45 = 0x8B000000; | |
| 67 | - | |
| 68 | -static const unsigned AT_Any = 0xFFFFFFFF; // special case, match any bit in Mask0 | |
| 69 | - | |
| 70 | -#endif // STASM_ATFACE_HPP |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p18.mh deleted
| 1 | -// hat_yaw00_lev1_p18.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p18_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p18_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p18(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.448753; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0498749, -0.0295384, -0.0622896, 0.0356942, -0.0292167, 0.0283713, 0.00836971, -0.0121596, | |
| 28 | - 0.0209972, 0.00382417, 0.050891, -0.0164777, 0.0242696, -0.00391463, -0.0277812, -0.0138764, | |
| 29 | - 0.072988, -0.0271966, -0.0908054, -0.0734843, -0.0604963, 0.0136477, -0.0727193, 0.0275438, | |
| 30 | - 0.0110599, 0.0588015, 0.00201384, 0.0164636, -0.00199381, 0.0922571, 0.0699612, 0.0217522, | |
| 31 | - -0.00142602, -0.00528477, 0.00603293, 0.0617398, -0.0417845, 0.0516238, -0.0569251, 0.0888432, | |
| 32 | - 0.0420806, 0.0498754, 0.0839362, 0.0110966, 0.0596055, 0.0101679, 0.00859569, -0.021343, | |
| 33 | - 0.0153672, -0.0383215, -0.0905357, -0.00618441, 0.0649987, -0.0654346, -0.0405493, 0.0329732, | |
| 34 | - -0.09689, 0.0202469, 0.0330359, 0.0379222, 0.179394, 0.0828963, 0.130292, 0.0730782, | |
| 35 | - -0.0308012, 0.108059, 0.0110634, -0.0114949, -0.084209, -0.0632223, 0.00555993, 0.00827395, | |
| 36 | - -0.0322704, 0.0254536, 0.0448415, -0.0122099, 0.0581972, -0.0255867, -0.00141774, -0.0369018, | |
| 37 | - -0.00161121, 0.00661957, -0.045868, -0.0756884, -0.0735135, -0.0600961, 0.0242683, -0.0197821, | |
| 38 | - 0.0745215, -0.0585634, -0.0179505, 0.0547213, -0.0345571, -0.025263, 0.0334299, 0.00947121, | |
| 39 | - 0.051453, 0.0639829, 0.0359268, 0.0210573, -0.0619948, -0.0628176, -0.0306752, -0.051822, | |
| 40 | - 0.0126318, -0.0452903, -0.01876, 0.00772562, -0.00129544, 0.0511064, -0.0106129, -0.00556659, | |
| 41 | - 0.0426059, 0.032925, 0.0212555, 0.0334898, -0.0357824, -0.00509332, 0.0150316, 0.00836535, | |
| 42 | - 0.0260177, 0.0158509, 0.0215553, 0.0268927, 0.0590347, 0.0190613, 0.0199399, -0.0514828, | |
| 43 | - -0.00742887, -0.0419478, 0.00628358, 0.0638355, -0.00724743, 0.0347969, -0.00623699, -0.0583069, | |
| 44 | - -0.0161296, -0.037127, 0.0168519, 0.0147875, -0.00326895, 0.0385574, -0.0158858, 0.0614535, | |
| 45 | - -0.0200043, 0.00139308, 0.013431, -0.0543626, 0.0576407, -0.0165498, -0.0840573, 0.0222336, | |
| 46 | - 0.0296575, -0.00278878, 0.00448438, -0.00359893, 0.0102988, 0.106763, 0.090092, 0.0431567 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p18(hatfit_yaw00_lev1_p18); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p18_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p19.mh deleted
| 1 | -// hat_yaw00_lev1_p19.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p19_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p19_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p19(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.262195; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0570257, 0.0367344, -0.0570711, -0.011802, -0.0167134, 0.101382, -0.0180198, 0.00963814, | |
| 28 | - -0.0279159, 0.00725883, -0.0390742, -0.0731636, -0.0300552, 0.0610662, -0.0564866, -0.00215811, | |
| 29 | - 0.0331278, -0.0245061, -0.0190675, 0.0308108, 0.0597088, -0.0582475, 0.0068199, -0.0045789, | |
| 30 | - 0.0112172, -0.0042283, -0.0460313, -0.0683531, 0.0490784, 0.0357457, 0.0513087, 0.065163, | |
| 31 | - 0.0120269, 0.0846221, -0.0103265, 0.0475844, 0.00477526, 0.0399056, 0.0540089, -0.0564785, | |
| 32 | - -0.07569, -0.0260325, -0.0242496, -0.0162332, -0.01269, 0.0115391, 0.144577, 0.0917523, | |
| 33 | - -0.0031184, 0.0494672, 0.0600518, 0.0757492, 0.0268476, -0.0358991, -0.0714125, -0.0217126, | |
| 34 | - -0.0619601, 0.00266571, 0.0342395, 0.0499819, 0.0149065, -0.0327131, -0.0215528, -0.0440197, | |
| 35 | - -0.0420585, -0.0419247, 0.0676071, 0.0562871, -0.00336289, -0.0189186, -0.0412871, -0.063268, | |
| 36 | - -0.0263585, -0.139443, 0.050477, -0.0565013, -0.0138931, 0.00646753, 0.0454679, 0.0638653, | |
| 37 | - 0.00880726, 0.0693776, -0.00639578, 0.0123959, -0.0768389, 0.0366207, -0.0836684, -0.0324729, | |
| 38 | - -0.000682837, 0.0349943, 0.000274644, -0.00886348, 0.00739915, 0.00832502, 0.0206392, -0.0190099, | |
| 39 | - 0.0570095, 0.033442, -0.00262595, 0.0070713, 0.00129516, 0.0143729, 0.0452677, 0.00304362, | |
| 40 | - 0.00623422, 0.0423643, 0.00203898, -0.0335307, 0.0291394, -0.0161017, 0.00515308, 0.0344269, | |
| 41 | - 0.00664613, -0.020668, -0.0448438, 0.0866967, 0.0269182, 0.0468494, 0.0656892, 0.00646981, | |
| 42 | - -0.0383485, -0.00762912, -0.0750351, 0.0130538, 0.0269591, -0.0112271, -0.0624056, 0.0493525, | |
| 43 | - 0.0296482, -0.0213624, 0.0267932, 0.0117763, -0.0091476, 0.0151417, -0.00320312, 0.0152537, | |
| 44 | - -0.0114015, -0.00710413, 0.00773785, -0.00463671, -0.034757, 0.0182189, 0.0225663, 0.0463874, | |
| 45 | - 0.0323866, 0.0080666, 0.0581044, 0.0524154, 0.0108156, -0.0567258, -0.0227012, -0.048997, | |
| 46 | - 0.0646889, -0.0463338, -0.0283976, -0.0935714, 0.0225522, -0.0529328, 0.11244, -0.0702994 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p19(hatfit_yaw00_lev1_p19); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p19_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p20.mh deleted
| 1 | -// hat_yaw00_lev1_p20.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p20_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p20_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p20(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.40301; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.044357, 0.065885, -0.100565, -0.0292176, 0.0431703, 0.0559038, 0.0422983, 0.0677039, | |
| 28 | - 0.0111116, 0.0543616, -0.00831535, 0.0316774, -0.0405766, 0.0545119, 0.0547792, 0.00707303, | |
| 29 | - -0.0118569, 0.0359603, 0.000738419, -0.00720546, 0.0159878, -0.0454474, -0.00219371, -0.0321887, | |
| 30 | - -0.00711376, -0.0118625, -0.031807, 0.0318091, 0.0721441, -0.00390437, 0.000654461, -0.00217822, | |
| 31 | - 0.0136697, -0.0564804, -0.0142228, 0.0489046, 0.0135339, 0.0265044, 0.0836901, -0.0131859, | |
| 32 | - 0.0193591, -0.0579067, 0.143029, 0.0854465, -0.0273751, -0.0743443, -0.00470803, -0.0470495, | |
| 33 | - 0.0284289, -0.0908781, -0.0390148, 0.0216415, 0.0237698, -0.00135428, 0.0883609, 0.0570308, | |
| 34 | - -0.0190371, 0.0543571, -0.0426702, -0.0233553, -0.062339, -0.0680657, -0.0296903, 0.0182473, | |
| 35 | - -0.0275637, 0.031327, 0.0632576, -0.0441019, -0.0551259, -0.0493404, -0.0933736, 0.0139715, | |
| 36 | - 0.0351187, 0.201519, 0.109671, -0.0436287, 0.0343854, 0.0617872, 0.00231902, 0.131171, | |
| 37 | - -0.0447616, 0.0471011, -0.0241846, -0.130945, -0.00283226, 0.0292567, -0.0124652, 0.00699345, | |
| 38 | - -0.00646692, 0.00169924, 0.0120173, 0.0392728, -0.027388, 0.0654505, 0.0643972, -0.0154942, | |
| 39 | - -0.0480685, -0.0210734, -0.0285767, 0.0874262, 0.0749026, 0.0901079, 0.0342709, -0.0234091, | |
| 40 | - 0.0509444, -0.014923, -0.0252291, 0.0453003, 0.0172163, -0.0234517, 0.0583706, -0.00834267, | |
| 41 | - -0.128634, -0.0329519, 0.0279247, -0.0235598, -0.00885352, -0.0981358, -0.0500313, -0.0635172, | |
| 42 | - 0.0233945, -0.051642, -0.0143921, 0.0752504, 0.0105108, -0.022365, 0.0275288, -0.0364368, | |
| 43 | - 0.0413996, -0.0392726, 0.0157608, -0.0648484, 0.0178105, -0.0352664, 0.0258897, -0.0719777, | |
| 44 | - 0.0267576, 0.019921, 0.000531101, 0.00717289, -0.0355602, -0.0040235, 0.0217799, -0.0267584, | |
| 45 | - -0.00189987, 0.0767193, 0.0513729, 0.0696818, 0.0447269, -0.00696514, 0.0455562, 0.0813045, | |
| 46 | - -0.0438993, 0.0213466, -0.0743853, 0.0140133, 0.0300957, 0.042562, -0.0818879, 0.0010326 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p20(hatfit_yaw00_lev1_p20); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p20_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p21.mh deleted
| 1 | -// hat_yaw00_lev1_p21.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p21_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p21_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p21(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.360611; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0436506, -0.054941, -0.00971474, 0.0521024, 0.00206954, 0.0185906, -0.00413247, -0.024137, | |
| 28 | - -0.0462877, -0.04999, -0.0126494, -0.0039948, 0.0150353, 0.0313915, 0.0540088, -0.0256915, | |
| 29 | - -0.128476, -0.0262562, 0.0509892, 0.00366824, -0.00866948, 0.0298188, -0.00831123, 0.0105693, | |
| 30 | - -0.0529987, -0.0259216, -0.00600078, -0.0230685, 0.0339906, 0.0307667, -0.0178926, 0.0698492, | |
| 31 | - 0.0722452, -0.0227056, -0.00609198, 0.0519129, 0.0620325, 0.0588752, 0.00577859, 0.00438022, | |
| 32 | - 0.0282987, 0.0421252, 0.0104122, -0.018805, -0.102164, -0.0445192, -0.0648688, 0.0809432, | |
| 33 | - 0.0950726, 0.117475, 0.0853208, 0.0458148, -0.0171331, 0.0300579, -0.0406555, 0.0118699, | |
| 34 | - 0.0976135, 0.0484639, -0.033011, 0.0899271, 0.0202407, 0.0261913, -0.00930254, 0.0461875, | |
| 35 | - 0.0378907, -0.0493307, -0.0274167, -0.0190517, -0.0107293, -0.0157886, 0.0123958, 0.0879697, | |
| 36 | - 0.00302485, 0.0109669, -0.0332263, -0.0316753, -0.0598432, -0.0198672, 0.0300908, -0.0590955, | |
| 37 | - -0.0598014, -0.0300721, -0.0144178, 0.00587939, -0.0163208, -0.010562, 0.0622535, -0.0122884, | |
| 38 | - -0.0888054, 0.00986846, 0.0480497, -0.0690815, 0.0316751, -0.0658706, -0.017178, 2.19983e-05, | |
| 39 | - -0.031337, 0.12937, 0.00135608, 0.00324541, -0.0383022, -0.0209004, 0.012759, -0.0579081, | |
| 40 | - -0.022554, -0.0243307, -0.161701, -0.0383884, -0.0341709, 0.0256652, 0.0349183, 0.0408659, | |
| 41 | - -0.0589702, 0.0420497, 0.069216, 0.0258794, 0.0283805, -0.0236499, -0.00459621, 0.0139046, | |
| 42 | - 0.0328212, 0.0585561, 0.0112508, 0.0231436, 0.0542301, -0.00382625, 0.045863, 0.0514639, | |
| 43 | - -0.00793891, -0.0151828, -0.0451044, 0.00866035, -0.0408645, 0.00331327, -0.080927, -0.085434, | |
| 44 | - 0.0547401, 0.0158916, 0.0294454, 0.0202408, 0.0291153, 0.0326214, 0.0244101, 0.0986617, | |
| 45 | - 0.0364547, -0.0604266, 0.0127313, -0.0474485, 0.0555188, 0.0124198, -0.0257955, 0.0798925, | |
| 46 | - 0.124739, -0.0247137, 0.0450575, 0.0279182, -0.005408, 0.00205407, -0.0160856, -0.0509189 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p21(hatfit_yaw00_lev1_p21); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p21_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p22.mh deleted
| 1 | -// hat_yaw00_lev1_p22.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p22_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p22_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p22(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.283461; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.113408, 0.028207, 0.0103549, -0.0219927, 0.0431519, 0.00919302, -0.0021129, 0.0822461, | |
| 28 | - -0.0605805, -0.0288046, 0.00869981, 0.00197979, -0.091122, 0.00543819, -0.0875602, -0.0096333, | |
| 29 | - -0.0140809, -0.00180853, 0.0272279, -0.0408326, -0.108702, 0.0415715, 0.057489, 0.0631665, | |
| 30 | - 0.0449359, 0.00809672, -0.0378282, -0.040463, -0.0505169, -0.0300831, 0.0435633, -0.0196153, | |
| 31 | - 0.0188522, 0.0430165, -0.013274, -0.00146621, -0.0787595, -0.0382562, 0.00339013, -0.0244168, | |
| 32 | - -0.109492, -0.0534605, 0.0150209, 0.00353936, 0.0185733, -0.0188727, 0.0288706, -0.044357, | |
| 33 | - 0.0503095, 0.0649049, -0.0550787, -0.0715569, 0.0863819, 0.0590576, 0.00904189, 0.051242, | |
| 34 | - 0.0460924, 0.0585139, -0.0128731, 0.064008, 0.0780372, 0.0710941, 0.0145533, 0.0773075, | |
| 35 | - -0.0980892, 0.0193442, 0.0810367, 0.13997, 0.0733226, 0.0512428, -0.103792, 0.0650737, | |
| 36 | - -0.0728885, -0.012266, 0.023387, -0.00658721, 0.0246795, 0.0391211, -0.0425422, -0.0452243, | |
| 37 | - 0.0327159, -0.00046799, -0.00746934, 0.041174, -0.0191744, -0.00525241, 0.00667091, -0.044836, | |
| 38 | - -0.0405409, -0.106829, -0.153472, -0.00257772, -0.0275851, 0.0490619, 0.0456676, 0.0148601, | |
| 39 | - -0.0409661, 0.0154871, 0.0948287, 0.105885, -0.0128939, -0.0611814, -0.00809154, -0.0978214, | |
| 40 | - 0.0252439, -0.0215762, -0.0285384, -0.018451, -0.0553872, -0.0160569, 0.00576589, -0.109376, | |
| 41 | - -0.00953276, -0.0124028, -0.00071097, -0.00153849, -0.043606, -0.0358039, 0.0836616, 0.0602529, | |
| 42 | - 0.0487441, 0.0265395, 0.0409188, 0.00543898, 0.0838617, -0.0281679, -0.0813627, 0.00686685, | |
| 43 | - -0.0205098, -0.0206478, -0.0149907, -0.0498131, 0.0185005, 0.0928399, 0.0517432, -0.00931367, | |
| 44 | - 0.0553956, -0.000987589, 0.0256532, 0.0190481, 0.0120548, 0.0256755, -0.0056007, 0.0773276, | |
| 45 | - -0.0299009, 0.0231982, -0.0541054, -0.0363423, -0.00481595, -0.0450222, -0.0591807, 0.0140353, | |
| 46 | - 0.0115709, 0.051797, 0.00671813, 0.060524, 0.0404935, 0.0628342, 0.0301882, -0.0445167 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p22(hatfit_yaw00_lev1_p22); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p22_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p23.mh deleted
| 1 | -// hat_yaw00_lev1_p23.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p23_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p23_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p23(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.130233; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0472834, 0.00781718, 0.00785787, 0.0540163, -0.026445, 0.116213, -0.0237177, 0.0424393, | |
| 28 | - 0.0187807, -0.024349, -0.0246988, 0.0576934, 0.0111652, 0.0538067, -0.121513, 0.0500683, | |
| 29 | - -0.00359233, -0.0209018, -0.00154044, 0.0619222, 0.0839956, 0.070999, -0.0467736, 0.0184966, | |
| 30 | - 0.00613903, 0.00382141, -0.0737772, 0.00515294, -0.00382716, 0.0400579, 0.00606548, 0.0256581, | |
| 31 | - 0.0594181, 0.0186452, 0.0815342, 0.0398505, 0.00194601, 0.0017904, -0.0349286, 0.106442, | |
| 32 | - -0.018651, 0.00312345, -0.0059111, -0.0568959, -0.0328872, -0.148534, 0.104767, 0.0236835, | |
| 33 | - 0.00637615, 0.0115255, 0.0801526, -0.00868843, 0.00586364, -0.10412, -0.0490881, -0.0593897, | |
| 34 | - -0.00372443, 0.00618455, 0.0371041, -0.0521332, -0.00660873, -0.0285671, 0.131414, -0.0504068, | |
| 35 | - -0.0296972, -0.0634493, 0.0637341, -0.0350294, 0.0066418, -0.00762099, -0.0144002, -0.0300104, | |
| 36 | - -0.0378424, -0.0719849, -0.0839801, -0.0249018, -0.0853061, 0.0688983, 0.103192, -0.0620734, | |
| 37 | - 0.0151431, 0.0111592, -0.0657549, 0.0352495, 0.0105818, 0.246062, 0.0820122, 0.0520822, | |
| 38 | - 0.0462958, 0.0629337, 0.0883106, 0.0716172, -0.073364, -0.0192448, -0.109873, -0.0512651, | |
| 39 | - -0.0390072, -0.00551202, -0.0114683, 0.0342657, 0.0128699, 0.0191531, -0.0255654, 0.0133674, | |
| 40 | - 0.0513161, 0.0279945, -0.0674543, -0.00280994, 0.0383715, -0.0308886, 0.101607, 0.102294, | |
| 41 | - -0.00181516, 0.0832472, 0.0175008, 0.0196384, 0.0216818, -0.070902, -0.0207262, 0.0160676, | |
| 42 | - -0.0254123, -0.0816697, 0.0283321, 0.125951, -0.0731279, 0.0101732, -0.0494108, 0.00338782, | |
| 43 | - -0.051712, 0.0155175, 0.0158018, -0.0212249, -0.00432322, -0.0379499, -0.0358608, -0.00421285, | |
| 44 | - 0.0108169, 0.0207882, -0.0720815, -0.0455948, -0.0374766, -0.049237, 0.0186335, 0.0110743, | |
| 45 | - -0.0458633, 0.0435132, 0.0137485, -0.0760113, 0.0111323, -0.00146219, 0.0642206, -0.0233832, | |
| 46 | - -0.0129117, -0.0448585, 0.0893718, -0.0306933, -0.00994433, 0.0235545, -0.0486931, -0.0471647 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p23(hatfit_yaw00_lev1_p23); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p23_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p24.mh deleted
| 1 | -// hat_yaw00_lev1_p24.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p24_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p24_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p24(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.209957; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0329241, 0.0204195, -0.0457593, 0.0501425, -0.00613224, 0.00723748, 0.00753633, -0.00218967, | |
| 28 | - 0.0567324, 0.0279709, 0.044728, 0.00627779, 0.0202298, 0.00300185, -0.0439539, 0.0484225, | |
| 29 | - 0.0599061, -0.0229727, -0.0046023, -0.0425072, -0.0265741, -0.0402482, -0.0184064, -0.0400436, | |
| 30 | - 0.129868, 0.0186916, -0.0187492, -0.0279144, -0.00644049, -0.0152003, -0.019119, 0.0695958, | |
| 31 | - -0.0579541, 0.0241296, 0.0301872, -0.0184226, -0.0375482, 0.00369089, -0.067679, 0.0316725, | |
| 32 | - -0.055719, -0.0459733, 0.130253, 0.0100149, 0.0523362, -0.0390752, 0.049506, -0.0562703, | |
| 33 | - -0.0882681, -0.0460667, -0.0540077, -0.0063019, 0.00833983, -0.0356212, 0.0579247, -0.0667233, | |
| 34 | - -0.0917908, -0.0543343, -0.0344169, -0.0230161, -0.00531222, 0.0843524, 0.07836, 0.0221333, | |
| 35 | - -0.139507, 0.007516, 0.0603828, 0.0806264, 0.0404374, -0.00715456, 0.088454, 0.0628061, | |
| 36 | - 0.0829363, -0.0348646, -0.0190776, 0.00782911, 0.0738113, 0.0218468, -0.133212, -0.109976, | |
| 37 | - 0.0430187, 0.0600624, -0.0250504, 0.0394135, -0.105551, 0.0274974, 0.0425897, 0.0730274, | |
| 38 | - 0.0721941, 0.0543258, -0.00415248, -0.0637805, -0.0302164, 0.0400649, -0.0335531, 0.0165375, | |
| 39 | - 0.0569047, 0.0575467, 0.0384013, 0.0282555, -0.0193094, 0.0499828, -0.10377, 0.0923725, | |
| 40 | - 0.018542, -0.0432079, -0.0109277, 0.00175565, -0.028568, 0.0184082, -0.0969235, 0.0896471, | |
| 41 | - -0.0161893, 0.0327373, -0.004733, 0.00905427, -0.0520759, 0.0635459, 0.152796, 0.000308197, | |
| 42 | - -0.0354366, -0.00113181, 0.061364, -0.128608, 0.00421285, -0.0287593, 0.0243545, -0.052208, | |
| 43 | - 0.000375558, -0.0167535, 0.00873265, 0.0752245, 0.00744216, -0.0119389, 0.0225206, -0.0189916, | |
| 44 | - -0.0253872, 0.00905674, -0.00873364, 0.00526114, 0.0448877, -0.0580581, 0.00681423, -0.0637524, | |
| 45 | - -0.0370372, -0.0561434, -0.00836047, 0.0433733, -0.0140024, 0.000233554, 0.00309609, -0.0161593, | |
| 46 | - 0.0248977, 0.0330903, 0.0336645, 0.0216872, 0.0263714, 0.072331, -0.0283138, 0.0637294 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p24(hatfit_yaw00_lev1_p24); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p24_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p25.mh deleted
| 1 | -// hat_yaw00_lev1_p25.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p25_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p25_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p25(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.343956; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00760984, 0.00677376, -0.0254998, -0.0180962, -0.0163319, 0.0787102, -0.0501463, 0.109694, | |
| 28 | - 0.0324034, 0.0167922, -0.0197681, 0.0290643, -0.0292062, 0.0780218, 0.0643669, 0.0284101, | |
| 29 | - -0.0255905, -0.0887582, -0.00245165, 0.000299687, 0.0577481, 0.0246098, -0.0493255, 0.0317641, | |
| 30 | - 0.0699807, 0.00365498, -0.0248711, -0.0952788, -0.0441012, -0.00877127, -0.030372, 0.025457, | |
| 31 | - 0.00123633, 0.00568069, 0.0530734, 0.0160453, -0.0228293, -0.0383732, -0.0202062, 0.00138904, | |
| 32 | - -0.0311672, -0.0647133, -0.011528, 0.0200126, -0.0633424, -0.0168273, 0.01839, -0.0474396, | |
| 33 | - 0.0407186, 0.0366202, 0.0856484, 0.190433, 0.0179868, 0.00304538, 0.0494411, -0.0136479, | |
| 34 | - 0.111389, 0.0899019, -0.0682664, -0.0100893, -0.06274, 0.0846425, 0.0863926, 0.0344789, | |
| 35 | - -0.00408501, -0.0395417, -0.0479772, 0.0403961, 0.0353354, 0.0277053, -0.0834275, -0.0522247, | |
| 36 | - 0.0280733, 0.0182633, 0.0412811, 0.030988, 0.0378751, -0.029654, 0.0410781, -0.0249082, | |
| 37 | - 0.00416055, 0.018964, 0.0161914, 0.0459608, 0.0419443, 0.000767701, 0.00510756, 0.0379706, | |
| 38 | - -0.0847118, -0.00462727, -0.00259532, -0.0472359, 0.019949, -0.015067, -0.0199384, -0.00995159, | |
| 39 | - -0.0998395, 0.0710568, 0.0364557, 0.0287091, 0.0888186, -0.0355493, -0.041063, -0.0758328, | |
| 40 | - -0.0759168, -0.0295297, -0.0642619, -0.030304, 0.0497545, 0.0141481, 0.0492566, -0.00652294, | |
| 41 | - -0.0226196, -0.0498264, -0.0234137, -0.0373272, -0.00606085, -0.00196313, -0.0231809, -0.0233476, | |
| 42 | - -0.00804062, 0.0100827, -0.0173219, 0.010049, 0.0315197, 0.0323537, 0.113683, 0.111685, | |
| 43 | - 0.050072, -0.0252066, 0.0313543, -0.0228036, -0.0584108, 0.0153078, -0.0722343, -0.0497144, | |
| 44 | - 0.0357457, 0.0532115, -0.0072414, -0.0434428, -0.035532, -0.00558749, -0.0402508, 0.0592584, | |
| 45 | - 0.0665029, 0.0417867, 0.00392788, -0.0309772, 0.00040911, -0.0210691, 0.0148444, 0.0146238, | |
| 46 | - 0.0102926, 0.0166917, 0.0144286, 0.0537487, 0.000804561, -0.0208786, -0.0339195, 0.0450666 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p25(hatfit_yaw00_lev1_p25); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p25_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p26.mh deleted
| 1 | -// hat_yaw00_lev1_p26.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p26_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p26_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p26(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.258416; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00350965, -0.00176727, 0.0280615, 0.100582, 0.0516356, -0.014299, 0.0969119, 0.0611335, | |
| 28 | - 0.0505389, -0.0141772, -0.072076, -0.0704732, 0.0288541, 0.0270603, 0.0417463, 0.012438, | |
| 29 | - -0.026474, 0.0106418, -0.0192412, 0.00922146, -0.0171761, 0.000301015, -0.0321873, -0.0131573, | |
| 30 | - 0.0106071, -0.0488669, -0.0599012, 0.0174829, 0.025597, -0.0133362, -0.104343, 0.184658, | |
| 31 | - 0.00435425, -0.0187789, -0.0399474, 0.0455359, -0.0288366, 0.0699611, 0.0333399, -0.0800692, | |
| 32 | - 0.0122853, 0.00344305, 0.0364898, -0.151364, -0.0852088, -0.00178568, 0.0316897, -0.0305154, | |
| 33 | - 0.00425055, 0.0301504, 0.0282844, -0.0151934, -0.0699295, -0.0299469, 0.0155334, -0.0324951, | |
| 34 | - 0.0297988, 0.0744955, 0.0666288, 0.0450893, -0.0617183, -0.0574214, -0.0496704, -0.0188076, | |
| 35 | - -0.0436869, -0.0200248, 0.0252562, 0.0178969, -0.047149, 0.00292977, -0.062868, -0.0842954, | |
| 36 | - 0.043477, 0.0700997, -0.00511285, 0.00301757, -0.0417495, 0.0746707, 0.129842, 0.0575271, | |
| 37 | - -0.0194383, 0.0668798, -0.0348481, -0.0217796, 0.0407116, 0.00766602, 0.0684383, 0.00838842, | |
| 38 | - 0.00132244, -0.0290873, 0.0186756, 0.0560339, 0.0317368, 0.045016, 0.0153503, 0.0255243, | |
| 39 | - -0.0127486, -0.0204903, -0.0369487, 0.0489509, 0.076522, 0.0118913, 0.0292849, 0.0308702, | |
| 40 | - 0.0262609, 0.00018022, -0.00272539, 0.00638587, -0.00702837, -0.0447886, -0.00564197, 0.0424315, | |
| 41 | - -0.0743288, -0.00477299, 0.0350454, 0.0938537, 0.0271551, 0.0364917, -0.0451706, 0.0142219, | |
| 42 | - 0.0136303, -0.0614797, -0.0208402, -0.0323582, 0.0512702, -0.0464986, 0.0845153, -0.00519982, | |
| 43 | - -0.0139982, 0.0406294, 0.0316932, -0.0047094, -0.00554515, -0.00944887, -0.057371, -0.0618004, | |
| 44 | - -0.0259082, 0.0238172, 0.0214687, -0.0108454, -0.00737554, 0.0388521, 0.0486423, -0.015575, | |
| 45 | - -0.0425036, -0.0370336, -0.0227926, 0.0054459, -0.00637709, 0.0188067, 0.0420747, 0.0616357, | |
| 46 | - 0.0455921, 0.0453217, -0.0197868, -0.0337423, 0.00859838, 0.00324809, -0.110627, -0.0217408 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p26(hatfit_yaw00_lev1_p26); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p26_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p27.mh deleted
| 1 | -// hat_yaw00_lev1_p27.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p27_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p27_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p27(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.27113; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0659569, 0.0464331, -0.103289, -0.0413934, -0.0712755, 0.0346774, 0.0776075, 0.00796679, | |
| 28 | - 0.0563323, 0.0349391, 0.00432435, 0.0186805, -0.0227768, -0.0411882, 0.0180095, -0.0299084, | |
| 29 | - -0.00206588, 0.0248174, 0.00940869, 0.0292864, 0.036919, -0.0294685, 0.0153051, -0.00761443, | |
| 30 | - 0.0207946, -0.020588, -0.0167524, 0.0681632, 0.0617253, -0.0113329, 0.0781032, 0.120613, | |
| 31 | - 0.0584448, 0.00895681, -0.0797661, 0.0199725, -0.091961, 0.0210085, -0.0103899, -0.0277577, | |
| 32 | - -0.0227788, -0.0613546, 0.129852, 0.213951, 0.0422787, 0.13874, -0.00840513, 0.0306937, | |
| 33 | - -0.0819338, -0.0682186, -0.000161617, 0.0264743, -0.0361697, -0.00122901, -0.0812425, -0.0483864, | |
| 34 | - -0.0367527, 0.00506988, -0.0264522, 0.028902, -0.0366666, 0.0396858, -0.0272568, -0.0785532, | |
| 35 | - -0.0198807, 0.0610862, -0.025964, -0.14049, -0.00583712, 0.0220212, 0.0874111, -0.0149439, | |
| 36 | - -0.0559577, 0.00576425, 0.140836, 0.0080078, 0.0273005, -0.0369856, -0.00886448, -0.0916488, | |
| 37 | - 0.0144509, 0.0354737, 0.0483817, -0.0442041, -0.131503, -0.0762792, -0.0897255, -0.127158, | |
| 38 | - 0.0441685, 0.0695112, -0.074735, -0.0137479, 0.0393981, -0.00539789, 0.128842, 0.0522683, | |
| 39 | - 0.0255804, 0.047649, -0.00367784, -0.0202382, 0.00898913, -0.0726423, 0.0113562, 0.11802, | |
| 40 | - -0.0330782, -0.0250013, 0.0268071, 0.0255662, -0.0229084, 0.0101128, 0.0254925, 0.0043954, | |
| 41 | - 0.0369233, -0.0643779, -0.032985, 0.0624686, -0.0150503, 0.0408147, -0.0230252, 0.0894271, | |
| 42 | - -0.0239848, 0.0469918, -0.0968045, -0.0127922, -0.0347748, 0.0538083, -0.115578, 0.00181725, | |
| 43 | - -0.012524, 0.0620152, 0.0521556, 0.0723663, 0.0223458, 0.0462425, 0.0593311, -0.0103422, | |
| 44 | - 0.0260298, -0.0407782, 0.0141628, 0.0185399, 0.0204076, -0.028273, 0.0340808, -0.0169075, | |
| 45 | - 0.0207457, -0.00554604, -0.0227777, -0.0297453, 0.0190428, -0.042317, 0.0355453, -0.0367405, | |
| 46 | - -0.0275647, 0.0482755, 0.0201301, -0.03366, 0.024693, -0.02327, 0.00295774, -0.0371129 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p27(hatfit_yaw00_lev1_p27); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p27_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p28.mh deleted
| 1 | -// hat_yaw00_lev1_p28.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p28_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p28_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p28(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.367265; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0491177, 0.0231859, -0.0192595, 0.0330815, -0.0576877, 0.0225005, -0.0189693, -0.073541, | |
| 28 | - -0.0359155, 0.0280567, 0.058852, -0.021962, -0.0898127, 0.00992803, -0.105721, -0.0758356, | |
| 29 | - -0.0399572, -0.00768943, -0.00834162, -0.0527198, -0.00505285, 0.0574883, 0.0495735, 0.0353355, | |
| 30 | - 0.00565149, -0.0138252, 0.0275444, -0.0166165, -0.0180696, 0.0225599, 0.00422979, 0.0218285, | |
| 31 | - 0.0106431, -0.00438759, -0.0253353, 0.0531471, -0.00232429, 0.0125946, -0.0443213, 0.0380441, | |
| 32 | - 0.0545565, -0.0245121, -0.0243301, -0.0125267, 0.00408049, 0.0140579, 0.0684684, 0.0430101, | |
| 33 | - 0.0634023, 0.0491572, 0.00547892, -0.00679154, 0.0471163, -0.0927548, 0.0349607, 0.144998, | |
| 34 | - 0.0668455, 0.0199738, 0.0526352, -0.0139169, 0.0229871, -0.054652, -0.0295048, -0.00122264, | |
| 35 | - 0.015289, 0.0322566, 0.0218405, 0.0401696, 0.0214872, 0.00197294, -0.010518, -0.0242283, | |
| 36 | - -0.0318135, -0.00595729, 0.0123801, -0.064379, -0.0093272, -0.047988, 0.0772107, -0.0524223, | |
| 37 | - -0.0844024, -0.000671938, -0.0151113, -0.0149563, -0.0036049, 0.083559, -0.0754542, -0.0956407, | |
| 38 | - -0.035109, -0.0375144, 0.0130195, -0.0312299, -0.0114591, 0.055766, 0.120315, -0.0705052, | |
| 39 | - -0.09633, -0.011542, 0.0518571, 0.00872181, 0.0032912, -0.103982, 0.0191252, 0.000668796, | |
| 40 | - -0.0401536, -0.0493773, 0.0168348, 0.01139, 0.00740454, 0.039254, -0.0362172, 0.02814, | |
| 41 | - 0.014249, 0.0354089, -0.0336193, -0.0126663, -0.0140059, 0.0756294, 0.0198288, 0.0730499, | |
| 42 | - -0.0297365, 0.16755, 0.0359386, 0.111478, -0.0208914, 0.0188063, -0.041303, 0.0697762, | |
| 43 | - 0.0757622, -0.134472, 0.0145896, 0.133626, 0.109506, -0.00747391, 0.0592377, -0.0418491, | |
| 44 | - 0.158857, -0.0764913, -0.0324145, -0.0740956, -0.0123833, 0.021435, 0.0274086, 0.0530061, | |
| 45 | - -0.0218357, 0.158698, -0.0228227, -0.102267, -0.0387576, -0.0172159, -0.0725893, -0.113119, | |
| 46 | - -0.0698103, -0.0334452, 0.0718383, 0.153521, 0.0144299, 0.0119134, 0.0590488, 0.0985707 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p28(hatfit_yaw00_lev1_p28); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p28_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p29.mh deleted
| 1 | -// hat_yaw00_lev1_p29.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p29_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p29_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p29(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.424705; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0101392, 0.0594769, -0.0503994, -0.0217849, -0.0176289, 0.0145377, -0.0522176, 0.00121116, | |
| 28 | - 0.00360008, -0.0637196, 0.0524819, 0.00122919, 0.00585721, 0.0379185, 0.0118428, 0.0235596, | |
| 29 | - -0.00853191, -0.0297745, -0.0191564, 0.0336039, -0.0503812, -0.018574, 0.0527383, 0.0650683, | |
| 30 | - -0.0243727, -0.0434241, 0.00644921, -0.0300497, 0.00796432, -0.0536368, -0.0621528, 0.0279038, | |
| 31 | - -0.00738354, 0.0727482, 0.0549024, 0.0158414, -0.0583833, -0.0326461, -0.0674633, 0.0371455, | |
| 32 | - -0.00235584, -0.115486, 0.0571597, 0.0360401, 0.0540954, -0.0771664, 0.0161136, -0.035354, | |
| 33 | - 0.0430979, 0.0319481, 0.0163812, 0.0243459, 0.0489217, 0.0122026, 0.0135831, -0.000182662, | |
| 34 | - 0.0122186, -0.00370179, 0.0199094, -0.00179121, 0.0482769, 0.0688446, -0.0269516, -0.12388, | |
| 35 | - -0.00352889, 0.0219264, -0.00611725, 0.0666546, 0.0573278, 0.107485, 0.106329, -0.0893211, | |
| 36 | - -0.0891537, -0.0652508, -0.0010934, -0.00372103, 0.0410134, -0.00465645, 0.0239861, 0.0364478, | |
| 37 | - 0.0299715, 0.0630202, -0.0419831, -0.0686255, -0.0778967, 0.0467799, 0.0227674, 0.0657124, | |
| 38 | - 0.027953, 0.0426046, 0.0358549, -0.0399428, -0.0516945, 0.00788335, -0.00547867, -0.048281, | |
| 39 | - -0.0345903, -0.0463522, 0.0183776, -0.0318859, -0.0904243, -0.0961235, 0.071241, -0.0241751, | |
| 40 | - 0.0132324, 0.0117648, 0.0641096, 0.0415856, -0.00481538, -0.07176, 0.0348739, 0.107626, | |
| 41 | - 0.0708185, 0.0693277, -0.0641239, -0.0530838, -0.0661927, 0.0143412, -0.0828503, 0.0556659, | |
| 42 | - -0.142306, 0.110705, -0.0279635, 0.149666, -0.0350018, 0.0168867, 0.0640467, 0.0316187, | |
| 43 | - 0.0633347, -0.158517, 0.1008, 0.0477829, 0.111661, -0.0384688, -0.0385956, -0.0884942, | |
| 44 | - 0.092242, -0.028367, -0.0673696, -0.0897616, 0.061894, 0.10119, 0.0367397, 0.0390003, | |
| 45 | - 0.00781926, 0.135441, -0.000614327, -0.0771375, -0.107391, 0.0188102, -0.0536738, -0.0515374, | |
| 46 | - -0.0620133, -0.0284957, 0.0837494, 0.185942, 0.135109, -0.0251174, 0.0389205, 0.114206 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p29(hatfit_yaw00_lev1_p29); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p29_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p30.mh deleted
| 1 | -// hat_yaw00_lev1_p30.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p30_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p30_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p30(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0531596; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.116102, -0.0172225, 0.0454119, -0.0262966, -0.0207222, -0.0427532, 0.103657, 0.02224, | |
| 28 | - 0.0453501, -0.0014315, -0.0386289, -0.0456763, -0.0244043, 0.0208895, -0.0248768, 0.0451056, | |
| 29 | - -0.0245413, 0.0127505, 0.0329261, -0.00134255, -0.0140381, -0.0259175, -0.0684072, -0.0488436, | |
| 30 | - -0.0394765, -0.0451636, -0.0680844, -0.0211025, -0.00292934, 0.0674798, -0.00288135, 0.0395926, | |
| 31 | - 0.00930007, 0.0408055, 0.0158728, -0.0368503, -0.00486911, 0.0206787, -0.0960855, 0.0674777, | |
| 32 | - 0.146507, 0.0597985, -0.0785504, -0.0352399, -0.0553251, 0.0498531, -0.0510412, -0.05066, | |
| 33 | - -0.0637962, 0.0197599, 0.0860904, 0.19492, 0.16902, -0.0177371, 0.0311064, 0.0233502, | |
| 34 | - 0.0702246, 0.0475911, -0.09766, -0.0689293, -0.00937745, 0.00158015, 0.113499, 0.129597, | |
| 35 | - 0.0206268, 0.0119381, 0.0850598, 0.015194, -0.0276467, -0.0842619, 0.00383884, -0.00787932, | |
| 36 | - 0.016834, 3.43563e-05, 0.0220212, 0.0351324, -0.013533, 0.00399515, -0.0409508, -0.0654589, | |
| 37 | - -0.032318, 0.0819506, -0.0245304, -0.127415, -0.0202418, 0.00750139, 0.103719, 0.027766, | |
| 38 | - -0.00622414, -0.0615687, 0.0384051, -0.00782071, -0.109777, -0.0693072, -0.030324, -0.0384596, | |
| 39 | - -0.0193364, -0.0411026, 0.113159, 0.0408849, -0.0170671, 0.0279579, -0.0372294, -0.0214017, | |
| 40 | - 0.0114996, 0.0578027, -0.0615514, 0.0152347, 0.0460153, 0.111419, 0.0514752, 0.0416284, | |
| 41 | - -0.00200971, -0.00390233, -0.0450069, -0.023482, 0.0194326, -0.0105444, -0.0657913, -0.0614153, | |
| 42 | - -0.00685912, -0.0665019, -0.0477235, 0.0210051, 0.0345011, 0.0562563, 0.0548732, 0.00697098, | |
| 43 | - -0.0315075, -0.0138438, 0.00567381, -0.0284875, 0.00999239, -0.00871022, -0.0646768, -0.0581475, | |
| 44 | - -0.0023445, 0.0307289, -0.0300773, -0.0644101, 0.012134, -0.0145632, -0.0152647, 0.0761716, | |
| 45 | - -0.0944007, -0.00998309, 0.0451726, 0.0128116, 0.025647, -0.0153354, -0.0149689, 0.0425286, | |
| 46 | - 0.00340354, 0.0453019, -0.0248344, 0.0279366, -0.0537908, -0.00810353, -0.0232331, -0.0725048 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p30(hatfit_yaw00_lev1_p30); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p30_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p31.mh deleted
| 1 | -// hat_yaw00_lev1_p31.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p31_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p31_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p31(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.388448; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0395692, -0.000582387, 0.0396386, 0.00866431, 0.0319535, 0.0041876, -0.0354922, -0.0104189, | |
| 28 | - -0.0310756, -0.0246819, 0.0131718, 0.0140588, -0.0118571, 0.0396711, 0.00573793, -0.0420841, | |
| 29 | - -0.0392253, 0.00435255, 0.0107915, 0.0484352, 0.069234, 0.0120039, -0.0142504, -0.0481674, | |
| 30 | - -0.0288146, -0.0300535, 0.0359163, 0.0134041, 0.0314277, -0.0117238, 0.0785214, 0.0631591, | |
| 31 | - -0.0130544, -0.0264549, -0.05275, -0.012083, 0.0545285, 0.00115459, -0.0312022, 0.0219239, | |
| 32 | - -0.0323945, -0.0122762, 0.015471, -0.0308729, -0.0539241, -0.0488238, 0.12595, -0.111672, | |
| 33 | - -0.0124925, 0.00426807, 0.0116804, -0.00775668, 0.039259, -0.0806952, 0.061823, 0.0456183, | |
| 34 | - 0.0410691, 0.0470852, 0.0510043, -0.00393638, -0.0729619, -0.0124941, 0.0428558, 0.122023, | |
| 35 | - 0.0525826, 0.0228482, -0.0453305, -0.0276555, -0.0690039, 0.00233118, -0.0920037, -0.011254, | |
| 36 | - -0.0476996, -0.00179941, -0.00906979, -0.0290895, 0.00247007, 0.0122311, -0.0150106, -0.0317769, | |
| 37 | - 0.099511, -0.102523, 0.0281903, 0.0553347, 0.119371, 0.0605233, -0.0784847, 0.0330739, | |
| 38 | - 0.0753692, 0.0859453, -0.0625154, -0.0926569, -0.0918532, 0.109675, -0.0501109, 0.0111423, | |
| 39 | - -0.049514, 0.0157422, 0.0406392, 0.105897, 0.038947, -0.0269157, -0.0732481, -0.134709, | |
| 40 | - -0.0132958, -0.0224088, 0.0157976, 0.0838067, 0.120186, 0.0517959, 0.105812, 0.130127, | |
| 41 | - 0.0182283, 0.052454, -0.0116218, -0.0192446, -0.0667099, -0.0212154, 0.0318632, -0.00745494, | |
| 42 | - 0.00943903, -0.0745027, 0.0762356, -0.00904315, -0.017699, -0.0561609, 0.0252819, 0.00907982, | |
| 43 | - -0.0613076, 0.0518035, 0.0243614, -0.0599225, 0.0215072, 0.00576192, 0.00735767, -0.0274716, | |
| 44 | - 0.0246765, 0.0444133, -0.000244459, -0.0395511, -0.0331652, -0.0164145, 0.0816089, 0.0400588, | |
| 45 | - -0.0199769, -0.102558, -0.0129884, -0.0170645, -0.0686559, -0.0387113, -0.0817568, -0.0127845, | |
| 46 | - -0.00316126, 0.0933731, 0.0331108, 0.0268358, 0.0409501, 0.0787449, 0.0206058, 0.0677994 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p31(hatfit_yaw00_lev1_p31); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p31_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p32.mh deleted
| 1 | -// hat_yaw00_lev1_p32.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p32_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p32_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p32(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.320639; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00911108, -0.0479156, -0.00740632, -0.012859, 0.0309539, 0.00489859, -0.00624756, -0.020108, | |
| 28 | - 0.0677567, -0.0155136, 0.0678659, 0.00147824, 0.0438044, 0.00549171, 0.0268882, -0.00297623, | |
| 29 | - 0.0467355, -0.000569183, 0.0496245, 0.014699, 0.0616936, 0.00263958, -0.0395147, -0.0297785, | |
| 30 | - 0.0126961, -0.00781382, 0.000625079, 0.0178607, 0.0226246, 0.0655686, 0.0337088, -0.0304876, | |
| 31 | - -0.0257202, -0.0219612, -0.0213103, 0.0194326, 0.0577388, -0.0477398, 0.0466768, 0.0194634, | |
| 32 | - 0.0182962, -0.0162236, -0.00055095, -0.0110111, -0.0190531, -0.0274738, -0.0244005, 0.066355, | |
| 33 | - -0.0631781, 0.0319185, 0.00377789, 0.00719412, -0.0578098, 0.0220575, -0.0130465, -0.0338156, | |
| 34 | - -0.0718547, -0.0406409, -0.0248472, -0.0471251, -0.0763616, -0.0305719, 0.0872795, -0.04342, | |
| 35 | - -0.0291223, 0.0174219, 0.0140269, 0.0152528, -0.00418056, -0.0340391, 0.0826187, 0.0677038, | |
| 36 | - 0.0170003, -0.00907442, -0.0291512, -0.0377432, -0.0488433, 0.0483225, -0.100243, 0.034457, | |
| 37 | - -0.106342, 0.12952, 0.0241453, 0.0446246, -0.0607043, 0.0811712, 0.0895215, -0.0504978, | |
| 38 | - 0.122301, -0.0768722, 0.0214746, -0.0429019, 0.0439603, -0.0422063, 0.0225263, -0.0368518, | |
| 39 | - 0.0926311, 0.02738, -0.0239644, 0.0229243, 0.0579599, 0.0101616, -0.00726972, -0.000649471, | |
| 40 | - 0.0135215, 0.0385566, 0.0175664, -0.0460473, -0.050476, 0.0167167, -0.040066, 0.0147113, | |
| 41 | - -0.00118741, 0.042841, 0.0631771, 0.145191, 0.0466015, -0.0373302, 0.0596687, 0.106164, | |
| 42 | - 0.0088616, 0.0634729, -0.0771898, 0.0459812, 0.0167569, -0.0705409, -0.0386409, 0.112283, | |
| 43 | - -0.0571554, -0.168199, 0.0226604, 0.034943, 0.0155652, 0.0234396, -0.0123834, 0.00107804, | |
| 44 | - 0.0273647, 0.033714, 0.0945813, -0.0809198, 0.0404793, 0.0308191, -0.00997607, -0.0276745, | |
| 45 | - 0.0276755, 0.0481048, -0.101447, -0.0905513, -0.0451026, 0.0491422, 0.0664234, -0.0265713, | |
| 46 | - -0.040285, -0.0443237, 0.0464626, 0.0769965, 0.0259644, -0.0342793, -0.0543196, -0.0928784 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p32(hatfit_yaw00_lev1_p32); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p32_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p33.mh deleted
| 1 | -// hat_yaw00_lev1_p33.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p33_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p33_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p33(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0187845; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0128283, -0.055128, 0.010886, -0.0231225, -0.0305408, 0.00461099, 0.0104216, 0.0271656, | |
| 28 | - -0.00228586, 0.0483301, -0.0136487, 0.0271316, 0.0564309, -0.0270776, 0.043211, -0.0112379, | |
| 29 | - 0.0231918, -0.0112949, 0.036762, -0.00612861, -0.00486995, -0.0342318, -0.0290889, -0.0106391, | |
| 30 | - 0.000312558, 0.0285837, 0.0235095, -0.028434, 0.00831803, 0.0265148, -0.050084, -0.0117228, | |
| 31 | - 0.00236049, -0.041693, -0.026685, 0.0302716, 0.00699107, 0.0666115, 0.037568, -0.003785, | |
| 32 | - -0.0251941, 0.0411825, -0.122721, -0.0247136, -0.0390895, 0.0417399, -0.0253207, -0.0118569, | |
| 33 | - -0.0162393, -0.0527942, 0.0783038, -0.00984112, -0.0233633, -0.000284128, -0.0400959, 0.0280783, | |
| 34 | - -0.0313475, 0.0260252, 0.00081784, -0.00324565, -0.0279781, 0.044135, 0.040844, 0.0306354, | |
| 35 | - 0.0187744, -0.0480202, 0.00757192, -0.00948626, -0.0589132, -0.0367085, 0.0597323, -0.108456, | |
| 36 | - -0.0430326, -0.0269714, 0.0392287, -0.00913477, 0.0286522, -0.137626, 0.0983528, 0.0694479, | |
| 37 | - 0.0673885, -0.0641448, 0.0966714, 0.0478503, 0.0526654, 0.105189, 0.0627519, -0.00105678, | |
| 38 | - -0.0623832, 0.134875, -0.0582099, -0.0352066, -0.0525147, 0.00990412, 0.0244933, 0.0171214, | |
| 39 | - 0.0367176, -0.0621222, 0.0158906, 0.0668107, -0.0107779, -0.0596686, -0.0566563, -0.0810594, | |
| 40 | - 0.0323834, 0.0121392, 0.0145543, -0.00650743, 0.114811, 0.0771221, -0.0600683, 0.0573055, | |
| 41 | - 0.0851473, 0.0814111, -0.0693027, -0.0160514, -0.0557765, 0.096182, -0.0552072, -0.0662288, | |
| 42 | - -0.029029, -0.0104541, 0.00859579, -0.0230395, -0.00224977, -0.0723467, -0.113479, -0.0628757, | |
| 43 | - 0.0067731, -0.000458681, -0.0301224, -0.00614874, -0.0341254, 0.00474058, 0.0300139, 0.0479876, | |
| 44 | - -0.0236848, -0.0624128, -0.0471116, 0.0415574, 0.0389746, 0.00909709, 0.102794, 0.0861245, | |
| 45 | - -0.0197406, -0.0237167, 0.164457, -0.0215144, -0.0320249, -0.0882093, -0.0687686, -0.0792362, | |
| 46 | - -0.0391014, 0.0326003, -0.031806, -0.111365, 0.0365271, 0.00928061, 0.0847804, 0.066844 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p33(hatfit_yaw00_lev1_p33); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p33_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p34.mh deleted
| 1 | -// hat_yaw00_lev1_p34.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p34_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p34_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p34(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.178305; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0332668, -0.0545706, -0.0397769, -0.102727, -0.0513047, -0.0280496, 0.0212568, 0.100975, | |
| 28 | - 0.0147986, 0.0945098, 0.0225728, 0.0163496, -0.0706498, 0.0135124, -0.0338867, -0.00292602, | |
| 29 | - -0.0117578, -0.0228322, -0.0991631, -0.0196783, -0.0715382, -0.0609741, -0.0451959, -0.00996876, | |
| 30 | - -0.0218956, 0.0405813, 0.0512725, -0.0304816, -0.0346735, 0.0410437, -0.0599454, 0.0278405, | |
| 31 | - -0.00430012, -0.0515526, 0.0408474, -0.0180384, -0.0375938, -0.050297, 0.0854439, -0.065132, | |
| 32 | - -0.0480776, -0.00851022, -0.0311825, -0.0125235, 0.10003, 0.0265117, -0.0932129, -0.0905405, | |
| 33 | - -0.0179596, -0.0783844, 0.0545748, 0.0983039, 0.112361, 0.103802, 0.000276691, -0.000181198, | |
| 34 | - 0.0260529, 0.0539351, 0.0215641, -0.0677932, 0.000667061, 0.145442, 0.129529, -0.000832013, | |
| 35 | - -0.0467681, 0.0241408, 0.0423294, 0.121797, -0.0189404, -0.12473, -0.00636875, -0.0269607, | |
| 36 | - 0.0997501, -0.0567658, -0.0953586, -0.0093058, 0.0775357, 0.0544267, -0.0465235, -0.0602757, | |
| 37 | - 0.0582786, -0.0635637, -0.027749, -0.0187748, -0.0546626, -0.149418, 0.043224, 0.0541148, | |
| 38 | - 0.0228059, 0.0306246, 0.00155719, -0.0412755, 0.032523, -0.0587637, -0.0013374, 0.0502265, | |
| 39 | - -0.0342482, 0.038831, 0.110763, -0.0240828, -0.0316851, -0.083598, -0.0966767, 0.00540257, | |
| 40 | - 0.0175222, -0.0453235, -0.0782324, 0.0424939, 0.0441882, -0.00707829, 0.0587061, 0.0676098, | |
| 41 | - -0.0898869, -0.0279974, 0.112122, -0.0175998, 0.0104283, -0.00582047, 0.00140559, 0.0392947, | |
| 42 | - -0.0652298, 0.0749545, 0.0544736, 0.0131598, 0.0152306, 0.0831729, -0.0200888, -0.0612296, | |
| 43 | - -0.0401844, -0.0736851, -0.079223, 0.0341835, -0.0466979, 0.0652963, -0.0215782, 0.0160373, | |
| 44 | - -0.00665171, 0.0425585, -0.0160073, 0.0448272, 0.00451256, 0.00694954, -0.00332655, -0.00627149, | |
| 45 | - -0.0135419, 0.00919265, 0.0027794, -0.00835187, -0.0440384, 0.0110796, -0.000867199, -0.00321809, | |
| 46 | - 0.0543303, -0.0137353, -0.0224532, -0.0320376, -0.0150772, 0.00407994, 0.0127847, -0.0176401 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p34(hatfit_yaw00_lev1_p34); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p34_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p35.mh deleted
| 1 | -// hat_yaw00_lev1_p35.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p35_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p35_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p35(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.128463; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0548922, -0.0110683, -0.142114, -0.061709, -0.0739904, 0.0729181, 0.00372399, -0.0401665, | |
| 28 | - -0.0617821, 0.0601517, 0.0413927, -0.0297843, -0.0801413, 0.00486967, 0.0463089, 0.0182653, | |
| 29 | - 0.0368233, -0.00796331, 0.00955545, -0.0470071, -0.0327957, -0.0484237, 0.00205177, -0.0591226, | |
| 30 | - 0.0825365, 0.0521992, 0.00709222, 0.0413314, 0.026715, 0.0396009, 0.05337, -0.0870864, | |
| 31 | - 0.0624343, -0.0520468, 0.0297113, 0.0155546, 0.0373713, -0.0259624, -0.00302342, 0.0722519, | |
| 32 | - -0.012865, -0.0359395, 0.201415, 0.0834435, 0.131066, 0.0488908, -0.0165508, -0.0287044, | |
| 33 | - -0.0236077, 0.0360244, -0.0465815, 0.0298103, -0.0507475, -0.0381212, -0.00291925, 0.066679, | |
| 34 | - -0.0280296, -0.116999, -0.0653786, 0.138842, 0.135875, 0.00553319, 0.0729103, 0.0155418, | |
| 35 | - -0.0202042, -0.0540844, 0.101567, -0.051419, 0.0423417, 0.0287684, -0.123131, 0.0581658, | |
| 36 | - 0.0604602, 0.113075, -0.0644531, -0.0664801, -0.0592592, 0.0547968, 0.0039087, -0.0837654, | |
| 37 | - -0.0117236, 0.0236007, -0.146423, -0.0754925, -0.0932447, -0.0715713, -0.0024796, 0.001342, | |
| 38 | - 0.00909714, 0.0537925, -0.0105599, -0.0726132, -0.0738913, 0.023578, 0.0422188, -0.0206054, | |
| 39 | - 0.0173315, 0.0659782, 0.0403875, 1.06256e-05, -0.0569155, -0.00761777, 0.00587271, 0.0149728, | |
| 40 | - -0.0151301, 0.0470131, 0.0320093, 0.0175039, -0.0121165, -0.051231, 0.0608582, -0.0104416, | |
| 41 | - -0.0912704, 0.00771752, 0.0291578, -0.0629806, 0.0279452, -0.0162268, -0.0166928, 0.0858329, | |
| 42 | - -0.0414572, -0.00935215, -0.00984813, 0.0352476, 0.0321423, 0.0210393, -0.0371691, 0.0191584, | |
| 43 | - -0.0362629, -0.0497132, 0.00950301, 0.0912439, 0.0447469, 0.0326298, -0.0463132, 0.0560467, | |
| 44 | - 0.0252251, -0.0729444, -0.00413866, -0.0123862, 0.0247588, -0.0158056, 0.017215, -0.0253207, | |
| 45 | - 0.0436535, -0.0472254, 0.0386084, -0.0160216, 0.00108055, 0.00200998, 0.0146819, 0.00212591, | |
| 46 | - 0.0759401, -0.0456016, 0.0433273, -0.0109767, 0.00185021, 0.0298317, -0.018552, -0.128413 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p35(hatfit_yaw00_lev1_p35); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p35_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p36.mh deleted
| 1 | -// hat_yaw00_lev1_p36.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p36_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p36_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p36(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.1457; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0564536, 0.0914242, 0.00271123, -0.00182844, -0.0633129, -0.00733241, 0.0999422, -0.0477681, | |
| 28 | - 0.0764352, -0.0870852, -0.0486103, -0.0607736, -0.000435941, 0.00508668, -0.00500671, -0.0702268, | |
| 29 | - 0.128733, 0.0442575, 0.00878972, 0.0700395, 0.0473909, 0.0543005, -0.0111132, 0.013342, | |
| 30 | - 0.0205181, -0.0355777, -0.0151112, -0.0472716, -0.0856515, -0.0205877, -0.052943, -0.0136666, | |
| 31 | - 0.0069465, -0.0149346, -0.011358, 0.12753, 0.0984476, -0.0389193, 0.0579468, 0.0582624, | |
| 32 | - -0.0110768, 0.0444154, 0.00744086, 0.0866081, 0.0722389, -0.0573269, 0.0403181, 0.0920937, | |
| 33 | - -0.0364049, -0.115042, -0.00983702, 0.0596673, 0.0885667, 0.0310721, 0.00586564, 0.0468913, | |
| 34 | - -0.017122, -0.000325935, 0.0991339, -0.116244, -0.00667895, -0.0376603, -0.0678163, -0.0170879, | |
| 35 | - 0.0636697, 0.176845, -0.0927495, -0.091466, -0.0301194, 0.0528387, 0.0603075, 0.0012436, | |
| 36 | - -0.023938, 0.0278906, 0.172167, 0.0984494, 0.0194545, -0.024253, 0.0253562, -0.0318126, | |
| 37 | - -0.0194975, -0.0336116, -0.0267596, -0.0570041, -0.114461, 0.049068, -0.0356616, -0.0641071, | |
| 38 | - -0.00190114, 0.0505992, 0.0442466, 0.0142396, 0.00045172, 0.00117748, 0.064219, 0.00253523, | |
| 39 | - -0.0195815, -0.0274017, -0.0863983, -0.00886134, 0.030472, 0.0307451, 0.0463506, 0.0257106, | |
| 40 | - -0.0510129, -0.0619829, 0.0429726, 0.00240901, 0.0356966, 0.0180151, 0.0145302, 0.0191548, | |
| 41 | - -0.00199986, -0.0803635, -0.0330699, -0.0717274, -0.111292, -0.0742702, -0.0968331, -0.0140921, | |
| 42 | - -0.00389644, -0.0145533, 0.0115622, 0.0453926, 0.0300503, -0.0389438, -0.0292711, 0.0364436, | |
| 43 | - 0.0649299, -0.0437214, 0.0145625, -0.0366767, -0.00301135, -0.0164178, 0.0228936, -0.0039428, | |
| 44 | - 0.0138233, -0.059277, 0.0865879, -0.0358495, 0.0105995, -0.00712132, -0.0193304, -0.0165668, | |
| 45 | - 0.030437, -0.0192797, -0.0634831, -0.010421, -0.0251347, 0.0561532, 0.0426267, -0.0252875, | |
| 46 | - -0.0555928, 0.101112, 0.0649617, 0.0141765, 0.0842734, 0.00376744, -0.076665, -0.0297095 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p36(hatfit_yaw00_lev1_p36); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p36_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p37.mh deleted
| 1 | -// hat_yaw00_lev1_p37.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p37_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p37_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p37(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.210055; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0950493, -0.00935139, 0.01181, 0.0394899, 0.0811007, 0.0275117, 0.0722424, -0.0881804, | |
| 28 | - 0.0348525, -0.0485876, -0.0160258, -0.0341514, -0.0305043, 0.0101718, -0.015857, 0.0402802, | |
| 29 | - -0.0377945, -0.0019027, 0.072919, 0.0842745, 0.000222965, -0.0380939, -0.0246376, -0.00424166, | |
| 30 | - 0.0194486, -0.0349667, -0.0273841, 0.0305295, 0.0636758, 0.00705299, 0.0305668, 0.0398521, | |
| 31 | - -0.118265, -0.0584037, -0.10794, -0.0415925, -0.0515304, -0.0127716, -0.0253359, -0.0407751, | |
| 32 | - 0.0420787, -0.148058, 0.0641812, 0.0268058, 0.0528418, -0.0247641, -0.0671391, 0.0818132, | |
| 33 | - 0.0311401, 0.128031, -0.0883229, -0.153532, -0.0651225, 0.034562, -0.00306306, -0.0456042, | |
| 34 | - 0.0944498, 0.100044, -0.000950214, 0.0151305, -0.0213224, -0.00808936, 0.0587715, -0.0295509, | |
| 35 | - -0.0385254, 0.034971, 0.0858179, 0.0599195, 0.0747935, -0.0450389, 0.00131876, 0.0261896, | |
| 36 | - 0.169738, 0.154491, 0.100171, 0.012634, -1.95869e-05, 0.0209616, 0.0390095, 0.102296, | |
| 37 | - -0.0308072, 0.0561644, 0.0242179, 0.0230298, -0.0307823, -0.00846482, 0.0667324, -0.0606024, | |
| 38 | - -0.0581933, -0.0114812, -0.0133874, -0.0071245, 0.0813445, 0.0274338, 0.0280443, 0.0464938, | |
| 39 | - -0.0905175, -0.0693952, 0.00853314, -0.00178364, -0.0380305, 0.00459273, 0.0106825, 0.0111277, | |
| 40 | - -0.0120436, -0.117429, -0.0235661, -0.0397598, -0.101663, -0.0520093, -0.0944389, 0.000748769, | |
| 41 | - -0.11383, -0.000200208, -0.0660839, -0.0318683, 0.00202877, 0.0629289, 0.0393827, -0.0105708, | |
| 42 | - 0.0631688, -0.108595, 0.0667351, -0.0726672, 0.0300087, -0.00349452, 0.00734037, 0.031999, | |
| 43 | - 0.0497461, 0.00735207, 0.00306494, 0.014219, -0.0212763, 0.00729894, 0.0156232, -0.0397873, | |
| 44 | - 0.0196028, 0.0102293, -0.0297117, -0.0220887, 0.011573, 0.0196214, -0.0306056, -0.0356663, | |
| 45 | - 0.0183344, 0.0707345, 0.0325791, -0.00904613, 0.0610273, 0.0230972, -0.0134933, -0.00580341, | |
| 46 | - -0.00179494, 0.0261325, 0.0439199, 0.0950851, 0.0437041, -0.0344384, -0.0711167, 0.0268441 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p37(hatfit_yaw00_lev1_p37); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p37_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p38.mh deleted
| 1 | -// hat_yaw00_lev1_p38.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p38_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p38_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p38(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.00825774; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.020407, 0.00890872, -0.0169787, -0.00204599, 0.00584481, 0.00639558, -0.0849912, 0.00116488, | |
| 28 | - -0.0601776, 0.00297223, 0.0121289, -0.000996734, -0.0504259, 0.0155576, 0.0171136, -0.0268562, | |
| 29 | - -0.113227, -0.0539823, -0.00137992, -0.0682175, -0.054388, -0.029641, 0.056121, -0.0473043, | |
| 30 | - -0.0266457, 0.0332315, -0.0335831, 0.0421327, 0.0238765, 0.0182142, 0.0496482, 0.0712496, | |
| 31 | - -0.00973039, 0.0157489, 0.0170978, -0.0118249, -0.00446035, 0.00864153, -0.085431, 0.0142116, | |
| 32 | - -0.0440188, 0.0403919, 0.0950656, 0.0150426, -0.0402887, -0.00466724, 0.0537792, 0.00106359, | |
| 33 | - 0.0897128, -0.0689607, -0.0521427, -0.0517765, 0.030659, -0.0411972, 0.0376676, -0.082132, | |
| 34 | - 0.127533, 0.0719542, 0.00061304, 0.0947038, 0.0898292, 0.05316, 0.0314538, 0.053163, | |
| 35 | - -0.00890308, -0.0451384, 0.0111458, -0.10212, -0.0509414, -0.0147361, -0.0346506, -0.0219878, | |
| 36 | - 0.00741214, 0.0021788, 0.0244155, 0.101578, 0.0200075, -0.0234641, 0.0230619, 0.0857225, | |
| 37 | - -0.0198343, 0.0936703, -0.0537956, 0.0921753, 0.138995, -0.0724931, 0.0615286, 0.0941637, | |
| 38 | - -0.0237765, -0.164809, 0.0134797, -0.00604466, -0.0255852, 0.0324988, -0.1069, 0.0255736, | |
| 39 | - -0.0514497, -0.0090038, 0.0936203, -0.0991071, 0.00258113, -0.0100746, -0.00428397, -0.0354388, | |
| 40 | - 0.0905338, 0.142749, -0.142989, -0.0846769, -0.0825498, 0.0805062, -0.00189693, -0.0404901, | |
| 41 | - -0.00501544, -0.0170325, 0.104385, 0.133965, 0.0772667, -0.076081, 0.040041, -0.0423703, | |
| 42 | - -0.0192534, 0.00365024, -0.00859575, -0.021672, -0.0746258, 0.0422147, 0.00830109, -0.00595983, | |
| 43 | - -0.00282683, 0.0146986, 0.0234629, 0.0102508, 0.00175921, 0.0115853, 0.0428529, -0.0050183, | |
| 44 | - -0.0154206, -0.0336309, 0.0154812, -0.0383404, 0.0251418, -0.0212968, -0.0185515, 0.0357765, | |
| 45 | - -0.0842346, -0.022264, -0.00279582, 0.00169226, 0.056891, 0.056779, 0.0231415, 0.0348637, | |
| 46 | - -0.0464232, -0.0307553, -0.00421516, -0.0536781, -0.0807341, -0.0179894, -0.0516063, 0.0255976 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p38(hatfit_yaw00_lev1_p38); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p38_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p39.mh deleted
| 1 | -// hat_yaw00_lev1_p39.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p39_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p39_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p39(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.02697; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0137683, 0.0311045, -0.00576306, -0.0245337, -0.02928, 0.0415028, -0.107335, -0.016224, | |
| 28 | - -0.0457684, -0.00847157, 0.00116153, -0.0267579, -0.0351215, 0.010888, 0.05105, -0.00561323, | |
| 29 | - -0.0823366, -0.0528186, -0.0139097, -0.0424504, -0.0681589, -0.0593362, 0.0631822, -0.0315455, | |
| 30 | - -0.0168791, 0.0661379, 0.00162439, 0.00656767, 0.0131466, 0.0123653, 0.0107543, -0.00464072, | |
| 31 | - -0.0276494, 0.0165671, -0.0178021, 0.0154676, -0.0178779, 0.0137792, -0.0560624, 0.0100809, | |
| 32 | - -0.0397822, 0.0332191, 0.0806629, 0.106174, -0.0112653, 0.00187161, 0.017389, 0.0214195, | |
| 33 | - 0.089707, -0.0532137, -0.0466615, -0.0195368, 0.0441674, -0.0145126, 0.0705208, -0.0387176, | |
| 34 | - 0.116554, 0.0654563, 0.00963125, 0.0722848, 0.113763, 0.0196434, 0.0266145, 0.0757253, | |
| 35 | - -0.0426398, -0.109253, 0.000972455, -0.070805, -0.068536, -0.00561257, -0.0636282, -0.0180017, | |
| 36 | - 0.0597286, -0.0306022, 0.0558584, 0.0753626, 0.0085934, -0.0378896, 0.067625, 0.0802456, | |
| 37 | - -0.0274845, 0.162607, -0.0419922, 0.0483271, 0.123508, -0.0646426, 0.0586254, 0.0346976, | |
| 38 | - 0.0291506, -0.159534, -0.0188968, 0.0379708, 0.0134742, 0.029137, -0.0647252, 0.029742, | |
| 39 | - -0.0261874, -0.0465041, 0.143266, -0.088367, -0.0551904, -0.00386277, -0.0299972, -0.0609167, | |
| 40 | - 0.00441822, 0.154191, -0.129404, -0.0879472, -0.0580239, 0.0599026, -0.0028995, -0.0540687, | |
| 41 | - 0.0144118, -0.0158184, 0.0417359, 0.0837592, 0.0243108, 0.00549566, 0.0503914, -0.0967733, | |
| 42 | - -0.0229701, -0.073099, -0.0420856, -0.0503984, -0.111204, 0.0354666, -0.0518395, -0.0114431, | |
| 43 | - 0.0396234, 0.025096, 0.0130838, 0.056822, -0.0405526, -0.00781527, 0.073553, 0.00667156, | |
| 44 | - 0.000719109, -0.0457464, -0.00136307, -0.0379476, -0.0192339, -0.0586512, -0.0390123, 0.0188078, | |
| 45 | - -0.0139295, 0.0144688, 0.0327322, 0.0454937, 0.0938609, 0.0331601, 0.050297, 0.0423592, | |
| 46 | - -0.0363346, -0.010519, -0.00131118, -0.0415203, -0.0498438, -0.00662749, -0.0168949, 0.0644758 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p39(hatfit_yaw00_lev1_p39); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p39_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p40.mh deleted
| 1 | -// hat_yaw00_lev1_p40.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p40_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p40_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p40(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0617577; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0156052, -0.0459866, -0.00696063, 0.0189737, 0.0265626, 0.0491555, -0.068995, 0.0519549, | |
| 28 | - 0.0218703, 0.00595397, -0.048948, -0.0240862, -0.0436321, 0.0146736, 0.00315227, 0.0799594, | |
| 29 | - -0.0552814, -0.00730044, -0.0093325, -0.0324573, -0.0363188, -0.0184091, -0.0983743, -0.0142322, | |
| 30 | - -0.0277883, -0.0040611, 0.0201635, 0.0043392, -0.0182613, 0.0492748, -0.0425199, -0.0311676, | |
| 31 | - -0.0198514, -0.0524871, 0.0234489, -0.0173401, -0.0654155, -0.0320293, 0.136825, 0.00609792, | |
| 32 | - 0.0312316, 0.0166199, 0.0998807, -0.0362655, -0.00310585, -0.103129, -0.0359893, -0.0347384, | |
| 33 | - -0.125087, -0.0814028, -0.00221715, 0.057648, 0.0746448, 0.00398399, 0.0274751, -0.0829248, | |
| 34 | - 0.0451593, 0.0611274, -0.0543719, 0.00362775, 0.00348841, 0.154784, 0.0544589, -0.000858817, | |
| 35 | - 0.0289775, 0.116359, 0.0488896, 0.0798694, 0.0394962, -0.0692173, 0.0532962, 0.0636297, | |
| 36 | - 0.088678, -0.0533548, -0.0582863, -0.000803631, 0.109162, 0.00118488, -0.059963, -0.0239472, | |
| 37 | - 0.0771359, 0.0276344, -0.0882249, 0.0688487, -0.00748756, -0.0326405, -0.0178754, -0.00313541, | |
| 38 | - 0.0451601, 0.043886, 0.0659399, -0.059189, 0.0788565, 0.0218061, 0.0332941, 0.108433, | |
| 39 | - -0.0465029, -0.0203694, 0.0980137, -0.0546819, -0.0378287, -0.03932, -0.00657228, -0.018022, | |
| 40 | - -0.0559456, -0.00620295, -0.0316693, 0.00968451, -0.0135787, 0.0130518, -0.00506395, -0.00892536, | |
| 41 | - -0.0593109, -0.104716, 0.0508358, 0.060059, -0.00030429, 0.0226462, 0.069877, 0.0195314, | |
| 42 | - -0.0268644, 0.00339959, 0.00963795, 0.0229593, -0.0540894, -0.0612055, -0.0395579, -0.0376664, | |
| 43 | - 0.0072953, 0.0102422, -0.0257972, 0.0812377, -0.110344, 0.046166, 0.0147895, -0.0229899, | |
| 44 | - 0.00976963, -0.0256674, -0.0210554, 0.00772394, -0.00608955, 0.00331062, -0.0475402, 0.0181648, | |
| 45 | - 0.0137614, -0.000236305, -0.0178339, -0.0104172, -0.0305334, -0.0299109, -0.0491962, -0.0191575, | |
| 46 | - 0.057466, 0.0412388, -0.034844, -0.0256005, -0.00917834, 0.00792608, 0.0468386, 0.021432 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p40(hatfit_yaw00_lev1_p40); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p40_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p41.mh deleted
| 1 | -// hat_yaw00_lev1_p41.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p41_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p41_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p41(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.262799; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0594156, -0.0187286, -0.0323565, -0.0226788, -0.055155, 0.0173702, -0.033518, -0.0434084, | |
| 28 | - 0.0596953, 0.04228, -0.00726641, 0.0119526, -0.0537957, 0.0293668, 0.100588, 0.000491553, | |
| 29 | - 0.0307966, 0.0224319, 0.00512161, -0.0152303, 0.00408469, -0.0856581, -0.0283398, 0.0343747, | |
| 30 | - 0.0086871, 0.0207789, 0.0469816, -0.038938, 0.00391296, -0.0168281, -0.0427036, 0.00361286, | |
| 31 | - 0.0179812, 0.0169613, 0.00572675, 0.0304129, -0.00196809, 0.0418755, -0.00682326, -0.00526619, | |
| 32 | - -0.051209, 0.00270587, -0.0942246, -0.032416, -0.0220637, -0.00783117, -0.0169596, 0.0714794, | |
| 33 | - -0.0995697, -0.0152599, 0.0286164, 0.00709659, 0.0347345, 0.0513593, -0.132293, -0.0621502, | |
| 34 | - -0.0369908, 0.00803909, 0.0541353, 0.049953, -0.00213287, 0.0951546, 0.0857773, -0.00410647, | |
| 35 | - -0.0191665, -0.0381783, -0.0355435, -0.0131754, -0.00711061, -0.0496656, 0.0938031, -0.0537285, | |
| 36 | - -0.0575811, -0.0393168, 0.0567432, 0.00969633, 0.00741533, -0.0857071, 0.0651419, 0.0182334, | |
| 37 | - -0.0445946, -0.078534, 0.0226902, 0.00333909, 0.0361221, 0.0670708, 0.0128299, -0.0734256, | |
| 38 | - 0.0400354, 0.166504, 0.0157823, -0.00584887, -0.0352993, 0.0117685, 0.0264848, 0.0966697, | |
| 39 | - 0.0356856, -0.0375088, 0.0058627, 0.0673025, 0.0384437, -0.0679526, -0.0509106, -0.00267304, | |
| 40 | - 0.0892667, 0.0126181, 0.0327518, 0.0443882, 0.073673, 0.0527703, -0.0464817, 0.0490703, | |
| 41 | - 0.0459133, 0.0243223, -0.0656711, -0.0428812, -0.0567108, 0.0741543, -0.0408965, -0.0359412, | |
| 42 | - 0.00660457, 0.0337438, 0.084027, 0.00664404, 0.00537387, 0.00442322, -0.016303, 0.0799516, | |
| 43 | - -0.0276819, -0.0329564, -0.0322236, -0.0538003, -0.0247828, -0.0352706, -0.00563658, -0.0606449, | |
| 44 | - -0.0264253, -0.0629177, -0.0583771, 0.0590368, -0.00873518, 0.0266721, 0.0847975, 0.0309815, | |
| 45 | - 0.00688709, -0.0389876, 0.132531, -0.0169061, -0.0111577, -0.0763632, -0.0418102, -0.0389548, | |
| 46 | - -0.00804132, 0.0567647, 0.00484636, -0.0533848, 0.0127496, 0.00782392, 0.079095, 0.0268384 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p41(hatfit_yaw00_lev1_p41); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p41_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p42.mh deleted
| 1 | -// hat_yaw00_lev1_p42.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p42_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p42_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p42(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.267832; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0250589, 0.0223719, -0.0531637, 0.0118598, -0.0518864, 0.0149485, 0.0560363, 0.000827213, | |
| 28 | - 0.0652895, 0.0216623, 0.0213494, -0.00431385, 0.0155663, -0.0697053, 0.0143104, 0.0269714, | |
| 29 | - 0.0717636, 0.0164198, 0.0651081, -0.00678762, 0.0217544, 0.0433132, -0.0405112, 0.0233288, | |
| 30 | - 0.0368319, -0.00987942, 0.0394593, 0.0363214, 0.0098887, -0.032322, -0.0148654, -0.0114874, | |
| 31 | - 0.0167995, -0.0430063, -0.00212365, -0.0600111, -0.0100988, 0.00564683, 0.00651138, 0.0223506, | |
| 32 | - -0.0475533, -0.017191, -0.0231814, -0.0394015, 0.0183108, 0.056735, -0.0773495, -0.0186808, | |
| 33 | - -0.10888, -0.01172, -0.012778, -0.0280946, -0.023565, 0.0426887, 0.0803558, -0.00555116, | |
| 34 | - -0.0821078, -0.0211481, 0.0114963, 0.0126135, -0.0138914, -0.0961712, 0.0534635, -0.0237414, | |
| 35 | - -0.0627828, 0.0069159, -0.0124681, -0.0437366, -0.015536, 0.0277698, 0.00946747, -0.0386741, | |
| 36 | - -0.00681303, 0.0287985, -0.0146775, -0.00106336, -2.09394e-05, 0.0529079, 0.0153303, 0.00134007, | |
| 37 | - -0.0475712, 0.150543, 0.0663932, 0.110781, -0.0139091, 0.0487534, -0.00906667, -0.00264463, | |
| 38 | - 0.105522, -0.0986673, 0.00944924, 0.044035, 0.0759185, -0.00941136, 0.0772422, -0.0080406, | |
| 39 | - 0.0982731, 0.009884, -0.0309918, 0.00527481, 0.0366586, -0.0249879, -0.00944553, 0.0612417, | |
| 40 | - -0.0196947, 0.0219406, -0.00881142, -0.0202785, -0.0113854, 0.0112294, -0.0726931, -0.00253419, | |
| 41 | - 0.0140862, -0.0546059, 0.0840347, 0.104682, -0.0256582, -0.038651, 0.0835034, 0.136506, | |
| 42 | - 0.00104366, 0.0249283, -0.0248792, 0.00766329, 0.0371655, -0.0961918, 0.0151661, 0.0401377, | |
| 43 | - 0.000438639, -0.108393, -0.0157583, 0.0281483, 0.0234077, 0.0413021, -0.0310684, 0.00633404, | |
| 44 | - 0.0395615, -0.0197817, 0.0962121, -0.0522614, -0.042909, 0.027851, 0.0400732, -0.00705579, | |
| 45 | - 0.0100766, 0.082584, -0.0489721, -0.0849357, -0.0251572, 0.0194749, -0.0308505, -0.074304, | |
| 46 | - -0.0790463, -0.0262516, -0.024485, 0.0603077, 0.0270147, 0.0375003, 0.00448266, -0.0809277 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p42(hatfit_yaw00_lev1_p42); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p42_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p43.mh deleted
| 1 | -// hat_yaw00_lev1_p43.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p43_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p43_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p43(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.109739; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0570196, -0.00816288, -0.0396789, -0.0691714, -0.0147693, -0.0113571, 0.0238471, 0.0654756, | |
| 28 | - 0.0127259, 0.0262569, 0.0713755, 0.0551583, -0.00408789, 7.70712e-06, -0.0481539, -0.0185502, | |
| 29 | - -0.0290117, -0.0125839, -0.00523495, 0.0186073, 0.0100473, 0.00134032, -0.0158129, -0.0650889, | |
| 30 | - -0.00211844, 0.0373439, 0.00656235, 0.0406139, 0.0121945, -0.0274831, 0.0764015, 0.0587713, | |
| 31 | - -0.00853797, -0.0345838, -0.00964707, -0.0727974, 0.00889578, 0.0503037, -0.0333862, -0.034163, | |
| 32 | - -0.0827511, -0.0471695, -0.0346255, -0.0385785, -0.00680009, -0.023391, 0.180779, -0.110075, | |
| 33 | - -0.0308566, 0.00913772, 0.0667521, -0.0236769, 0.0473191, -0.114058, -0.00661101, 0.0277845, | |
| 34 | - 0.00833675, -0.0048789, 0.0638954, -0.00843914, -0.00834834, 0.0313403, 0.00101895, 0.0332497, | |
| 35 | - -0.00245061, -0.0320165, -0.0555559, -0.111136, -0.0490009, 0.056839, 0.00416749, -0.0448449, | |
| 36 | - -0.0293516, 0.031744, -0.0351489, 0.113501, 0.00559084, -0.0416646, -0.011213, 0.0752133, | |
| 37 | - 0.163951, -0.0631562, 0.0117438, 0.0983181, 0.129859, 0.0358397, -0.0592237, 0.0938551, | |
| 38 | - 0.0407702, 0.016116, -0.0669065, -0.0705481, -0.0925694, 0.0770623, -0.06897, -0.0108773, | |
| 39 | - -0.038666, 0.106142, 0.0032002, 0.0526937, -0.0260607, -0.0476551, -0.0931545, -0.0581646, | |
| 40 | - -0.0213479, -0.0944708, 0.0764147, 0.155, 0.0953724, 0.00644171, 0.0818339, 0.098784, | |
| 41 | - 0.0583541, 0.0385834, 0.014567, -0.151929, 0.0651872, 0.0237393, 0.0354186, 0.0701812, | |
| 42 | - -0.00868975, -0.120429, 0.0431517, 0.00308768, -0.0856116, -0.0145191, 0.036296, -0.0410546, | |
| 43 | - -0.0409622, 0.0470182, 0.0770556, -0.0371906, 0.0159651, -0.0274052, 0.0122354, -0.030157, | |
| 44 | - -0.0336936, 0.0396808, -0.0337803, -0.0324049, 0.0169184, 0.0412101, 0.0850196, 0.0202203, | |
| 45 | - -0.0207872, -0.0314282, 0.00840539, -0.0183683, -0.036961, 0.00315037, -0.0447284, -0.0183713, | |
| 46 | - 0.00828758, 0.0171499, -0.0376258, -0.00846203, -0.0420137, -0.0241747, -0.0150662, -0.0478079 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p43(hatfit_yaw00_lev1_p43); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p43_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p44.mh deleted
| 1 | -// hat_yaw00_lev1_p44.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p44_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p44_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p44(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.109008; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0945362, -0.0449524, 0.0660333, -0.0246236, 0.0158696, -0.0471226, 0.0447189, -0.0258553, | |
| 28 | - 0.025887, -0.0135329, -0.0214826, -0.0206675, 0.013636, 0.0741179, -0.0320414, 0.0372598, | |
| 29 | - -0.0704824, -0.0233604, -0.00317469, -0.00842793, -0.00341977, 0.00219688, -0.0954223, -0.0554482, | |
| 30 | - -0.0525299, -0.0333753, 0.0021748, 0.074139, 0.0360935, 0.00534435, 0.0684776, 0.0403155, | |
| 31 | - -0.0192615, -0.0568851, -0.0342091, -0.0741966, -0.00925542, 0.052715, -0.0159705, -0.0190257, | |
| 32 | - 0.0881149, 0.0554443, -0.077389, -0.0955993, -0.0563765, 0.0634231, -0.0891371, 0.0688448, | |
| 33 | - -0.0877472, -0.0258642, 0.0407242, 0.157993, 0.0400953, -0.127256, -0.0189779, -0.0743465, | |
| 34 | - 0.113783, 0.0492693, 0.0370564, -0.010719, 0.0538533, 0.0681946, 0.16568, 0.173489, | |
| 35 | - 0.104194, 0.0467617, 0.0189704, -0.0376701, 0.00528474, -0.0861354, -0.00434834, 0.122647, | |
| 36 | - 0.0184847, -0.00775123, -0.0450692, 0.0104375, -0.0201632, -0.0271411, -0.0935868, -0.0408573, | |
| 37 | - -0.0339742, 0.12917, 0.0588921, -0.0593483, -0.0471046, 0.00587893, 0.0765586, -0.0184146, | |
| 38 | - -0.0654201, -0.0186158, -0.0343246, -0.0380061, -0.036993, 0.0425709, -0.00783674, -0.0133803, | |
| 39 | - 0.00813309, -0.0370071, 0.10609, 0.0397922, -0.0274873, -0.021436, -0.0703765, -0.0782073, | |
| 40 | - -0.0418972, -0.00730855, -0.0399368, -0.00838882, 0.00432808, 0.0418548, 0.0388093, -0.133597, | |
| 41 | - -0.032826, -0.0237243, -0.0124979, -0.0523122, 0.0277924, 0.0076101, -0.00757488, -0.080163, | |
| 42 | - -0.0339697, -0.0814072, -0.024809, -0.0294447, 0.0479387, 3.89295e-05, 0.0361916, 0.00560784, | |
| 43 | - 0.00638087, 0.0103722, -0.0058001, 0.0313552, -0.0131113, 0.0205947, -0.0219136, 0.000589408, | |
| 44 | - -0.0214051, 0.0924824, -0.0379552, 0.00046803, -0.0307971, 0.0155563, -0.0262803, 0.0326664, | |
| 45 | - -0.0468105, -0.00447329, -0.0346878, -0.0124326, -0.0402621, 0.0115866, -0.0451612, 0.138228, | |
| 46 | - 0.0480731, 0.01717, 0.0404243, 0.0616278, -0.0362902, -0.0333519, 0.0372897, 0.0130936 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p44(hatfit_yaw00_lev1_p44); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p44_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p45.mh deleted
| 1 | -// hat_yaw00_lev1_p45.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p45_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p45_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p45(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.25172; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.138588, 0.0320257, 0.0356155, 0.0724541, 0.120651, -0.0189986, 0.106301, -0.0298257, | |
| 28 | - 0.0350613, -0.0742858, -0.00626365, -0.0366956, 0.00288059, -0.0262773, -0.0335548, 0.0513913, | |
| 29 | - -0.0487848, -0.0594982, 0.0626344, 0.0553294, -0.0107779, -0.0238063, -0.0467799, -0.0179865, | |
| 30 | - -0.0237511, -0.0537311, 0.00119416, 0.0220104, 0.0691962, 0.0204227, 0.0969524, 0.0179205, | |
| 31 | - -0.0370185, -0.0426937, -0.100493, 0.0102081, 0.0312435, 0.00265713, -0.0234102, 0.122252, | |
| 32 | - 0.0547786, -0.107252, 0.111451, 0.0475615, 0.0537575, -0.00080478, -0.0791252, 0.0088121, | |
| 33 | - 0.0253345, 0.0846276, -0.108816, -0.130749, -0.10341, 0.0592801, -0.0318539, -0.0249449, | |
| 34 | - -0.010017, 0.192572, -0.0720721, -0.0648521, -0.0571078, 0.0111925, 0.0666735, -0.0547617, | |
| 35 | - -0.0309815, -0.0215697, 0.109581, 0.0672603, 0.011995, -0.00119004, -0.0238963, 0.0618288, | |
| 36 | - 0.146923, 0.133224, 0.0838379, -0.0742575, -0.0287099, -0.00583805, 0.0450488, -0.0666454, | |
| 37 | - -0.0188749, -0.0366709, 0.037215, 0.0536543, -0.100444, -0.0419477, 0.0163139, -0.0565705, | |
| 38 | - -0.0278959, 0.000975454, 0.0281221, 0.049062, 0.102175, 0.0226027, 0.0645185, 0.0349713, | |
| 39 | - -0.0826408, -0.0749836, 0.0577827, 0.0822353, 0.0798172, 0.0386831, -0.0101139, 0.0461214, | |
| 40 | - 0.00293569, -0.0776405, -0.0391742, 0.0176803, -0.00405256, -0.0141349, 0.0250607, 0.00126634, | |
| 41 | - -0.111324, -0.0221828, -0.11046, 0.0129321, 0.0242276, 0.00152692, -0.00077143, 0.0251926, | |
| 42 | - 0.0453204, -0.0121045, 0.09637, -0.0769084, 0.0588002, -0.0329975, -0.0250022, 0.0456485, | |
| 43 | - -0.0177055, -0.0139467, -0.0054085, -0.0442463, -0.0385275, -0.020766, -0.00469496, -0.0233761, | |
| 44 | - 0.0459073, 0.0279808, -0.0103614, -0.0883182, -0.0111125, 4.03714e-05, 0.0135568, -0.062711, | |
| 45 | - -0.00610121, 0.0899954, 0.00370827, -0.0199731, -0.043631, 0.0366049, 0.0242956, 0.0318513, | |
| 46 | - 0.0163144, -0.0494192, 0.00613827, -0.0128951, -0.0382535, -0.0117383, -0.0496041, -0.0232795 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p45(hatfit_yaw00_lev1_p45); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p45_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p46.mh deleted
| 1 | -// hat_yaw00_lev1_p46.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p46_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p46_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p46(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.1262; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0247898, 0.0725981, 0.00940554, 0.0052597, 0.00695337, -0.0227812, 0.0829615, -0.0182238, | |
| 28 | - 0.0912312, -0.0397266, -0.00802797, 0.0164496, 0.050756, -0.00600232, -0.0175702, -0.03503, | |
| 29 | - 0.147221, 0.0160325, -0.00482178, 0.0407726, 0.0537962, 0.020743, 0.0355159, 0.057278, | |
| 30 | - -0.0217205, -0.0576563, -0.0685952, -0.0518904, -0.0855381, -0.0101204, -0.0816496, -0.00958126, | |
| 31 | - -0.017169, -0.0468333, 0.0395461, 0.0787189, 0.0362518, -0.0288426, 0.0762642, 0.0955865, | |
| 32 | - -0.0407962, 0.0912819, 0.00170931, 0.111283, 0.0747911, 0.0214694, 0.0356399, 0.0678785, | |
| 33 | - -0.0119807, -0.125812, 0.0183076, 0.0566146, 0.0650642, 0.043017, -0.0296444, 0.0171253, | |
| 34 | - -0.0139448, -0.0234206, 0.0995859, -0.0773336, -0.0337063, -0.0184082, -0.0234433, -0.0469514, | |
| 35 | - -0.0159479, 0.164123, -0.0909827, -0.0802733, -0.0225864, 0.0681187, 0.0216672, -0.0506549, | |
| 36 | - -0.0686634, 0.0314723, 0.0919573, 0.053391, 0.0320703, 0.052185, 0.0490161, -0.0794547, | |
| 37 | - -0.0305819, -0.0936891, -0.0178693, -0.0513525, -0.0980818, -0.00498728, -0.074374, -0.0999793, | |
| 38 | - 0.00662704, 0.0383561, 0.00845843, 0.0425148, -0.0533615, 0.0118851, 0.0324261, -0.00552462, | |
| 39 | - 0.0162779, -0.0513451, -0.0764762, -0.00473995, 0.000206355, 0.00314181, 0.0385827, 0.0602592, | |
| 40 | - -0.0351145, -0.0386392, 0.0498369, 0.0366033, 0.0440881, 0.0136349, 0.0225003, 0.0527547, | |
| 41 | - 0.00338717, -0.0367825, -0.0426791, -0.0226034, -0.0303609, -0.0594028, -0.0347768, 0.0730718, | |
| 42 | - 0.0173539, 0.0453047, 0.0667917, 0.0466438, -0.0243697, -0.0156744, -0.101598, 0.0479361, | |
| 43 | - 0.0261366, -0.0550373, -0.0107337, -0.0677039, 0.00929147, 0.0117664, 0.0345724, 0.0198759, | |
| 44 | - -0.0534636, 0.0071773, 0.0380319, -0.051799, 0.0129421, -0.00628485, -0.00436391, 0.0113728, | |
| 45 | - 0.0319683, -0.0269471, 0.0113978, -0.0513272, 0.0395217, -0.00380428, 0.0259736, -0.0518657, | |
| 46 | - 0.014918, 0.0633155, -0.00548257, 0.0103552, -0.04868, 0.0484848, -0.00154793, -0.102005 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p46(hatfit_yaw00_lev1_p46); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p46_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p47.mh deleted
| 1 | -// hat_yaw00_lev1_p47.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p47_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p47_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p47(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.118965; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0440492, -0.0836416, -0.141257, -0.0910721, -0.110534, -0.00214304, -0.0472487, 0.00261588, | |
| 28 | - -0.0335697, 0.0914798, 0.0305937, 0.00916225, -0.0435401, 0.0723333, -0.040065, -0.0185088, | |
| 29 | - 0.0401661, -0.0159768, 0.0349517, 0.0174412, 0.00390451, -0.0429541, 0.0773829, -0.038843, | |
| 30 | - 0.0832298, 0.0353028, 0.0146736, 0.0350658, 0.0369444, -0.00336594, -0.0110071, -0.00688144, | |
| 31 | - 0.0573221, -0.0910749, -0.0130102, 0.0147298, -0.00252087, -0.0223729, 0.0463613, 0.0419724, | |
| 32 | - 0.0217844, 0.0157986, 0.163274, 0.102168, 0.131031, 0.106365, -0.00268922, -0.0544499, | |
| 33 | - -0.0149947, 0.135501, 0.0304682, 0.0334622, 0.0114081, -0.039136, 0.0350434, 0.0430796, | |
| 34 | - -0.0425841, -0.110417, -0.0606183, 0.0744933, 0.134342, 0.0286298, 0.0279522, 0.0449863, | |
| 35 | - 0.0347973, -0.0419459, 0.0857313, -0.0128635, 0.0381703, -0.00587311, -0.0681089, -0.0187003, | |
| 36 | - -0.00328471, 0.0941593, -0.0736437, -0.128757, -0.04768, 0.0727935, 0.0273488, -0.0977504, | |
| 37 | - -0.023949, -0.0421614, -0.0286373, -0.0653269, -0.0963842, -0.0483031, 0.0505979, 0.0368761, | |
| 38 | - -0.0125742, -0.0706676, -0.0430058, -0.0963538, -0.0924971, -0.0266817, -0.0941927, -0.0325834, | |
| 39 | - 0.00716453, 0.0209282, 0.00390391, 0.0369161, -0.0915738, 0.00390245, 0.0418545, -0.0403939, | |
| 40 | - 0.00975892, -0.0248716, -0.0255247, 0.0214165, -0.0274118, -0.0254147, 0.0207873, 0.00385507, | |
| 41 | - -0.0257841, 0.0125612, 0.034636, 0.0482864, 0.0363408, -0.0167484, 0.0397208, 0.11034, | |
| 42 | - 0.0580511, 0.0643112, 0.00275626, 0.0200438, 0.0397158, -0.00459059, -0.0624459, -0.0130516, | |
| 43 | - 0.0194177, 0.0302497, 0.0528601, 0.0954436, 0.0441685, -0.000957178, 0.0123102, -0.0159973, | |
| 44 | - 0.0208708, 0.00253739, 0.00969131, 0.00487447, 0.0228892, -0.00806758, -0.0474296, 0.0435123, | |
| 45 | - 0.0126327, -0.0250043, -0.0049342, -0.0446558, 0.00411561, 0.0215649, 0.01054, -0.0185998, | |
| 46 | - 0.000267183, -0.0528733, 0.0212056, -0.0966146, 0.00481207, -0.00617578, 0.0559641, -0.0571265 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p47(hatfit_yaw00_lev1_p47); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p47_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p48.mh deleted
| 1 | -// hat_yaw00_lev1_p48.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p48_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p48_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p48(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.348712; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0199642, -0.016524, 0.0185488, 0.0753993, 0.0220202, 0.0315148, -0.0563141, -0.00505819, | |
| 28 | - 0.00273267, -0.0239206, -0.0834737, -0.0285988, 0.0565259, -0.00569715, 0.0483493, -0.0712883, | |
| 29 | - -0.0712879, -0.00462779, 0.0462177, 0.0520587, -0.020654, -0.0252241, 0.0488485, 0.0282503, | |
| 30 | - 0.00559442, 0.0144023, -0.0132484, 0.0254584, 0.0395418, 0.0306705, -0.0352704, -0.0166598, | |
| 31 | - -0.00170908, -0.0370785, -0.0203859, 0.0144599, -0.0146208, -0.01403, -0.00723498, -0.00876678, | |
| 32 | - 0.0327493, -0.0113121, 0.0448436, -0.0526941, 0.0259987, 0.0262766, -0.0312069, -0.000567117, | |
| 33 | - 0.013922, 0.0441781, 0.0086888, 0.0547899, 0.0423473, 0.00918695, -0.0101297, -0.0328613, | |
| 34 | - 0.0691136, 0.00758904, 0.0224273, -0.0291462, -0.0939671, 0.0324741, 0.0354135, -0.0303462, | |
| 35 | - 0.0356238, -0.0387213, -0.0665426, -0.0383849, -0.0274669, -0.0220878, 0.0289407, -0.00507145, | |
| 36 | - 0.111319, 0.0215501, 0.0416781, -0.0171691, 0.00257299, -0.0688882, 0.0220108, -0.0918581, | |
| 37 | - 0.0105098, 0.0140829, 0.0724206, 0.0268746, -0.0194448, -0.029022, -0.0317727, -0.0115339, | |
| 38 | - 0.00787806, 0.00153147, -0.133061, -0.0171583, 0.060793, -0.0497396, 0.0178434, 0.0115849, | |
| 39 | - 0.0521507, 0.0308188, 0.0278041, 0.087127, 0.0105865, -0.00899581, -0.00784267, 0.0185296, | |
| 40 | - 0.0018345, -0.0473944, -0.0727011, -0.06032, 0.0167443, 0.0669789, 0.0532385, 0.0856828, | |
| 41 | - -0.0457355, 0.0439268, 0.0353426, 0.0279889, -0.0711119, 0.00938103, -0.0660489, -0.00674734, | |
| 42 | - 0.0124368, -0.0648288, 0.0244971, 0.00933523, -0.0561851, 0.0146086, 0.00783616, 0.0405319, | |
| 43 | - 0.0264534, -0.0114669, 0.042876, 0.0869413, 0.030355, 0.0372803, -0.0117394, -0.0308215, | |
| 44 | - -0.0666074, -0.000140927, -0.050663, -0.0559189, -0.0074306, 0.00361242, 0.0232975, 0.0355665, | |
| 45 | - -0.0388373, 0.0357383, 0.115658, 0.0711105, -0.0131747, -0.0143666, -0.0302213, -0.080427, | |
| 46 | - 0.0653268, 0.0254734, 0.0134195, 0.121503, 0.142421, 0.0482576, 0.0452815, 0.0540552 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p48(hatfit_yaw00_lev1_p48); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p48_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p49.mh deleted
| 1 | -// hat_yaw00_lev1_p49.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p49_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p49_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p49(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.337902; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0114154, -0.0726488, -0.0778797, -0.0423141, -0.101282, -0.0447445, 0.0436873, -0.0644333, | |
| 28 | - 0.0624447, 0.0491255, -0.0232039, -0.0278307, 0.0139972, -0.0112907, -0.0322537, 0.0502897, | |
| 29 | - -0.098117, 0.0451549, 0.103961, 0.087829, -0.0385551, -0.0336443, -0.0132464, -0.0463502, | |
| 30 | - 0.0256201, -0.0661301, -0.0965179, 0.00416883, 0.12706, 0.0554865, -0.0172941, -0.0300243, | |
| 31 | - -0.101453, -0.0254417, -0.0144953, -0.011406, -0.065835, -0.0178107, 0.0889139, -0.0244951, | |
| 32 | - -0.0274361, -0.0272035, -0.0302713, 0.02199, 0.0393062, 0.0542217, 0.0382146, 0.00430417, | |
| 33 | - -0.0252084, 0.0177507, 0.0837669, -0.020463, 0.023539, -0.0222531, -0.033568, 0.0405018, | |
| 34 | - 0.0366544, 0.0219979, 0.0433826, 0.0337518, -0.0382937, 0.026798, 0.0155538, 0.022436, | |
| 35 | - 0.022377, -0.0522834, 0.00202955, -0.0484192, 0.0382646, 0.00632605, -0.0541592, -0.0216834, | |
| 36 | - 0.0718766, 0.0921278, 7.72105e-05, -0.0248985, -0.121145, 0.0050598, 0.0584069, 0.0625849, | |
| 37 | - 0.0341806, 0.0432261, -0.0717361, 0.019553, -0.00874797, -0.0566127, -0.035232, -0.0217414, | |
| 38 | - 0.0112061, -0.0173741, -0.0251796, -0.061976, 0.00953155, 0.0346141, -0.0552639, -0.0386179, | |
| 39 | - -0.049074, 0.0114269, 0.0481586, 0.0266696, -0.0454927, -0.0340543, -0.0192265, -0.0198516, | |
| 40 | - 0.0283237, -0.00680941, -0.00792814, -0.00371509, 0.0451747, -0.00511052, -0.038361, 0.042594, | |
| 41 | - -0.0624682, -0.0839768, -0.125767, 0.0346305, 0.0854665, -0.0188636, 0.012889, -0.0784834, | |
| 42 | - 0.0532098, 0.00439309, -0.00386652, -0.0325034, -0.00939869, 0.00199078, -0.00463391, 0.00874155, | |
| 43 | - -0.0679019, 0.0341406, 0.107982, 0.0298168, 0.0419922, 0.00153954, 0.036435, -0.011819, | |
| 44 | - 0.0351083, -0.0217196, -0.0573149, -0.0786371, -0.0240665, 0.0144203, -0.0828524, 0.0440092, | |
| 45 | - 0.0234886, -0.003938, 0.048797, 0.0791573, -0.0599733, -0.0299365, 0.0744551, 0.0195751, | |
| 46 | - -0.0408867, 0.0259072, 0.00605974, -0.0173957, 0.0276731, 0.016588, -0.0502496, 0.0181499 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p49(hatfit_yaw00_lev1_p49); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p49_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p50.mh deleted
| 1 | -// hat_yaw00_lev1_p50.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p50_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p50_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p50(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.354588; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0230603, -0.00406651, -0.00636519, -0.0227412, 0.00548503, -0.0184082, -0.0141572, 0.0294223, | |
| 28 | - -0.00797574, 0.0429883, 0.00673783, 0.00372198, -0.0629349, -0.00877111, -0.0495952, -0.0169266, | |
| 29 | - -0.0011404, 0.0479142, 0.0259209, -0.0259865, -0.0192255, 0.0396561, 0.0876463, 0.0230926, | |
| 30 | - 0.166111, -0.0461354, -0.0703753, -0.0448939, -0.0629481, -0.0580323, -0.0453387, -0.0270917, | |
| 31 | - -0.0884495, 0.140163, 0.0784775, 0.0228562, 0.024435, -0.0254433, 0.00177285, 0.0505875, | |
| 32 | - 0.0343714, -0.0174439, -0.0160221, -0.00753022, 0.117415, -0.0406816, 0.0532156, -0.0788673, | |
| 33 | - -0.108941, -0.0483069, -0.00519991, -0.0256438, 0.0142451, -0.040349, -0.0169156, -0.0526813, | |
| 34 | - 0.00228688, -0.0658973, -0.0337889, -0.0172707, 0.0379358, 0.0414351, 0.0617095, 0.0538789, | |
| 35 | - -0.0267418, 0.0563266, 0.0380729, 0.0618607, 0.0620722, -0.0352426, -0.0599867, 0.0257612, | |
| 36 | - 0.0177003, -0.0275431, 0.0416884, -0.00144024, 0.059808, 0.0194098, 0.026223, 0.0179042, | |
| 37 | - -0.0544042, 0.0229145, 0.0554572, 0.0782817, 0.00250939, -0.0428284, 0.0150715, -0.0411066, | |
| 38 | - 0.105643, -0.0499674, -0.073674, -0.0294076, -0.0109432, 0.120955, 0.0618048, 0.104465, | |
| 39 | - 0.00742026, 0.104745, -0.0396997, 0.0703248, 0.0415391, -0.0242536, 0.00578664, -0.0406675, | |
| 40 | - 0.0587635, -0.021202, -0.0501602, -0.0246371, -0.0119139, -0.00216564, -0.0159471, -0.0599296, | |
| 41 | - -0.0168455, 0.0184902, 0.0463801, 0.023843, -0.0373052, -0.0362718, -0.033582, -0.00780508, | |
| 42 | - 0.112369, 0.133683, 0.0611724, -0.058416, 0.00130038, 0.0465242, -0.011343, 0.0759481, | |
| 43 | - -0.0879834, 0.0318877, 0.0545767, 0.0623571, -0.00027041, -0.0773191, -0.00461445, -0.0368097, | |
| 44 | - 0.0221211, -0.0317399, -0.0332144, -0.0194702, -0.0366173, 0.0686429, 0.000139026, 0.0184993, | |
| 45 | - 0.00466772, 0.0430889, 0.0650156, 0.00889211, 0.0384161, -0.0229575, 0.0181281, 0.0296131, | |
| 46 | - -0.0204703, -0.0082565, -0.00745633, -0.0388592, -0.0328784, 0.0540064, -0.0102891, -0.0235745 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p50(hatfit_yaw00_lev1_p50); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p50_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p51.mh deleted
| 1 | -// hat_yaw00_lev1_p51.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p51_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p51_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p51(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0230474; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0663473, 0.000903765, -0.0568126, -0.0645652, -0.0530415, -0.0268245, -0.0218149, 0.0366416, | |
| 28 | - -0.014686, 0.000853658, 0.0810107, -0.00321661, -0.066158, -0.0160669, 0.00472433, -0.0332292, | |
| 29 | - 0.0330697, -0.00830061, -0.038049, 0.0414012, -0.025938, -0.0337634, -0.0624311, -0.0666223, | |
| 30 | - 0.0190076, 3.00099e-05, -0.0131323, -0.000139539, -0.0129442, -0.00751247, -0.00130726, -0.0481927, | |
| 31 | - -0.0262949, -0.0109233, 0.0115115, -0.00923386, 0.023316, 0.0373891, 0.0673234, 0.00609755, | |
| 32 | - -0.0574537, 0.0107934, -0.00300931, 0.00542485, 0.079916, 0.0676615, -0.0268088, 0.11462, | |
| 33 | - -0.0158615, -0.00119364, -0.0246292, 0.028597, 0.0300322, 0.00761411, 0.061184, -0.145516, | |
| 34 | - -0.00567826, 0.050977, 0.0545752, 0.0137527, -0.00676976, 0.0184424, 0.196666, 0.144337, | |
| 35 | - 0.0411955, 0.00197774, 0.0394365, -0.00925136, 0.0421624, -0.105268, -0.0782102, 0.115249, | |
| 36 | - 0.00126801, -0.0217805, -0.074432, -0.0324334, -0.0274283, -0.0287226, -0.0339885, -0.010246, | |
| 37 | - 0.0325106, -0.00227297, -0.0941444, -0.00635483, -0.0408689, -0.0332418, 0.0612756, -0.0524843, | |
| 38 | - 0.0355948, -0.0014673, 0.0306843, 0.0577673, 0.0199915, -0.0467922, -0.0840219, 0.0587219, | |
| 39 | - -0.0329374, -0.0208942, 0.0176221, -0.0472118, 0.0111347, 0.0012257, -0.0930815, -0.0833302, | |
| 40 | - -0.00729518, 0.0645366, -0.0184519, 0.0540724, 0.0145464, 0.0883286, -0.00444572, -0.0526893, | |
| 41 | - -0.000339233, -0.0349865, 0.0208982, 0.0190641, -0.0156414, 0.031688, 0.0360566, 0.0317097, | |
| 42 | - -0.0217811, -0.0349732, -0.00390683, 0.0259709, 0.00449953, 0.0655442, 0.00876421, 0.0173605, | |
| 43 | - -0.035843, -0.0170143, 0.0354342, -0.0122638, -0.00324034, 0.0223394, -0.00597277, -0.0410188, | |
| 44 | - 0.00998847, 0.0325441, -0.0168173, 0.0160914, -0.011555, 0.00730345, 0.0483929, 0.0374363, | |
| 45 | - 0.0135017, -0.0115598, -0.0202782, -0.0114978, -0.0321284, -0.0731003, -0.0334655, -0.00437303, | |
| 46 | - 0.0197171, -0.0246698, 0.0248675, -0.0169994, -0.000349178, -0.000402507, 0.0187988, 0.000184288 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p51(hatfit_yaw00_lev1_p51); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p51_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p52.mh deleted
| 1 | -// hat_yaw00_lev1_p52.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p52_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p52_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p52(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.260475; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0122162, 0.0115179, -0.0394977, -0.0273243, 0.0081333, -0.0292732, -0.0272394, -0.0629533, | |
| 28 | - -0.0160925, -0.0153455, 0.0233635, 0.00893212, 0.0156689, -0.00794567, -0.0215812, 0.0127846, | |
| 29 | - 0.00154317, -0.0295031, -0.0112134, -0.0471515, -0.0387776, 0.00687466, -0.0651829, -0.00330553, | |
| 30 | - -0.00238385, 0.0168992, -0.0253943, 0.0126812, -0.00885185, -0.0310302, 0.0462275, -0.0090145, | |
| 31 | - 0.0199466, -0.00959636, 0.0223492, -0.043071, 0.00604921, -0.0458674, -0.0598643, -0.0317473, | |
| 32 | - 0.041322, 0.0243245, -0.0333469, 0.00167273, -0.0231955, 0.0280683, -0.0408995, 0.0521944, | |
| 33 | - 0.0471815, 0.0195343, 0.0768077, 0.0138787, 0.0532719, 0.0308796, 0.0358051, -0.040371, | |
| 34 | - -0.0161893, -0.000882692, 0.00726768, -0.00207923, -0.0419194, 0.0167848, 0.0744163, 0.0413397, | |
| 35 | - 0.00373214, 0.0212196, 0.0661876, 0.106068, 0.0905908, 0.0277513, -0.0535409, 0.0355472, | |
| 36 | - 0.00544559, -0.0416627, -0.0741092, 0.0324289, -0.0080518, 0.0432406, 0.015265, -0.0241128, | |
| 37 | - -0.0894882, -0.0119182, 0.0450217, 0.0378082, 0.0401644, -0.0560642, -0.0292303, 0.093536, | |
| 38 | - -0.0402295, -0.0737898, -0.0504552, -0.0355426, -0.0623674, 0.0272413, -0.0698962, 0.0609242, | |
| 39 | - -0.0243137, -0.0250455, -0.0456399, -0.00184349, 0.010865, -0.0160513, 0.0462055, -0.00131114, | |
| 40 | - 0.00717732, -0.0360419, 0.00377416, -0.100877, -0.150282, 0.102032, -0.119642, -0.0398214, | |
| 41 | - -0.0127371, 0.0342076, 0.0148993, -0.0137932, -0.0433186, 0.00366693, 0.0356687, 0.0112555, | |
| 42 | - 0.0687725, 0.0916713, 0.00660631, 0.0305018, 0.0272057, -0.0504018, 0.0325087, -0.0239357, | |
| 43 | - 0.0155957, -0.0185372, 0.00141619, -0.0305813, 0.0167892, 0.0193565, -0.00279585, 0.0248534, | |
| 44 | - -0.0360369, -0.0333261, 0.0219202, -0.00153852, -0.0756654, -0.0493757, -0.00439795, -0.0429899, | |
| 45 | - -0.00114111, 0.0156505, -0.0395002, -0.00583805, 0.0881942, 0.0363239, 0.0082846, 0.0303329, | |
| 46 | - 0.0175637, 0.0392368, -0.00202269, 0.0581765, 0.030248, -0.0268457, 0.0116774, -0.0235466 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p52(hatfit_yaw00_lev1_p52); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p52_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p53.mh deleted
| 1 | -// hat_yaw00_lev1_p53.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p53_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p53_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p53(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.00632593; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0162556, -0.016435, 0.0339606, 0.0190099, -0.00390404, 0.0151999, 0.0530393, 0.052145, | |
| 28 | - -0.00404482, -0.0094945, -0.0652414, -0.00307563, 0.0279835, -0.0286695, -0.00707483, -0.0602497, | |
| 29 | - -0.0578366, 0.00570518, 0.00521795, -0.0343149, 0.0021638, -0.0576883, -0.0745119, 0.019378, | |
| 30 | - -0.0841465, -0.0374895, 0.101069, 0.0372186, -0.00409056, 0.00763705, -0.0176534, -0.0721434, | |
| 31 | - -0.00235338, -0.0460276, -0.105931, -0.00206172, 0.126004, 0.0340346, 0.00308281, 0.0239345, | |
| 32 | - 0.00935259, -0.026381, -0.0517119, -0.0346371, 0.0437243, 0.0277076, -0.0788865, -0.0669713, | |
| 33 | - -0.0392242, 0.00309652, 0.0151427, 0.0303108, -0.0255152, 0.144139, -0.0251527, -0.0566317, | |
| 34 | - 0.00885491, 0.0283135, 0.037537, 0.0185783, -0.0110133, 0.00417545, 0.230708, 0.0531011, | |
| 35 | - 0.0907433, 0.0775194, -0.0214501, 0.011126, 0.0125839, -0.0929108, 0.00861834, 0.0431739, | |
| 36 | - 0.0294098, -0.00786103, 0.0294776, -0.0266784, -0.0651989, 0.0573041, -0.0222599, 0.0342067, | |
| 37 | - -0.00935431, 0.0617671, 0.0254821, -0.0025932, -0.0126894, 0.0202708, 0.0160974, 0.065353, | |
| 38 | - 0.0739513, -0.0176589, -0.0373128, 0.0569696, -0.0255352, -0.056134, -0.00311956, 0.0397551, | |
| 39 | - -0.00707641, 0.00840045, 0.0395881, -0.0274419, -0.000901333, 0.0115174, -0.11227, -0.0630251, | |
| 40 | - -0.0277898, 0.0103932, -0.0382606, 0.00752723, 0.0198304, 0.0285424, -0.0162424, -0.0462255, | |
| 41 | - -0.0205232, -0.00646888, -0.0418055, 0.0165335, 0.0309852, -0.0296247, 0.0262914, -0.0154413, | |
| 42 | - 0.00808804, -0.0302165, 0.0269277, -0.0276307, 0.00803103, 0.00727718, 0.00967092, -0.0103951, | |
| 43 | - -0.0485179, -0.0149506, -0.0186684, 0.0197415, 0.00151862, -0.0135448, -0.0159554, -0.0411914, | |
| 44 | - 0.0203195, 0.00491663, 0.00384737, -0.00418953, -0.000701313, -0.00528702, 0.030757, 0.0292946, | |
| 45 | - -0.0010533, -0.0195983, 0.0331644, -0.0196452, -0.0326561, -0.0333651, -0.00118972, 0.0528589, | |
| 46 | - 0.00832532, 0.00903297, -0.0053677, -0.0299995, 0.0035794, 0.0148879, 0.0135945, 0.0180385 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p53(hatfit_yaw00_lev1_p53); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p53_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p54.mh deleted
| 1 | -// hat_yaw00_lev1_p54.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p54_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p54_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p54(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.327895; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0260285, -0.0305355, -0.0270729, 0.0336952, 0.0120556, -0.0589881, 0.0423471, -0.0165861, | |
| 28 | - 0.0533515, 0.0665271, -0.00661282, -0.011853, -0.0202604, 0.0660017, 0.0285465, 0.00870395, | |
| 29 | - 0.011837, -0.00816245, 0.0137459, -0.0274992, -0.040575, -0.0637543, -0.0130194, 0.0133845, | |
| 30 | - 0.0178475, 0.0405467, 0.0289009, 0.0209144, 0.0200407, 0.0257918, 0.0374848, 0.0275908, | |
| 31 | - 0.0136018, -0.0102763, 0.00641704, -0.00874899, 0.00182998, -0.0147132, 0.009265, -0.0220378, | |
| 32 | - -0.00638297, -0.0385975, 0.0624042, 0.0211003, -0.0707084, -0.0690531, -0.0210087, -0.0194916, | |
| 33 | - -0.0478112, -0.0269841, -0.0424758, 0.0264064, 0.142619, -0.00246511, 0.0361538, -0.0312128, | |
| 34 | - 0.0834964, -0.0165381, -0.0157382, -0.0939294, 0.0240593, 0.0854562, 0.0349298, 0.14353, | |
| 35 | - -0.0906933, -0.0340672, 0.0548739, 0.0571566, -0.0687595, -0.0800209, -0.0813809, -0.0359659, | |
| 36 | - -0.00366757, -0.0117603, -0.0208327, -0.0119305, 0.0182508, -0.00730518, 0.00837606, 0.0256656, | |
| 37 | - 0.0411851, 0.0630306, 0.0979421, 0.0441905, -0.00305332, 0.00201647, -0.0361447, -0.0198163, | |
| 38 | - 0.00723425, -0.0100551, -0.110571, -0.0993676, -0.00957446, 0.0802569, 0.128686, 0.0888631, | |
| 39 | - 0.0427143, 0.0464205, 0.0483508, 0.0942419, 0.0700467, -0.018517, -0.103884, -0.116386, | |
| 40 | - -0.0176959, 0.0100904, -0.0232444, -0.0174606, 0.00793912, -0.00859066, 0.0853811, 0.00499183, | |
| 41 | - 0.0240163, 0.00380892, 0.00422997, -0.0257352, 0.0227225, 0.00677831, -0.0593922, 0.0328476, | |
| 42 | - 0.00827972, 0.0692015, 0.0431744, 0.0373662, -0.0140093, 0.0106239, 0.0258463, 0.0208192, | |
| 43 | - -0.0546277, 0.0957585, -0.0963772, -0.027162, 0.00231769, 0.0486463, 0.0512952, 0.00430508, | |
| 44 | - -0.0114316, 0.00979404, 0.0511977, -0.0338667, 0.00809882, -0.0153916, -0.0599761, 0.0148887, | |
| 45 | - 0.00670799, -0.0197052, -0.0426134, 0.0297467, -0.0830705, -0.0143339, -0.0152399, -0.00805109, | |
| 46 | - 0.00354804, 0.0101011, 0.0160634, 0.0429957, -0.0188213, 0.0160184, -0.0033741, 0.046853 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p54(hatfit_yaw00_lev1_p54); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p54_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p55.mh deleted
| 1 | -// hat_yaw00_lev1_p55.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p55_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p55_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p55(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.141314; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0184455, -0.0496397, -0.0592839, -0.00129605, 0.0152698, 0.00895235, 0.0198226, -0.0277392, | |
| 28 | - 0.00174921, 0.0466079, 0.136804, -0.0408086, -0.0219539, -0.0515463, 0.0376534, 0.0197422, | |
| 29 | - 0.0264812, -0.0747326, -0.0189345, -0.0108892, 0.12583, -0.050607, 0.0287181, 0.0893428, | |
| 30 | - 0.0338705, -0.0305728, -0.0605811, -0.123117, 0.0530918, 0.0561058, -0.0661859, 0.0142702, | |
| 31 | - 0.0222033, 0.00274117, 0.0488894, 0.00854528, -0.0357957, -0.0137169, -0.0860731, 0.0804902, | |
| 32 | - 0.0155904, -0.0489535, 0.110207, 0.0279448, 0.0146425, 0.0608853, -0.0478279, -0.0360042, | |
| 33 | - -0.0253087, 0.0520949, 0.00854192, 0.0698672, 0.0728003, 0.0192769, 0.0532905, -0.0539675, | |
| 34 | - 0.0194983, 0.0686626, -0.14808, -0.00330555, -0.0603803, 0.161152, 0.125227, 0.0176252, | |
| 35 | - -0.0489934, 0.129008, 0.0143522, 0.0924871, -0.0940712, 0.0170069, -0.0504719, -0.0804901, | |
| 36 | - -0.0535133, 0.0471255, 0.0155013, 0.041728, 0.0464161, -0.0309468, 0.022264, -0.0485352, | |
| 37 | - -0.0161353, 0.00673767, -0.069235, -0.0269012, -0.0468631, -0.0286551, 0.0185527, 0.00926746, | |
| 38 | - 0.0816668, 0.0315413, -0.0115304, 0.00704217, -0.081754, -0.0394356, -0.0400905, 0.0372851, | |
| 39 | - -0.0783434, -0.00330682, 0.0511188, -0.0193499, 0.0811155, -0.090431, -0.0156567, 0.0132851, | |
| 40 | - -0.0127041, -0.119106, 0.0548832, -0.0584279, 0.0635739, -0.0258336, 0.0090243, -0.00490429, | |
| 41 | - 0.0567433, -0.0508576, -0.0229306, 0.00359339, -0.0406265, -0.0266562, 0.00501218, 0.0391647, | |
| 42 | - -0.0125267, -0.00340731, 0.0125769, 0.0486265, 0.0777279, 0.00933577, -0.00487516, -0.0130414, | |
| 43 | - -0.0285719, -0.0331306, 0.00711141, -0.0199061, 0.0080499, 0.0135002, 0.0017077, -0.0214639, | |
| 44 | - 0.0445958, -0.0085222, 0.006994, 0.00919682, -0.0502234, 0.0181756, -0.0122827, 0.0353963, | |
| 45 | - -0.00204672, 0.0618339, -0.0356547, -0.000447894, -0.0157183, 0.00273223, -0.000334279, -0.0068244, | |
| 46 | - -6.21048e-05, -0.0152627, 0.000293438, 0.0261028, 0.0310108, 0.0125394, 0.0326627, 0.00563211 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p55(hatfit_yaw00_lev1_p55); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p55_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p56.mh deleted
| 1 | -// hat_yaw00_lev1_p56.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p56_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p56_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p56(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.017971; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00383981, 0.132936, 0.051431, 0.0241506, 0.0525363, -0.0220713, 0.0264425, 0.162811, | |
| 28 | - 0.010563, -0.024777, -0.0376598, -0.00827839, 0.00969403, 0.00935741, -0.0604863, 0.0154237, | |
| 29 | - -0.0274918, -0.0916428, -0.0771056, -0.0789401, -0.0175398, -0.0618622, 0.0553185, 0.000933057, | |
| 30 | - 0.016674, 0.0419166, -0.0552628, -0.010995, -0.000659341, 0.111832, -0.113944, -0.0251928, | |
| 31 | - 0.0213259, 0.0239533, 0.0910532, 0.124619, 0.00420422, 0.0613157, 0.0784614, 0.0147032, | |
| 32 | - -0.0502116, -0.00272015, -0.0218368, 0.0310639, -0.0254734, 0.0358821, -0.0424754, -0.0367543, | |
| 33 | - 0.034152, -0.0402477, 0.00443733, 0.0517393, -0.0272244, -0.0217685, 0.0550534, 0.0378432, | |
| 34 | - -0.0246521, 0.0384891, 0.112565, 0.0140988, 0.0115197, -0.0149323, -0.0195592, -0.0719281, | |
| 35 | - -0.0191504, 0.0050603, -0.00609517, 0.00456367, -0.0230841, 0.0247522, 0.0545905, -0.000413494, | |
| 36 | - 0.0194383, 0.0112078, -0.0309524, -0.0159333, -0.0384538, -0.0252684, -0.0531839, -0.0135636, | |
| 37 | - 0.0280733, -0.0273113, -0.0108497, -0.0499342, -0.0281279, -0.0259257, -0.0200306, -0.0279048, | |
| 38 | - 0.00745871, -0.00630893, -0.0226936, -0.0506898, 0.0313296, -0.00117594, -0.00321243, 0.00721248, | |
| 39 | - 0.0305157, 0.00244387, 0.0234044, 0.0174985, -0.0430736, -0.0159342, -0.033331, -0.0123217, | |
| 40 | - 0.0225584, -0.0402171, -0.028357, -0.0100419, 0.0292749, 0.00170746, 0.00587944, 0.0203983, | |
| 41 | - -0.0195129, -0.0348478, -0.00877047, -0.0150409, -0.0216345, -0.0229652, -0.0295588, 0.0128356, | |
| 42 | - 0.0211214, 0.0382187, -0.0154869, 0.0121175, -0.00290521, 0.00593086, 0.0205967, 0.0272012, | |
| 43 | - -0.0202218, -0.035515, 0.0315396, 0.0916433, 0.0619819, 0.00402121, -0.00515144, 0.0165358, | |
| 44 | - -0.0207477, 0.00806855, 0.00542765, -0.0761913, -0.0252847, 0.0203587, -0.0169178, 0.00516717, | |
| 45 | - 0.0370735, 0.0901672, -0.00499778, 0.0357751, 0.00468033, 0.0309109, -0.0129976, -0.0110622, | |
| 46 | - -0.0403696, -0.0231525, 0.0128741, 0.0240667, 0.0221441, 0.0157496, 0.0360906, -0.0192411 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p56(hatfit_yaw00_lev1_p56); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p56_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p57.mh deleted
| 1 | -// hat_yaw00_lev1_p57.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p57_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p57_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p57(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.167239; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0260893, -0.0208531, 0.0851417, 0.0640984, 0.0395397, 0.0832486, -0.106037, -0.00565412, | |
| 28 | - 0.135724, -0.112393, -0.0760649, -0.0727544, 0.0301193, 0.0232471, -0.0351258, 0.0368426, | |
| 29 | - 0.0011005, -0.0139854, -0.0151755, -0.0914272, -0.00952267, 0.0704949, 0.0125235, -0.0656696, | |
| 30 | - 0.0163932, -0.0335675, 0.111352, 0.0753735, -0.00554281, -0.0227295, 0.0323614, -0.017804, | |
| 31 | - 0.0300734, 0.0112641, -0.0658481, -0.0309896, -0.0172728, -0.0217191, 0.0190975, 0.0200581, | |
| 32 | - -0.0304982, 0.111991, -0.030698, 0.014727, -0.0765688, -0.112386, -0.0101198, -0.0275647, | |
| 33 | - -0.0291291, 0.0641304, 0.0141026, 0.131626, 0.0186017, -0.0385728, 0.0421381, 0.0855096, | |
| 34 | - 0.0213613, 0.0420065, -0.102038, 0.0681566, 0.0273364, 0.00325661, 0.109219, 0.137224, | |
| 35 | - 0.0491412, 0.088167, 0.0714511, -0.0240283, -0.0108067, -0.02918, -0.00819857, 0.00807906, | |
| 36 | - -0.000642976, 0.0220372, 0.0679965, -0.0029879, -0.00222426, 0.00558169, -0.0326685, 0.0492872, | |
| 37 | - -0.0260234, -0.0484975, -0.0112216, -0.0918971, 0.020581, 0.0441363, -0.0100994, -0.0226429, | |
| 38 | - 0.0423898, -0.0759438, 0.0145201, -0.0784476, -0.110442, -0.0174169, 0.0110941, -0.0645113, | |
| 39 | - -0.0452308, -0.038347, 0.0775638, 0.0521202, 0.0446646, 0.0411368, -0.0421825, -0.0853063, | |
| 40 | - -0.0442879, -0.0157349, -0.0467638, -0.0149989, 0.0432842, 0.0192302, -0.0305666, -0.0181959, | |
| 41 | - -0.0200714, -0.035937, -0.0330333, 0.00311701, -0.0224627, -0.026858, 0.0243919, -0.00885834, | |
| 42 | - 0.0217909, 0.0593707, -0.0167115, 0.0215884, 0.0155522, -0.0263219, 0.0362682, -0.0223162, | |
| 43 | - -0.0338701, 0.0206674, -0.0189506, 0.0452908, 0.0427534, 0.0569601, -0.00517576, 0.0232792, | |
| 44 | - -0.0144103, 0.0177986, -0.00841608, -0.0333067, -0.0267299, -0.00136334, -0.00993319, 0.0110416, | |
| 45 | - 0.0370933, 0.0113945, -0.020208, -0.0220435, -0.0428138, -0.0156631, 0.0366901, 0.00527689, | |
| 46 | - 0.0700923, 0.0280007, 0.0391572, 0.0324461, 0.0177147, -0.00531412, -0.0189824, -0.0167404 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p57(hatfit_yaw00_lev1_p57); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p57_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p58.mh deleted
| 1 | -// hat_yaw00_lev1_p58.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p58_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p58_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p58(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.387439; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0251959, -0.031358, 0.0248397, -0.0131824, 0.013193, 0.00977301, 0.0348601, -0.0349634, | |
| 28 | - -0.0411533, 0.0159114, 0.0200665, 0.0543823, -0.00285392, -0.0164136, -0.0131662, -0.0514869, | |
| 29 | - -0.0336987, -0.0299794, -0.0270398, 0.0109185, 0.0625347, 0.0464263, 0.0578354, 0.00233093, | |
| 30 | - -0.010815, 0.0476417, 0.0163326, 0.0303621, 0.01894, -0.00207762, 0.0393991, 0.0221854, | |
| 31 | - 0.0233303, 0.0113982, -0.0423612, -0.00875855, -0.0287951, -0.0320702, 0.0137407, -0.0522144, | |
| 32 | - 0.0268739, 0.0237628, -0.0114081, -0.0225842, -0.0248982, 0.0488374, -0.0460236, -0.00664693, | |
| 33 | - -0.145548, -0.00911589, 0.0412094, -0.0239402, -0.0495942, -0.0117525, -0.0624228, -0.0266718, | |
| 34 | - 0.16983, 0.00188042, -0.0316957, 0.0227592, 0.0206071, 0.0874189, 0.0592865, 0.0821602, | |
| 35 | - -0.0523558, -0.0319036, 0.00421973, -0.111092, -0.0440164, 0.0161895, -0.0261552, -0.00754087, | |
| 36 | - 0.0331884, 0.0112931, 0.0394848, 0.0335052, 0.000709858, -0.0220998, 0.010377, -0.065032, | |
| 37 | - -0.00952658, 0.00141604, 0.000973108, 0.00853263, 0.0150984, -0.0348417, -0.0396614, 0.0344867, | |
| 38 | - 0.0216721, 0.0202387, -0.0365127, -0.0293635, -0.00677211, 0.0411506, 0.0676114, 0.016138, | |
| 39 | - 0.127968, 0.025489, 0.0839619, 0.105465, 0.0564818, -0.10753, -0.0982015, -0.0440012, | |
| 40 | - -0.0646146, -0.0759671, -0.141105, -0.0364377, 0.00156565, 0.0914474, 0.140688, 0.105158, | |
| 41 | - 0.0291594, 0.0630341, 0.146519, 0.0441008, 0.0494588, -0.0256931, -0.0515613, 0.0123743, | |
| 42 | - -0.0393184, 0.0750014, -0.0384452, -0.0162481, 0.029397, 0.0409304, 0.0106834, -0.00793491, | |
| 43 | - -0.0516883, -0.041537, -0.00348172, 0.0114551, -0.0441435, 0.00598323, -0.0702927, -0.0302706, | |
| 44 | - 0.0455167, -0.0145394, -0.0133603, 0.0211058, -0.000153093, -0.0450269, 0.0275393, 0.00331146, | |
| 45 | - -0.0536648, -0.0167442, -0.0187828, 0.0685981, 0.0143649, 0.0544769, 0.00699127, 0.0343859, | |
| 46 | - -0.0182254, 0.0574156, 0.0272669, 0.0274204, 0.00861177, -0.0038009, 0.0266157, 0.038463 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p58(hatfit_yaw00_lev1_p58); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p58_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p59.mh deleted
| 1 | -// hat_yaw00_lev1_p59.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p59_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p59_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p59(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.107774; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0426851, 0.0262278, -0.00991465, -0.000978476, 0.0458819, 0.0860606, 0.0126212, 0.0351958, | |
| 28 | - -0.0108269, 0.0156452, -0.00403915, -0.0589473, -0.0503682, -0.0320335, 0.00120433, -0.021901, | |
| 29 | - 0.0165196, 0.00485185, -0.0632538, -0.033039, -0.0857811, -0.0409284, -0.0988562, -0.0239078, | |
| 30 | - -0.0159283, 0.0137357, 0.0167643, 0.0372145, -0.0532216, -0.00210648, -0.0560769, -0.0308524, | |
| 31 | - -0.00231797, -0.00864326, -0.0076651, -0.0200123, -0.00891805, 0.0118245, -0.0131865, 0.00115877, | |
| 32 | - -0.0157525, 0.00356822, 0.0567132, 0.0403024, 0.0292255, -0.0482951, -0.0460269, -0.0327407, | |
| 33 | - -0.0675029, -0.0684373, -0.109158, 0.0287362, 0.0815637, 0.084078, -0.13562, -0.0559729, | |
| 34 | - -0.0141325, -0.00702409, 0.114953, 0.0541443, 0.100854, 0.170284, 0.183675, 0.146337, | |
| 35 | - -0.0231098, 0.0221174, 0.0281214, 0.0233031, -0.017274, -0.0041107, 0.0963267, 0.00364101, | |
| 36 | - 0.014492, 0.00786082, -0.00316655, 0.00596734, 0.0241714, -0.000496014, -0.00440175, -0.0178358, | |
| 37 | - 0.00585745, 0.0161528, -0.0458383, -0.00903678, -0.0375578, -0.0417482, -0.00357475, 0.0374616, | |
| 38 | - 0.0654028, 0.0913228, -0.0561372, -0.0271866, -0.0859397, -0.109589, -0.00593507, 0.052015, | |
| 39 | - 0.012834, 0.0383004, 0.0439461, 0.0182694, -0.0531884, -0.0306476, -0.0185561, 0.0390919, | |
| 40 | - 0.0141079, -0.0136812, 0.0498581, 0.0531345, -0.0225092, -0.044298, -0.0679187, -0.0250561, | |
| 41 | - 0.00712008, 0.00510321, -0.0365955, -0.0117867, -0.000928219, -0.019591, 0.00284898, -0.00144887, | |
| 42 | - 0.000711874, 0.000233623, -0.0184974, 0.00654051, 0.0396035, 0.0526651, 0.04285, 0.00770713, | |
| 43 | - -0.0319265, 0.0147321, 0.0456475, 0.00415368, 0.0131458, 0.0349704, -0.0124635, -0.0340754, | |
| 44 | - -0.0113526, -0.0312564, -0.022371, 0.0178618, 0.042623, 0.0281632, 0.0326478, -0.0512589, | |
| 45 | - -0.0159272, -0.0205289, -0.00583209, -0.00745363, 0.020593, -0.0142671, 0.0127739, -0.000311366, | |
| 46 | - 0.0624123, 0.00682976, 0.00476288, 0.00296209, -0.0286042, 0.00250046, -0.00978856, 0.0134617 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p59(hatfit_yaw00_lev1_p59); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p59_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p60.mh deleted
| 1 | -// hat_yaw00_lev1_p60.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p60_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p60_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p60(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.116653; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00800115, -0.019492, 0.00130996, 0.093303, 0.0040077, 0.00293987, 0.0207828, 0.0148185, | |
| 28 | - -0.00817948, -0.0597545, 0.0187817, -0.0230762, 0.0288565, 0.0880908, -0.0261195, -0.0208943, | |
| 29 | - -0.0786128, -0.110647, -0.000169552, 0.0230022, -0.0147655, 0.02944, -0.07112, 0.00319348, | |
| 30 | - 0.0383762, 0.00837539, -0.0543089, -0.138768, -0.0885013, 0.00156443, -0.0660238, -0.00148416, | |
| 31 | - 0.189822, 0.067456, 0.0813394, 0.0406543, 0.018721, 0.000646743, 0.0077848, -0.0197932, | |
| 32 | - -0.0269575, -0.017093, -0.00285546, -0.0457437, -0.00899611, -0.102345, -0.0712876, 0.0432109, | |
| 33 | - 0.0359983, 0.056176, -0.0205152, 0.0611076, -0.018347, -0.0684581, 0.0147728, -0.00519016, | |
| 34 | - 0.0229803, 0.0944576, -0.0201227, -0.0464451, -0.00871038, 0.0315791, 0.0922994, 0.0030201, | |
| 35 | - -0.0269314, 0.0528, 0.0333682, -0.00605027, -0.030852, 0.04281, 0.0665199, -0.0700912, | |
| 36 | - -0.101844, -0.0220294, -0.0188747, 0.0615306, 0.0196525, -0.0799243, 0.0370941, 0.0902844, | |
| 37 | - 0.0416295, 0.052584, 0.0186824, 0.0684195, -0.0496191, 0.0324619, 0.13132, 0.0186903, | |
| 38 | - 0.0444294, 0.0309525, 0.00405779, 0.00128988, -0.0657186, 0.112942, 0.0240502, -0.00600384, | |
| 39 | - -0.0561522, -0.0562045, -0.0645724, -0.0383953, -0.0717917, -0.0210858, -0.0221317, 0.0233049, | |
| 40 | - -0.00346189, -0.0171532, 0.0635409, 0.0106124, 0.0421655, -0.0798043, -0.0581925, -0.0148507, | |
| 41 | - -0.0014853, -0.0312885, 0.00728589, -0.0465815, 0.00556272, -0.0347748, 0.0110482, -0.0348356, | |
| 42 | - 0.0195249, -0.00102007, 0.0754928, 0.0908389, 0.0423783, 0.0519425, 0.0120671, -0.00592963, | |
| 43 | - -0.0746104, -0.0188304, -0.109229, -0.0357286, -0.0569914, -0.0486546, -0.019758, -0.0133699, | |
| 44 | - 0.0361224, 0.0025763, 0.0344059, 0.0643234, 0.04667, 0.0730196, -0.0286662, -0.0235946, | |
| 45 | - 0.0214739, 0.0315117, -0.034062, 0.017128, -0.000353135, 0.054981, -0.0163462, 0.0336397, | |
| 46 | - 0.063106, 0.0276215, 0.0973305, 0.0433355, -0.0436393, -0.0243513, 0.0297241, 0.013637 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p60(hatfit_yaw00_lev1_p60); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p60_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p61.mh deleted
| 1 | -// hat_yaw00_lev1_p61.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p61_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p61_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p61(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.355452; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00140287, -0.0316798, 0.0380944, 0.0396429, -0.00327414, 0.0534538, -0.0514958, 0.0113563, | |
| 28 | - 0.0628189, -0.0527768, -0.0827135, -0.00429168, -0.0555817, -0.0224312, -0.0407113, -0.00936148, | |
| 29 | - 0.117758, 0.0172411, -0.0474983, -0.0391484, -0.00839861, 0.0452208, -0.0689015, 0.0234783, | |
| 30 | - -0.0403392, 0.0229358, 0.0537275, 0.0364107, -0.0132679, 0.00101861, -0.0318202, 0.0280393, | |
| 31 | - -0.00788005, -0.0354963, 0.00622629, -0.0649081, 0.0307974, 0.0258964, -0.0857159, 0.0242797, | |
| 32 | - -0.040267, 0.0102513, -0.0156274, -0.102174, -0.0138545, -0.0322275, -0.0188658, -0.0404741, | |
| 33 | - 0.0330834, 0.0739416, 0.0376474, -0.0476424, 0.00287154, 0.00264503, 0.0639759, 0.0475915, | |
| 34 | - 0.0401054, -0.00781034, 0.0559358, 0.150539, 0.0994351, -0.0272158, 0.141554, 0.0275502, | |
| 35 | - 0.0128532, -0.0504704, 0.0469205, 0.0449008, 0.0408228, -0.0276349, -0.0209576, -0.0231619, | |
| 36 | - 0.072671, 0.12655, 0.0367423, -0.075046, -0.00881941, 0.0092089, 0.0531118, -0.0610395, | |
| 37 | - -0.0308093, 0.0767906, 0.0426318, 0.0265518, -0.0121348, 0.0626648, 0.1149, -0.0153465, | |
| 38 | - -0.0529852, -0.0242805, -0.0290872, -0.0384416, 0.0343093, -0.0252964, -0.0554503, -0.0615641, | |
| 39 | - -0.106664, -0.0378279, 0.00787081, 0.0156845, -0.0198557, -0.0269115, -0.0297493, 0.0352897, | |
| 40 | - -0.0297293, -0.0573563, -0.0150174, -0.00484731, -0.000683478, -0.0495411, 0.0360824, 0.16726, | |
| 41 | - -0.0293956, 0.00953138, 0.00360933, -0.0400254, -0.0715633, 0.142315, 0.0342854, -0.177897, | |
| 42 | - 0.0310687, -0.0126615, -0.0606509, 0.00786516, -0.0250216, 0.0461068, -0.041784, 0.0340997, | |
| 43 | - 0.0534171, 0.0510974, 0.0264472, 0.0273428, 0.00988166, -0.00606464, 0.0777458, 0.0387601, | |
| 44 | - 0.066705, 0.0378485, 0.0927968, 0.000296498, 0.00404288, -0.0435417, -0.0159648, -0.061769, | |
| 45 | - 0.00421003, -0.0703772, -0.062171, 0.017123, -0.0279047, 0.0872595, -0.00249575, 0.0153716, | |
| 46 | - -0.00386909, 0.0423806, 0.0198908, -0.00423521, 0.0487592, -0.0326987, -0.0145375, 0.0613222 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p61(hatfit_yaw00_lev1_p61); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p61_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p62.mh deleted
| 1 | -// hat_yaw00_lev1_p62.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p62_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p62_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p62(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.401911; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.184278, -0.00880947, -0.0685209, 0.00358168, -0.0459728, 0.0232556, -0.0864801, -0.00469044, | |
| 28 | - 0.0310894, 0.0243865, 0.0258792, 0.00859373, -0.00994606, 0.0328219, 0.00173091, 0.0121548, | |
| 29 | - -0.0353948, -0.036784, 0.0429776, -0.0300712, -0.0116732, -0.0122296, -0.108762, -0.0247855, | |
| 30 | - -0.0145263, 0.0219631, -0.00113074, 0.0309911, 0.107029, 0.0123373, 0.0532587, 0.069205, | |
| 31 | - -0.0494749, -0.0244451, -0.0697308, -0.0338787, 0.0873429, 0.0171967, -0.130104, 0.0204336, | |
| 32 | - -0.088184, 0.0317872, -0.00989599, -0.015471, 0.0552868, -0.0243923, 0.0858775, 0.0686318, | |
| 33 | - -0.0481306, -0.0770413, 0.0589144, 0.168037, 0.0945978, -0.0524547, 0.0839754, 0.124417, | |
| 34 | - 0.0480366, 0.0590726, 0.0667549, -0.0894952, -0.0230222, -0.0171754, -0.0533098, -0.0684075, | |
| 35 | - 0.0712733, 0.142855, -0.00189312, -0.00863717, -0.0647512, 0.101509, 0.0666608, -0.0918015, | |
| 36 | - -0.000196614, -0.0658736, 0.0204404, 0.0705559, -0.0270679, -0.0141069, 0.126831, -0.019163, | |
| 37 | - -0.0343151, 0.00672472, 0.03967, -0.0291874, 0.0336686, -0.0107086, -0.0043349, -0.0798378, | |
| 38 | - -0.0110414, -0.0650645, -0.0318544, -0.027198, -0.0480764, -0.0918649, -0.0143225, 0.107353, | |
| 39 | - -0.0130905, -0.00631972, -0.0110005, -0.0352918, 0.0152812, 0.102473, 0.0223577, -0.00408579, | |
| 40 | - -0.037512, -0.0288581, -0.0172214, -0.0453225, -0.0328941, -0.0150905, 0.0194013, -0.050533, | |
| 41 | - 0.0512633, 0.00142581, 0.0276191, 0.0555792, -0.0250743, -0.049271, -0.0158396, 0.00580838, | |
| 42 | - 0.0759738, 0.0489876, 0.00899392, -0.0250023, -0.0139366, -0.00691351, 0.069753, 0.02297, | |
| 43 | - -0.010819, -0.0195435, 0.0379298, 0.0638778, 0.00869268, 0.0244828, -0.0468469, -0.0425572, | |
| 44 | - 0.0265019, -0.00503489, -0.0229935, -0.0391067, 0.00398011, 0.0506024, 0.0196865, 0.0822405, | |
| 45 | - -0.0331631, 0.0331953, 0.0364992, 0.0264935, 0.0194893, -0.0485401, -0.0526263, -0.0288017, | |
| 46 | - -0.000343949, -0.00305366, 0.0195557, 0.00916105, 0.0849109, 0.0622262, 0.0617623, 0.0296367 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p62(hatfit_yaw00_lev1_p62); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p62_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p63.mh deleted
| 1 | -// hat_yaw00_lev1_p63.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p63_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p63_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p63(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.327027; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00117412, -0.0265293, 0.0414526, -0.00446532, -0.000780244, 0.0309753, -0.126524, 0.0273416, | |
| 28 | - -0.0422317, -0.00609733, 0.00825351, 0.00790836, 0.0291014, 0.0441713, -0.0145854, 0.0137382, | |
| 29 | - -0.00831013, -0.0526895, -0.037661, -0.00968318, 0.116618, 0.0103253, -0.0595431, 0.0496003, | |
| 30 | - -0.0665721, 0.00702109, -0.109901, -0.0827082, -0.00936522, -0.00162648, -0.0562617, -0.0153416, | |
| 31 | - -0.0065123, 0.0472623, 0.0634004, -0.0196607, -0.019769, -0.00566076, -0.0607523, 0.0749408, | |
| 32 | - -0.00611749, -0.0276194, 0.114619, 0.084836, 0.00815514, -0.0555772, 0.0391078, 0.0414358, | |
| 33 | - 0.121184, 0.147412, -0.0318164, -0.145786, 0.00704808, -0.0110287, 0.0164001, -0.0621218, | |
| 34 | - 0.0149256, 0.0808699, 0.0804086, 0.106282, 0.0405482, 0.0330293, 0.12561, -0.0589569, | |
| 35 | - 0.0224142, -0.108786, -0.00491116, 0.0465216, 0.0453282, 0.0296043, 0.0982771, 0.0627282, | |
| 36 | - 0.0506193, -0.0174854, 0.0256419, -0.0266217, -0.0465652, -0.0619258, -0.0532835, -0.0785362, | |
| 37 | - -0.0161707, -0.0490527, 0.0143398, -0.0138499, 0.020052, -0.0703482, 0.0590368, 0.134647, | |
| 38 | - -0.049885, -0.00266826, -0.0244827, -0.111946, -0.0878235, 0.15595, -0.000659438, -0.154788, | |
| 39 | - 0.00297078, 0.0132703, 0.0115521, 0.0331993, -0.0966483, -0.0545614, -0.026128, 0.0150231, | |
| 40 | - -0.0128654, -0.0320918, -0.0591223, -0.0218507, -0.0361654, -0.0115635, -0.0273279, -0.0585035, | |
| 41 | - -0.0352849, 0.0301985, 0.0714253, 0.0790165, 0.0457336, 0.00843746, 0.113132, 0.10087, | |
| 42 | - 0.0580212, -0.0135828, 0.00489927, 0.0153762, -0.0217218, 0.0638703, 0.000115968, 0.0334685, | |
| 43 | - -0.0241135, 0.00384658, -0.0261348, -0.0454305, 0.0297893, -0.0343742, -0.036355, 0.0349305, | |
| 44 | - -0.0196957, 0.00692413, 0.075663, 0.0631312, 0.0852203, -0.0199816, 0.0110331, -0.0218748, | |
| 45 | - 0.0535471, 0.0363862, 0.0293074, -0.00509621, 0.0277587, 0.0447058, 0.0520932, 0.00976812, | |
| 46 | - -0.00756772, -0.0466398, -0.0370653, -0.0200316, 0.0236178, 0.0165199, -0.0315377, 0.0236377 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p63(hatfit_yaw00_lev1_p63); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p63_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p64.mh deleted
| 1 | -// hat_yaw00_lev1_p64.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p64_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p64_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p64(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.221659; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0364118, -0.0340164, 0.0407147, 0.113031, 0.190778, 0.0314938, 0.0342179, 0.015366, | |
| 28 | - -0.0132611, -0.0636244, -0.040571, -0.081486, -0.0900368, -0.0268184, -0.089493, -0.0174274, | |
| 29 | - 0.0183977, 0.0234542, 0.0288216, -0.0624968, -0.0524316, -0.0307032, -0.0639346, 0.0857077, | |
| 30 | - -0.0308074, 0.00837735, -0.00453838, -0.0611632, -0.0128637, 0.0077273, -0.0417138, 0.0219363, | |
| 31 | - 0.00718579, 0.0559161, 0.000579146, -0.0125301, 0.0297841, -0.0235627, 0.0463869, 0.0387731, | |
| 32 | - -0.0562936, -0.0190806, 0.0087306, 0.0261748, -0.0659872, 0.00151971, 0.0554092, -0.0774134, | |
| 33 | - -0.0402783, -0.0251337, 0.00201256, 0.053982, 0.0628297, -0.00454475, 0.0813841, 0.0984645, | |
| 34 | - 0.0291425, 0.0222582, 0.0444502, 0.0767124, 0.0390445, 0.051904, 0.0941079, -0.00941949, | |
| 35 | - 0.00284052, 0.0111219, -0.0460434, 0.0373575, -0.00560822, -0.0544922, 0.00609882, -0.141022, | |
| 36 | - -0.024522, -0.0432508, -0.0190956, -0.0165462, -0.0313735, 0.0506585, -0.0642271, -0.0219566, | |
| 37 | - 0.0127945, -0.0164266, -0.01266, -0.0571315, -0.042462, -0.0443998, -0.0256433, -0.0906727, | |
| 38 | - 0.0369999, -0.00749289, 0.0305802, -0.0199618, -0.0398645, -0.012479, 0.0293881, -0.0915479, | |
| 39 | - -0.0875018, -0.0522991, -0.0300075, -0.0293367, 0.00304054, -0.0153113, -0.0852418, 0.0606356, | |
| 40 | - -0.0508301, 0.0473317, -0.00559567, -0.0145069, 0.0155352, 0.0937862, 0.0419105, 0.107439, | |
| 41 | - -0.0132481, 0.0641715, 0.0312028, 0.0733368, 0.0265372, 0.0135173, 0.106767, 0.0236229, | |
| 42 | - 0.00246322, 0.0206615, 0.10063, 0.0451973, 0.030797, 0.0583173, 0.00928432, -0.0118978, | |
| 43 | - 0.0111116, 0.0528778, -0.0254398, -0.00435345, 0.0536206, 0.0278869, -0.0166692, 0.118701, | |
| 44 | - 0.0105538, 0.0128111, 0.0164439, 0.0130927, 0.00129399, -0.0440021, -0.0115579, -0.019537, | |
| 45 | - -0.0620245, -0.0291088, -0.110246, -0.0248473, -0.0256739, -0.0519484, -0.000626873, -0.0129347, | |
| 46 | - 0.0514691, 0.105352, 0.0998094, 0.0253072, 0.0281183, 0.0241761, -0.00190695, 0.061081 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p64(hatfit_yaw00_lev1_p64); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p64_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p65.mh deleted
| 1 | -// hat_yaw00_lev1_p65.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p65_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p65_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p65(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.175002; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0277865, -0.00461839, 0.000804702, -0.00666069, -0.000353549, -0.00788238, -0.00938188, 0.0222033, | |
| 28 | - -0.050188, 0.00359491, 0.00366198, -0.0166296, 0.000297359, 0.00483099, -0.0825797, 0.000643547, | |
| 29 | - -0.0630764, -0.0659505, -0.0102977, 0.0360068, 0.0127702, -0.0259893, -0.0789133, -0.0683098, | |
| 30 | - -0.00482564, -0.0310966, 0.00995508, -0.0132953, 0.00953184, 0.0175084, 0.00165241, 0.00201592, | |
| 31 | - 0.0766108, -0.0181389, -0.0332234, 0.0332517, 0.0219349, 0.0512349, 0.0322202, 0.046018, | |
| 32 | - 0.0169466, 0.0146008, -0.0477406, 0.019435, -0.0121325, -0.0332415, 0.00211002, 0.00113552, | |
| 33 | - -0.00347845, 0.0185526, 0.0799375, 0.0184735, -0.0247489, 0.0306522, 0.132248, -0.00205819, | |
| 34 | - 0.13069, 0.115871, 0.0506738, -0.0372212, -0.0175758, 0.0684921, 0.122341, 0.269659, | |
| 35 | - 0.0665379, -0.0155841, -0.0518629, -0.0142568, -0.0944692, -0.088548, -0.11378, 0.01854, | |
| 36 | - 0.0115034, 0.0424948, 0.0296922, 0.0247563, 0.00335754, -0.00599567, -0.0309015, -0.0741586, | |
| 37 | - -0.0465119, -0.00161941, -0.0021765, -0.00246838, 0.0341996, 0.00583213, -0.0227952, -0.0198427, | |
| 38 | - -0.0189341, 0.0117395, 0.0318078, -0.0215246, -0.0300004, -0.00681776, -0.0461987, -0.0623052, | |
| 39 | - -0.0844771, 0.000542585, 0.0246798, 0.0770029, 0.0857678, 0.0739165, 0.0184543, -0.0843127, | |
| 40 | - -0.0576231, -0.0629255, -0.0450643, 0.00599557, 0.0455094, 0.0537528, 0.00473172, -0.0845924, | |
| 41 | - 0.0150027, 0.0171967, -0.0127595, 0.00703861, -0.0182145, -0.0213446, -0.00797504, -0.0245089, | |
| 42 | - -0.0192921, 0.0136112, 0.0116631, 0.00265455, -0.000741286, 0.0304773, -0.02086, -0.00264433, | |
| 43 | - 0.0204618, 0.0387465, -0.0510006, -0.041918, -0.0177707, -0.0228606, 0.0180372, -0.00552248, | |
| 44 | - 0.0331364, -0.00103725, -0.00155859, 0.00364934, -0.030725, -0.0601593, -0.00316454, 0.0510012, | |
| 45 | - 0.024794, 0.0200472, 0.0260482, 0.03692, 0.00540666, -0.012112, 0.012476, 0.0372805, | |
| 46 | - 0.0373335, -0.00687078, 0.0080672, -0.0159034, 0.0101183, 0.0374216, 0.0163694, 0.0310197 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p65(hatfit_yaw00_lev1_p65); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p65_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p66.mh deleted
| 1 | -// hat_yaw00_lev1_p66.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p66_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p66_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p66(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.114908; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0621479, 0.148664, -0.0808057, -0.0734325, -0.0779598, 0.112303, 0.0691012, -0.0734984, | |
| 28 | - -0.0891871, -0.0303359, -0.0296288, 0.0653355, 0.057726, -0.0747313, -0.0389204, 0.030748, | |
| 29 | - -0.0376043, -0.0242851, 0.00215944, -0.0128589, 0.0526175, -0.0154007, -0.0356016, 0.00790394, | |
| 30 | - 0.0393551, 0.0121278, 0.0740665, 0.101692, 0.0326844, 0.00688292, 0.0422339, 0.107239, | |
| 31 | - 0.0503345, 0.00995021, -0.0509846, 0.0117855, -0.0384774, 0.031577, 0.00134269, -0.127872, | |
| 32 | - -0.0709863, -0.149595, 0.00666169, -0.000596597, -0.0462128, 0.0550865, -0.0638316, -0.0380512, | |
| 33 | - 0.0592485, 0.0172013, 0.0699331, 0.0563683, -0.0446237, -0.0296292, 0.0829031, -0.0981408, | |
| 34 | - -0.00211501, -0.0287852, 0.0204565, -0.0160499, -0.0508642, -0.0430687, 0.0686544, -0.0860575, | |
| 35 | - -0.109292, -0.0432463, -0.0627935, -0.0897644, -0.0565552, -0.0392803, -0.0675007, -0.0981836, | |
| 36 | - -0.110825, -0.00265412, -0.024454, 0.00582448, 0.0328972, 0.0868582, 0.151676, 0.157909, | |
| 37 | - 0.0173907, 0.0769144, 0.0790404, -0.024212, 0.0882533, -0.0252413, 0.0427054, 0.0565396, | |
| 38 | - -0.00320091, 0.043672, -0.00638487, 0.015961, 0.0536973, 0.0572533, -0.0228992, 0.00460968, | |
| 39 | - 0.0530984, 0.0482597, 0.0217364, 0.0170837, 0.0227786, 0.0455684, -0.0356677, 0.14438, | |
| 40 | - 0.0971565, 0.0352834, 0.0686218, 0.0613583, 0.0810098, -0.0496866, -0.085401, 0.0643533, | |
| 41 | - -0.0701281, -0.0474367, -0.0551886, 0.0374986, 0.0114636, 0.0147769, 0.0209621, -0.0237301, | |
| 42 | - -0.0613557, -0.048417, -0.0312429, -0.0513667, -0.04645, -0.0179482, 0.0837733, -0.0114909, | |
| 43 | - 0.0243065, 0.00229574, 0.0533605, 0.0381334, 0.00564831, -0.00935319, -0.0554278, -0.015606, | |
| 44 | - -0.0499693, -0.00343467, 0.00644126, -0.00769993, 0.0214419, 0.017018, 0.00379739, -0.0394817, | |
| 45 | - -0.0649387, 0.00961401, -0.0294862, -0.047631, -0.0189085, -0.0200228, -0.0206836, 0.0113553, | |
| 46 | - 0.0340622, 0.0568404, -0.030138, -0.026374, -0.0548503, -0.0599922, 0.0537001, -0.0145433 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p66(hatfit_yaw00_lev1_p66); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p66_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p67.mh deleted
| 1 | -// hat_yaw00_lev1_p67.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p67_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p67_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p67(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.113909; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0188617, 0.00316902, -0.0739061, 0.0282265, 0.003645, -0.057957, 0.0050709, 0.0242442, | |
| 28 | - -0.123112, -0.0885432, -0.0231802, 0.0524963, 0.145596, -0.0695975, 0.0542611, 0.213012, | |
| 29 | - 0.0771955, 0.0859766, 0.112913, 0.00182485, -0.041207, 0.0709448, -0.133451, -0.0534433, | |
| 30 | - 0.0443474, 0.0526311, -0.0920123, -0.0394857, -0.110341, 0.114107, 0.105256, -0.104847, | |
| 31 | - -0.0502754, -0.019576, -0.0423652, 0.00980916, 0.0210069, -0.0375084, -0.00186543, -0.0165352, | |
| 32 | - -0.068461, 0.033185, 0.0545209, -0.0520722, 0.0253465, -0.0047908, 0.0872255, -0.0718019, | |
| 33 | - 0.0179633, -0.0174179, 0.0828479, 0.0307566, -0.0581829, -0.0772103, -0.0863097, 0.0172761, | |
| 34 | - -0.0636419, -0.0857602, -0.225817, -0.129229, -0.0221761, 0.049664, 0.0880692, -0.0322266, | |
| 35 | - -0.00965428, -0.0102029, 0.113926, 0.0290924, -0.0104373, -0.0425892, -0.0732669, -0.0120473, | |
| 36 | - 0.0358277, -0.0121853, 0.0111512, 0.0297736, -0.0455152, -0.0421967, 0.106585, -0.0538339, | |
| 37 | - 0.119307, 0.0605931, 0.0337106, -0.0143666, -0.000475732, -0.00033312, -0.016137, 0.0540146, | |
| 38 | - -3.17965e-05, -0.0643621, -0.0239138, 0.0592346, 0.0313051, 0.0205812, 0.00707053, -0.00760147, | |
| 39 | - 0.0728607, 0.0906611, 0.112247, 0.0393033, 0.057346, 0.044609, 0.0267728, 0.111261, | |
| 40 | - -0.0273771, 0.0108312, -0.0310528, -0.0753102, 0.00676557, -0.00323801, -0.00547113, -0.042993, | |
| 41 | - 0.0217995, 0.000293362, 0.0527807, 0.052532, 0.0965316, 0.0762126, -0.050425, 0.0904335, | |
| 42 | - -0.00995776, -0.0420223, -0.0163665, -0.00787983, -0.0444523, -0.0292807, 0.00134789, -0.00916903, | |
| 43 | - -0.0439685, -0.00308172, 0.0153934, 0.0264436, -0.0139337, 0.0130059, 0.0210779, -0.0585686, | |
| 44 | - 0.00739594, -0.0367863, 0.016144, -0.0448992, -0.0466312, 0.00240427, 0.0113582, 0.0102517, | |
| 45 | - 0.000421868, 0.00283884, -0.0185146, -0.00344203, 0.00447471, -0.0599441, 0.0294516, -0.0166099, | |
| 46 | - -0.039928, 0.0147255, 0.0114217, 0.0182585, 0.000694995, 0.0165909, -0.0146478, -0.022212 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p67(hatfit_yaw00_lev1_p67); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p67_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p68.mh deleted
| 1 | -// hat_yaw00_lev1_p68.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p68_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p68_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p68(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0472535; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0333984, 0.0656835, 0.0106519, 0.0399759, 0.0837495, -0.0590801, -0.0354664, 0.000401582, | |
| 28 | - 0.0507861, 0.0305926, -0.0299797, -0.0280611, -0.0375379, 0.0890645, 0.0991353, -0.0119074, | |
| 29 | - 0.0500358, 0.0327039, 0.0326631, 0.0156037, -0.0896013, -0.0172661, -0.0611493, -0.0487139, | |
| 30 | - -0.0158553, -0.0170312, -0.0675439, 0.0393561, -0.0252104, -0.0245059, -0.0460004, -0.00717333, | |
| 31 | - -0.0699404, -0.0325669, -0.0441731, 0.122475, 0.114906, -0.00302238, 0.0638788, 0.0975657, | |
| 32 | - 0.0238194, -0.0122492, 0.00939505, -0.0268166, -0.161655, 0.0738256, 0.133678, 0.0601642, | |
| 33 | - -0.0502025, -0.0815136, -0.0643104, -0.0445671, -0.0357928, -0.0869471, -0.0474168, -0.0431398, | |
| 34 | - -0.0825893, -0.0275855, 0.0356601, -0.0646219, 0.033888, -0.0717098, 0.0574178, -0.0301816, | |
| 35 | - -0.00499705, 0.0727134, 0.0824336, -0.0235041, 0.0235093, -0.0639051, 0.0631396, -0.0419611, | |
| 36 | - -0.037852, -0.0387067, -0.0240848, -0.111232, -0.0691031, -0.0380525, -0.0390921, 0.099562, | |
| 37 | - -0.00279045, 0.0328427, -0.0615046, -0.0442496, -0.0400743, 0.00526195, 0.00243521, 0.0295069, | |
| 38 | - 0.0521513, 0.0641226, 0.040687, 0.0798061, 0.0492278, 0.12391, -0.076507, -0.00658683, | |
| 39 | - 0.0782203, 0.0321287, 0.0274339, 0.0559232, 0.0188869, 0.0718778, -0.0556092, 0.0221964, | |
| 40 | - 0.0632411, 0.0219449, -0.0251334, 0.0464636, -0.0239108, -0.0166778, 0.0142018, 0.0594118, | |
| 41 | - 0.0749457, -0.0632603, 0.094559, 0.077424, 0.0532179, 0.0567741, 0.02659, -0.0608049, | |
| 42 | - -0.010741, -0.037765, -0.02709, 0.0687838, 0.0112361, 0.0066147, 0.0325352, -0.0838491, | |
| 43 | - -0.00727761, -0.00590156, -0.0304007, -0.00232171, -0.0285817, -0.0194663, -0.0117951, 0.0231252, | |
| 44 | - -0.000157544, 0.0139116, 0.00777066, -0.00782038, -0.00366661, -0.023865, -0.0216654, 0.0361765, | |
| 45 | - -0.00748849, 0.00483604, 0.0402628, 0.00263971, -0.0368632, -0.0121392, -0.00152512, -0.0232155, | |
| 46 | - -0.0494068, -0.0315213, -0.0389766, -0.00911571, -0.0881912, -0.00859301, 0.0414033, -0.0362998 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p68(hatfit_yaw00_lev1_p68); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p68_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p69.mh deleted
| 1 | -// hat_yaw00_lev1_p69.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p69_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p69_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p69(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.138467; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0727278, 0.0410694, -0.0121286, 0.10934, -0.0571606, 0.039361, 0.0798405, 0.00142393, | |
| 28 | - 0.0423685, -0.0694792, -0.08714, -0.00116926, -0.0417457, 0.00768107, -0.0147799, -0.0480903, | |
| 29 | - 0.0175646, -0.0171768, -0.0445522, -0.00384396, -0.0298101, -0.0217389, -0.0199785, -0.0402522, | |
| 30 | - -0.0202302, 0.053779, 0.0185913, 0.0391604, 0.0158164, -0.0631713, -0.0215226, -0.013408, | |
| 31 | - -0.0493236, -0.0716819, -0.0305592, -0.00565181, 0.0295756, -0.0225791, -0.0125007, 0.0718176, | |
| 32 | - 0.0186186, 0.0286526, 0.0436904, -0.019139, -0.0522052, -0.00536649, 0.0472919, 0.0208337, | |
| 33 | - -0.0203697, 0.0782312, 0.0839855, 0.090479, 0.0706644, 0.0731851, -0.0965635, -0.0463428, | |
| 34 | - -0.0293672, -0.00786047, 0.0409683, -0.0374142, 0.0901149, 0.0818718, 0.0673608, 0.0438763, | |
| 35 | - 0.0559625, 0.0183026, 0.0521258, -0.00613286, 0.0426728, -0.00262783, 0.0623643, 0.0629963, | |
| 36 | - 0.0465622, -0.0554452, -0.000150035, -0.0175842, -0.00246682, 0.0739301, 0.0362838, 0.00592763, | |
| 37 | - -0.12026, -0.00668744, -0.0786816, -0.0647531, -0.0321518, -0.0100294, -0.0490275, -0.029289, | |
| 38 | - 0.0413105, 0.0238406, -0.0300419, -0.0638156, -0.110498, -0.0941771, -0.0253184, 0.0428704, | |
| 39 | - 0.0438465, 0.0224067, -0.0342461, 0.0399161, -0.0840878, -0.0685666, -0.0208694, -0.0306758, | |
| 40 | - 0.00892258, -0.00213832, 0.032049, 0.0173309, -0.0638428, -0.0443805, -0.0341364, -0.0546695, | |
| 41 | - -0.0353043, -0.0557252, 0.00519504, 0.0286246, -0.044046, -0.014966, 0.0130059, -0.0170023, | |
| 42 | - -0.0490745, -0.0462449, -0.0301219, 0.0728487, -0.00719909, -0.0244057, -0.014565, -0.0500982, | |
| 43 | - -0.0102718, -0.0382015, 0.0355018, -0.0108327, 0.0390334, 0.0880404, 0.0422387, 0.0559269, | |
| 44 | - 0.0475343, 0.0106384, 0.060598, 0.00438707, 0.021236, 0.0164531, -0.112987, 0.0802725, | |
| 45 | - -0.00106202, 0.0180457, 0.0100923, -0.0175058, 0.0423891, 0.0244042, -0.0349724, -0.0170408, | |
| 46 | - -0.0506162, -0.0169565, -0.0853738, -0.0504872, -0.0229947, -0.00657965, 0.132349, -0.025945 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p69(hatfit_yaw00_lev1_p69); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p69_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p70.mh deleted
| 1 | -// hat_yaw00_lev1_p70.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p70_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p70_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p70(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.133387; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0424555, 0.0670308, 0.0010174, -0.0308677, 0.0528108, -0.070897, 0.0448855, -0.000525556, | |
| 28 | - -0.100123, -0.0861334, 0.0316145, 0.0169901, 0.0901615, -0.0500279, -0.0376332, 0.0427404, | |
| 29 | - 0.0720401, 0.0227514, -0.106129, -0.0212751, -0.0379922, 0.063484, 0.0188433, 0.0395767, | |
| 30 | - 0.0301117, -0.0215064, 0.0471855, -0.0341529, -0.0803298, -0.0145573, -0.0235636, -0.105323, | |
| 31 | - 0.0193279, 0.0311169, -0.0481364, 0.11473, 0.0624199, 0.0110681, 0.0336379, 0.00642461, | |
| 32 | - 0.0422275, 0.0139292, 0.155419, 0.0669998, -0.0508135, -0.00343256, -0.0168017, 0.0231051, | |
| 33 | - 0.0575028, -0.0536568, -0.0718591, 0.000673625, -0.0521534, 0.0252803, -0.00296366, -0.0187603, | |
| 34 | - -0.00851754, 0.0395557, 0.100741, 0.00741312, 0.0600377, 0.0807008, 0.0521776, 0.0797571, | |
| 35 | - -0.0629093, -0.00673294, -0.0946586, -0.116795, 0.0606276, -0.00622547, 0.0292151, 0.0388462, | |
| 36 | - -0.0109681, 0.0554172, 0.240807, -0.0162847, 0.0303524, 0.0470641, -0.0465172, 0.00661341, | |
| 37 | - -0.0431188, -0.0139805, -0.0778138, -0.0917159, -0.0543887, -0.0126208, 0.0157767, -0.0381842, | |
| 38 | - -0.0601245, -0.0132269, 0.0229161, 0.0946917, 0.0333466, -0.0432457, 0.00767451, 0.0313255, | |
| 39 | - 0.00869893, 0.0124194, 0.0200126, -0.0542009, -0.0419267, -0.0324422, -0.0361022, -0.0342807, | |
| 40 | - 0.0285237, -0.00941491, 0.042298, 0.0531628, -0.0579588, -0.00360975, 0.0202182, -0.0463113, | |
| 41 | - -0.0217165, -0.0558329, -0.10461, 0.000644266, 0.0265933, -0.0190376, -0.0139198, -0.0177487, | |
| 42 | - 0.042957, 0.0337059, 0.0435429, 0.0366932, 0.0356663, 0.0708965, -0.112017, 0.0768778, | |
| 43 | - -0.0748603, -0.02778, -0.0439688, -0.0396568, -0.0230837, 0.0124313, 0.140415, -0.0556834, | |
| 44 | - 0.000653722, -0.070152, 0.00936496, -0.058654, -0.0223955, -0.0612233, 0.00818948, -0.0656468, | |
| 45 | - -0.00210204, 0.0253095, -0.0739135, -0.00608692, 0.00664508, -0.0317965, 0.123874, 0.0472496, | |
| 46 | - 0.00864499, 0.017566, 0.100338, 0.0076835, 0.0248831, 0.089721, -0.121064, 0.0594471 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p70(hatfit_yaw00_lev1_p70); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p70_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p71.mh deleted
| 1 | -// hat_yaw00_lev1_p71.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p71_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p71_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p71(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.266632; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00323948, -0.0113591, -0.0336446, -0.0710632, -0.0705223, 0.062828, -0.0251187, -0.0602036, | |
| 28 | - 1.21336e-05, 0.0550747, 0.00732572, 0.0563387, -0.0153524, -0.0419621, -0.00887493, -0.0643784, | |
| 29 | - -0.0137269, -0.024181, -0.0454399, -0.00608388, 0.0322647, -0.0382676, -0.00581657, -0.016338, | |
| 30 | - -0.0108501, 0.0256067, -0.0825346, -0.032075, 0.013924, -0.0233511, -0.0214738, 0.0280752, | |
| 31 | - -0.107449, 0.0538449, -0.0324866, 0.0252568, 0.0629976, 0.0207773, 0.0430119, 0.0273273, | |
| 32 | - -0.014923, -0.0388074, 0.00823292, -0.045255, 0.0650417, 0.0443541, 0.0635936, 0.083295, | |
| 33 | - 0.0382236, 0.000554167, 0.0419841, 0.0106936, 0.0110228, 0.0459013, 0.00467543, 0.0332924, | |
| 34 | - 0.0945127, 0.0472357, 0.0382225, -0.0225111, -0.0164956, 0.0434837, 0.0606323, 0.118943, | |
| 35 | - 0.0227736, 0.0480948, 0.082012, 0.0256161, 0.0113917, -0.0481997, -0.073957, 0.00668885, | |
| 36 | - -0.0322754, -0.019252, 0.0818042, 0.00733527, 0.0100666, 0.00991564, 0.0338835, 0.000509096, | |
| 37 | - -0.0388687, -0.00841774, 0.0167134, -0.0761158, -0.0143569, -0.00907291, 0.0220304, -0.0468844, | |
| 38 | - -0.0292457, -0.000624045, 0.0446416, 0.0363924, -0.00851759, -0.0481172, -0.0102748, -0.0435456, | |
| 39 | - -0.133599, -0.0498851, -0.0371449, 0.0411598, 0.0312921, -0.00926869, -0.0673707, -0.0917156, | |
| 40 | - -0.042758, -0.0852033, -0.0295567, 0.059162, -0.0074855, 0.0215083, -0.0329871, -0.0651943, | |
| 41 | - -0.0189135, -0.00652077, -0.11006, 0.032581, -0.102509, -0.0305093, -0.00925267, -0.0128011, | |
| 42 | - 0.0166546, -0.0709906, -0.0983723, -0.0197508, -0.0533792, -0.0488329, 0.141153, 0.0443988, | |
| 43 | - 0.00938893, 0.0266859, 0.0275815, 0.0470291, 0.0272184, 0.0654562, -0.107629, 0.0189209, | |
| 44 | - 0.0634252, 0.0416836, 0.071386, -0.00291001, -0.0148239, 0.0567805, -0.071365, 0.0271712, | |
| 45 | - -0.0311755, 0.0128937, 0.00768441, -0.0793778, -0.0645176, -0.0124901, 0.0369286, 0.0268296, | |
| 46 | - 0.0126682, 0.0331465, -0.0406404, -0.0143453, -0.0388306, -0.0232577, -0.0152349, -0.00314514 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p71(hatfit_yaw00_lev1_p71); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p71_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p72.mh deleted
| 1 | -// hat_yaw00_lev1_p72.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p72_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p72_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p72(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.298111; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0659044, -0.0136349, -0.000657047, -0.0524316, 0.0093208, 0.0259109, 0.0627028, -0.00903453, | |
| 28 | - 0.0274928, 0.0297302, 0.0694621, 0.0678002, 0.0654913, -0.0031269, 0.00777132, 0.0435105, | |
| 29 | - -0.0336438, -0.00949334, -0.0201626, 0.0315994, 0.0374407, -0.0292693, -0.0488771, -0.0692642, | |
| 30 | - -0.0778231, 0.0947238, 0.0986332, 0.0204165, 0.0653812, 0.0855347, 0.10902, 0.0990798, | |
| 31 | - 0.0252731, 0.0228385, -0.0354786, -0.0257165, 0.00979335, 0.0133789, -0.011996, 0.122096, | |
| 32 | - -0.116807, 0.03751, 0.0182167, 0.072391, 0.0461229, 0.0279572, -0.0575722, -0.0174644, | |
| 33 | - -0.110995, -0.0872117, -0.044589, -0.0274898, -0.0213475, -0.0663374, -0.0594111, -0.038104, | |
| 34 | - 0.0225458, 0.0143709, -0.0475647, -0.0176696, -0.0952845, -0.0270043, -0.0115237, -0.013899, | |
| 35 | - 0.0440536, -0.0365961, -0.0699315, -0.0686312, -0.0798702, -0.0546913, -0.00454662, -0.0516614, | |
| 36 | - -0.021318, -0.0627624, 0.0824855, 0.0662995, 0.0526493, -0.0404413, 0.0253183, -0.010623, | |
| 37 | - 0.0509673, -0.0313634, 0.0580512, 0.036311, 0.00554113, 0.0408745, -0.0538253, -0.0556542, | |
| 38 | - -0.0161722, 0.0340043, -0.0203796, -0.0764515, -0.0650205, 0.0578113, 0.091688, 0.00397961, | |
| 39 | - 0.0227092, -0.012721, -0.0121066, -0.0237495, 0.000210238, 0.00523915, 0.00866707, 0.0416126, | |
| 40 | - -0.00888034, 0.0335162, 0.00281285, 0.000216386, 0.0195712, -0.00883568, -0.0601433, -0.0224163, | |
| 41 | - 0.0219169, -0.0063463, -0.0157962, 0.0198269, 0.00410662, 0.00975731, -0.0218908, 0.0454962, | |
| 42 | - -0.0155503, 0.0988849, 0.0463098, -0.0100967, -0.0268059, 0.0566602, 0.072615, 0.0740009, | |
| 43 | - -0.0333233, -0.0182402, -0.0706448, 0.0125493, -0.040476, -0.0350976, -0.137625, 0.00128251, | |
| 44 | - -0.0558219, -0.00671415, -0.0848036, 0.0173377, -0.0294549, -0.000625941, -0.0863849, -0.0417296, | |
| 45 | - -0.00513088, -0.0261223, 0.0074173, -0.0278166, -0.0170869, 0.00271093, 0.0106674, 0.0273419, | |
| 46 | - -0.0100846, 0.00562695, -0.00600253, 0.0216703, -0.00989039, -0.00382208, 0.0260593, -0.000255542 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p72(hatfit_yaw00_lev1_p72); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p72_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p73.mh deleted
| 1 | -// hat_yaw00_lev1_p73.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p73_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p73_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p73(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.444151; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.020546, 0.0161181, 0.0654594, -0.0948747, 0.0285488, 0.0408993, -0.0211689, 0.0247758, | |
| 28 | - -0.00582393, 0.0185156, 0.0725341, 0.00802478, 0.0177493, 0.0507399, 0.0132491, 0.00144042, | |
| 29 | - -0.0140682, 0.0033576, -0.000123129, -0.0115809, -0.00328298, 0.0253079, -0.0533519, 0.0387285, | |
| 30 | - -0.00350354, -0.0703206, 0.0106172, -0.0374575, 0.0282741, 0.0254831, -0.0700683, -0.0170526, | |
| 31 | - -0.0364723, 0.0324261, -0.0404725, 0.0728566, 0.00123376, -0.01443, 0.0143197, -0.0289, | |
| 32 | - -0.044168, -0.0394531, -0.0453126, -0.0427691, -0.0969554, -0.104084, 0.0706115, -0.0336697, | |
| 33 | - -0.0357658, -0.00877757, -0.018146, 0.0280338, 0.0330396, -0.0116376, -0.0718934, -0.0169607, | |
| 34 | - -0.00429307, -0.00922947, -0.0148544, 0.0603271, 0.0430832, 0.0702863, -0.0180784, -0.0242528, | |
| 35 | - -0.0409658, 0.0116987, 0.0459699, 0.0121752, -0.0819474, -0.00677367, 0.0379443, -0.0223598, | |
| 36 | - -0.0292117, 0.000454892, -0.0194356, -0.031597, -0.109613, -0.0242186, -0.00652066, 0.0350001, | |
| 37 | - -0.012082, 0.0091048, 0.065266, -0.0128821, 0.028678, 0.00238832, 0.182173, -0.0143746, | |
| 38 | - 0.0724319, 0.0371631, 0.0456258, 0.0132541, 0.031683, -0.0492994, 0.0593304, 0.0549378, | |
| 39 | - 0.0210115, 0.00293678, -0.0423056, -0.0732382, -0.0307535, 0.00439763, -0.0169179, 0.0584682, | |
| 40 | - -0.00417461, -0.000920001, -0.0323396, -0.0243903, -0.0290335, -0.0224079, -0.0441952, 0.0355719, | |
| 41 | - 0.00940746, 0.0466832, -0.0271315, -0.0411812, 0.00951903, -0.0392041, -0.112846, -0.0197858, | |
| 42 | - 0.0278604, 0.00782806, -0.0426082, -0.0257704, 0.0161067, 0.0148668, -0.128532, -0.0126304, | |
| 43 | - 0.0221653, -0.0646441, 0.00312968, -0.0427131, -0.0420398, -0.021803, -0.0280242, 0.00798578, | |
| 44 | - -0.0327944, -0.0170829, -0.0214821, 0.058862, 0.0327726, 0.00170463, -0.029606, 0.0144036, | |
| 45 | - -0.0451911, -0.0545393, -0.0336726, 0.0161638, -0.0212735, 0.00839933, 0.00677629, -0.0399395, | |
| 46 | - -0.0440208, 0.0470579, 0.01285, 0.0786805, 0.00188622, -0.00854256, 0.00466533, -0.00454773 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p73(hatfit_yaw00_lev1_p73); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p73_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p74.mh deleted
| 1 | -// hat_yaw00_lev1_p74.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p74_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p74_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p74(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0861693; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0377272, -0.052074, 0.0842496, 0.0269239, -0.0173226, -0.0148563, -0.0387223, 0.0620431, | |
| 28 | - -0.0304301, -0.0629466, -0.011215, 0.0698194, -0.0163436, 0.0618149, -0.0107698, 0.00857855, | |
| 29 | - 0.0154768, 0.0553717, 0.0201951, -0.0199971, 0.0157546, 0.0529829, -0.0227046, 0.0993725, | |
| 30 | - -0.00917861, 0.0140864, 0.0278605, -0.0611641, -0.0496295, -0.0369097, -0.00715461, 0.0107413, | |
| 31 | - -0.00622658, -0.00358566, 0.0699447, -0.027576, 0.0455637, 0.125504, -0.0768594, 0.0122902, | |
| 32 | - 0.0925916, 0.0657672, -0.020839, -0.0717925, -0.0366377, -0.0562988, 0.0310773, 0.0800754, | |
| 33 | - -0.0604142, -0.0229939, 0.00696296, -0.00243065, 0.0139147, -0.0643964, 0.0709301, -0.0999129, | |
| 34 | - -0.0211337, -0.0358355, -0.02303, -0.0486519, -0.0799998, -0.0850369, 0.0285144, -0.0695838, | |
| 35 | - -0.0289704, 0.000604421, -0.00804623, -0.0119128, 0.013159, -0.0179008, 0.0642296, -0.0752543, | |
| 36 | - -0.0255169, -0.0183058, 0.0117462, 0.111172, 0.0510885, 0.0540716, 0.00467105, -0.00388082, | |
| 37 | - -0.0727964, -0.0721001, -0.0465695, 0.0430624, -0.0273294, 0.141421, -0.119877, -0.0860733, | |
| 38 | - 0.0234302, 0.004918, 0.106259, -0.0271116, 0.0233788, -0.0203192, 0.135544, 0.0318046, | |
| 39 | - 0.0164929, -0.0175186, 0.0115526, 0.000396585, 0.0416848, 0.0269781, 0.00863606, -0.0310569, | |
| 40 | - 0.0687198, 0.0206739, 0.124923, 0.0268222, 0.0208457, -0.0239115, 0.129879, 0.0822653, | |
| 41 | - 0.0138962, 0.0317609, -0.0513746, -0.0950611, -0.00748574, -0.0715021, -0.146752, 0.101075, | |
| 42 | - 0.0161374, 0.0291443, -0.0163718, -0.00827008, 0.0423341, -0.0263848, -0.0503185, -0.00127387, | |
| 43 | - 0.00326663, -0.0664793, 0.00148467, 0.031439, -0.00665274, 0.00286052, -0.0226317, 0.00987852, | |
| 44 | - -0.0108395, 0.0167889, -0.0189328, -0.00941313, 0.0100464, 0.00736375, -0.0125995, 0.0145155, | |
| 45 | - -0.0128805, 0.0106394, -0.0727996, -0.0944875, -0.0211638, 0.040031, -0.0387772, -0.0253539, | |
| 46 | - 0.0236832, -0.0159759, 0.0388389, 0.0955583, -0.0130999, -0.0450405, -0.026158, -0.0274946 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p74(hatfit_yaw00_lev1_p74); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p74_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p75.mh deleted
| 1 | -// hat_yaw00_lev1_p75.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p75_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p75_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p75(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.244095; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.000899974, 0.0353078, 0.0145825, -0.0121622, -0.00485157, -0.0256038, -0.0205757, -0.00587983, | |
| 28 | - 0.0199168, -0.0300858, -0.0231304, -0.0156234, -0.0188123, 0.0105047, -0.0780988, 0.0180119, | |
| 29 | - 0.0160617, -0.0164322, 0.0267275, 0.0324825, 0.0183688, 0.0275049, -0.0196376, 0.0290752, | |
| 30 | - 0.0127766, 0.00365792, 0.074349, 0.0197182, -0.00756497, -0.0135765, -0.00210256, 0.0444623, | |
| 31 | - 0.0134508, -0.0655841, 0.0336806, 0.0269161, -0.0119017, 0.0793009, -0.00775912, 0.0461052, | |
| 32 | - -0.115087, -0.0353255, 0.0132794, 0.00745167, -0.0310263, 0.0243837, 0.00809966, -0.00518043, | |
| 33 | - 0.0636831, 0.037696, 0.0776245, -0.0330936, 0.000981091, -0.00115743, 0.0407476, 0.0586357, | |
| 34 | - 0.0680963, 0.0492938, -0.00274996, -0.00482297, -0.0331305, -0.0555758, -0.0430299, 0.0130458, | |
| 35 | - -0.00616732, -0.0500856, -0.0828604, -0.0381615, -0.0566974, -0.0150602, 0.0302092, -0.0708142, | |
| 36 | - -0.0398492, 0.00213115, 0.00406433, -0.00636538, -0.0487779, -0.0669123, 0.0364117, -0.0910838, | |
| 37 | - -0.017267, -0.033364, -0.0169948, 0.0431293, 0.0316849, -0.0475541, -0.10673, -0.085643, | |
| 38 | - -0.0627401, -0.022714, -0.0650185, 0.060876, -0.0126668, 0.0498532, -0.0311162, -0.00631595, | |
| 39 | - -0.0592686, -0.0217015, -0.0353328, 3.01015e-05, 0.00939841, 0.0838227, -0.0118762, 0.046194, | |
| 40 | - -0.0344715, 0.010483, 0.0423841, 0.0120006, 0.0735342, 0.0507255, 0.0291151, -0.0374105, | |
| 41 | - 0.0230171, -0.0427561, 0.0774957, -0.0130141, 0.0157903, -0.0284648, 0.205693, -0.00952433, | |
| 42 | - -0.00556125, 0.0859779, 0.0195645, 0.000381589, -0.0186602, -0.0494488, -0.0101716, 0.00144208, | |
| 43 | - 0.0220583, 0.00610326, -0.0362644, -0.0273198, -0.0653834, -0.0249836, 0.0135337, 0.0338374, | |
| 44 | - 0.0109754, 0.0187904, -0.0189524, -0.0386528, -0.00947884, -0.0129014, -0.0440307, -0.0168492, | |
| 45 | - 0.00959161, -0.0341214, 0.00378802, 0.0197966, 0.0237692, 0.00692549, -0.0449733, 0.0142163, | |
| 46 | - 0.0276045, 0.0132254, -0.0378692, -0.0531314, -0.0021312, 0.0143778, -0.106118, 0.0143603 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p75(hatfit_yaw00_lev1_p75); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p75_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev1_p76.mh deleted
| 1 | -// hat_yaw00_lev1_p76.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev1_p76_mh | |
| 4 | -#define stasm_hat_yaw00_lev1_p76_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev1_p76(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.167083; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0178567, 0.00471566, -0.00311486, 0.0590848, 0.018484, 0.109937, 0.0273678, 0.0385779, | |
| 28 | - 0.0964948, 0.0198502, 0.0733013, 0.0630774, -0.0975216, 0.0475847, 0.141174, 0.055912, | |
| 29 | - 0.0450708, 0.102869, -0.0110608, 0.0225142, -0.00837921, -0.0446967, -0.0637368, -0.0486541, | |
| 30 | - 0.007223, 0.0421737, 0.0486142, 0.035173, 0.0203823, 0.0383853, 0.00289787, -0.0133363, | |
| 31 | - 0.00970628, -0.0349687, 0.0170089, -0.0533628, 0.0531978, 0.000440911, 0.046605, 0.0487779, | |
| 32 | - 0.000617105, 0.0353907, 0.0273192, -0.092682, -0.0704793, -0.0155085, -0.0217113, -0.0631617, | |
| 33 | - -0.112172, -0.0802243, -0.0608824, 0.0123457, 0.101898, -0.0345389, 0.00356435, -0.0256903, | |
| 34 | - -0.0861817, -0.0318411, -0.00801122, -0.0602708, -0.0648524, -0.0169876, -0.0223819, -0.0399834, | |
| 35 | - 0.0246939, -0.00651791, -0.025922, -0.0122764, -0.0152515, -0.074221, -0.0428134, 0.0231071, | |
| 36 | - 0.0214263, 0.0464157, -0.00333684, 0.0686476, -0.0726611, -0.01918, -0.0510255, -0.0121835, | |
| 37 | - 0.0251027, 0.017702, -0.020816, 0.0256276, 0.062492, 0.031742, 0.0160975, 0.0905406, | |
| 38 | - -0.00495778, -0.0248092, -0.0028224, 0.00834231, -0.0172717, -0.0282789, -0.0644648, -0.091834, | |
| 39 | - 0.0375562, -0.00619002, -0.00536505, 0.020868, 0.032814, 0.0248805, 0.0170806, 0.0586391, | |
| 40 | - -0.0149593, -0.0445147, 0.0531902, -0.0218665, -0.0289037, 0.065172, 0.0438367, 0.017724, | |
| 41 | - 0.0487856, 0.0179788, 0.0317689, -0.0629089, 0.0142979, -0.051581, -0.00846684, 0.0634947, | |
| 42 | - -0.0244065, 0.00798281, 0.0281053, -0.0294804, 0.00115965, 0.0110325, 0.0143852, -0.0351062, | |
| 43 | - -0.0154878, -0.0199757, -0.0262725, 0.00266283, -0.0202465, 0.0119766, -0.0192617, 0.0439345, | |
| 44 | - -0.0650565, -0.0194041, -0.0956524, -0.0440435, -0.00749312, -0.0431471, -0.067371, -0.054401, | |
| 45 | - -0.0463175, 0.0219669, -0.0384754, 0.0520812, -0.0308316, -0.0167847, -0.100874, 0.0112061, | |
| 46 | - -0.0256602, -0.0237249, 0.0170488, 0.0909679, -0.0136034, 0.0805518, 0.0374694, 0.0708242 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev1_p76(hatfit_yaw00_lev1_p76); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev1_p76_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p16.mh deleted
| 1 | -// hat_yaw00_lev2_p16.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p16_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p16_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p16(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.201199; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0479748, -0.00784569, -0.0839676, -0.0402904, -0.00990121, -0.0161831, 0.0171531, 0.0633562, | |
| 28 | - 0.0458178, 0.038718, -0.00229275, -0.00807225, -0.00097018, -0.0167164, -0.0218175, 0.0212908, | |
| 29 | - 0.0483748, 0.0306654, 0.00668657, -0.0368009, 0.00499699, -0.0319757, -0.0424916, 0.0178991, | |
| 30 | - 0.0126939, 0.0156106, -0.0195705, -0.0524409, 0.00303049, -0.00036784, -0.0339076, -0.00650181, | |
| 31 | - -0.00221962, 0.0418911, 0.0109849, -0.0273736, -0.026405, 0.0189485, -0.0374008, -0.0135253, | |
| 32 | - -0.0509223, -0.017173, -0.00960212, -0.00728783, 0.0171797, 0.0235679, 0.11178, 0.00767195, | |
| 33 | - -0.0532631, -0.0134703, 0.0251553, 0.0296362, 0.0100125, -0.00951279, 0.0175886, -0.0152258, | |
| 34 | - -0.0643198, -0.00778827, 0.0185586, 0.0440405, 0.0352242, 0.000335484, 0.0510853, -0.0333015, | |
| 35 | - -0.0664789, -0.022523, 0.0492345, 0.0635387, 0.0590402, -0.0214514, 0.0291401, -0.0576358, | |
| 36 | - -0.0595315, -0.0602438, -0.0498133, -0.00367544, 0.0452483, -0.0124489, 0.125025, 0.0170502, | |
| 37 | - -0.0049248, -0.0393945, 0.0171818, 0.0114648, -0.0132102, -0.016775, 0.0096432, -0.0147961, | |
| 38 | - 0.0331186, 0.00980842, -0.0214262, -0.0321873, -0.0313714, -0.0137095, -0.0132678, 0.0154735, | |
| 39 | - 0.0614494, 0.0190023, 0.00482608, -0.0350526, -0.0510161, -0.04975, -0.0354202, 0.0309835, | |
| 40 | - 0.0550816, 0.0681949, 0.0527185, -0.0125734, -0.0319863, -0.0356415, -0.0373618, 0.0207985, | |
| 41 | - 0.0501947, 0.0225517, -0.0432618, 0.00168456, -0.00521152, -0.013559, 0.00523639, 0.094479, | |
| 42 | - -0.00574153, -0.0537307, 0.0131248, -0.00685395, -0.0151087, 0.00691375, -0.00111654, -0.0486872, | |
| 43 | - -0.014142, -0.0469476, 0.00942551, 0.0237295, 0.0337823, 0.0245199, 0.0387013, -0.0252803, | |
| 44 | - -0.0613539, -0.0400444, 0.0029828, 0.00468973, 0.00446706, 0.0299791, 0.00778386, -0.0241703, | |
| 45 | - -0.0407481, -0.00160535, 0.00760824, 0.00280452, -0.0209072, -0.0135813, -0.030542, -0.0249088, | |
| 46 | - -0.0641581, 0.0137424, -0.0494603, -0.0549461, -0.0140327, 0.010657, -0.0297539, -0.0048274 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p16(hatfit_yaw00_lev2_p16); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p16_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p17.mh deleted
| 1 | -// hat_yaw00_lev2_p17.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p17_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p17_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p17(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0641183; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00548101, -0.0278398, -0.0529979, -0.0184241, -0.0244758, 0.00750857, -0.0870743, -0.0408273, | |
| 28 | - 0.0191316, -0.0132359, -0.0197415, -0.0282264, -0.0230354, -0.0469168, 0.00305976, 0.00509154, | |
| 29 | - 0.0337102, 0.0317416, -0.0147772, -0.0521098, -0.0298594, -0.0364094, 0.00320256, -0.00965839, | |
| 30 | - 0.0502111, 0.0040414, -0.0186344, -0.00963626, -0.00643085, -0.0348256, 0.0274904, 0.0428869, | |
| 31 | - 0.0423164, 0.0703478, 0.0436876, -0.043167, -0.0155584, -0.0627262, -0.0910627, -0.0270945, | |
| 32 | - 0.0381986, 0.0170332, -0.0378051, -0.0305759, -0.0101497, 0.0294837, 0.0541005, 0.0204143, | |
| 33 | - -0.0107043, 0.0141293, -0.000124892, -0.00228929, -0.00584688, 0.0562794, 0.029545, 0.0289569, | |
| 34 | - -0.0294728, -0.00693026, -0.00502799, -0.0220686, 0.017127, 0.0168838, 0.0372847, 0.035913, | |
| 35 | - -0.0387757, -0.00677981, 0.0154889, 0.00584213, 0.0138248, 0.022448, 0.0259633, -0.000267879, | |
| 36 | - -0.0199762, 0.0355431, 0.0268489, 0.059433, 0.0371466, -0.0195291, 0.0631884, 0.0154288, | |
| 37 | - -0.0666278, -0.0212345, 0.00775835, -0.0203998, -0.00585601, 0.118692, 0.0160203, 0.00520236, | |
| 38 | - -0.0245992, -0.0205268, 0.0347002, 0.0146157, 0.021682, 0.0334895, -0.0537345, -0.0151598, | |
| 39 | - -0.0188597, -0.0376348, 0.0303035, 0.0415455, 0.0246958, 0.0142054, -0.0206932, 0.00589225, | |
| 40 | - -0.0151944, -0.0372652, 0.00272563, -0.00158859, 0.0128479, 0.00141992, -0.0375236, -0.0219545, | |
| 41 | - -0.0257391, -0.0161181, 0.0355049, -0.0246824, -0.0230046, -0.0200004, 0.00343231, 0.0139045, | |
| 42 | - -0.00558463, 0.0414232, -0.0391887, -0.048578, -0.0148066, 0.00240101, -0.0306445, 0.0222875, | |
| 43 | - 0.0113709, 0.0243018, 0.0126473, -0.0107071, -0.028586, -0.0114096, 0.00955817, 0.00577993, | |
| 44 | - 0.00295543, -0.00017432, -0.00483328, -0.00866622, -0.0210113, -0.00407164, 0.00779089, -0.0204989, | |
| 45 | - 0.0224204, -0.0126428, 0.0216603, 0.0197888, -0.00295644, -0.000934317, 0.0240641, -0.0132466, | |
| 46 | - 0.0069265, -0.0727936, 0.0252536, 0.0185129, -0.00494405, 0.00818837, 0.0187053, -0.0385674 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p17(hatfit_yaw00_lev2_p17); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p17_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p18.mh deleted
| 1 | -// hat_yaw00_lev2_p18.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p18_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p18_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p18(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.464167; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0070516, -0.0138885, -0.00838615, 0.0241183, 0.00800509, -0.0107691, -0.0318889, -0.0226589, | |
| 28 | - 0.0601676, -0.0169016, -0.00575287, -0.0394743, 0.0451446, -0.0203331, -0.0540854, -0.0105876, | |
| 29 | - 0.0294445, -0.0333346, -0.0331402, -0.0444691, 0.0121001, 0.0844445, 0.041568, 0.0562884, | |
| 30 | - -0.0322616, 0.0360436, 0.00921021, -0.013502, -0.0027091, 0.0523874, 0.0272614, 0.012032, | |
| 31 | - 0.000168089, 0.0174628, 0.0798083, 0.0276852, 0.0135955, 0.0296484, 0.0129555, 0.0806812, | |
| 32 | - 0.0500424, 0.00710139, -0.00429781, -0.0238927, 0.00206671, -0.0204532, 0.0172665, -0.000815265, | |
| 33 | - -0.00492949, -0.00120939, -0.0317968, -0.00504358, 0.00071816, -0.00772781, 0.00686577, 0.0260517, | |
| 34 | - -0.028403, 0.0759707, 0.0504597, 0.0504078, 0.0332929, -0.00196605, -0.000229055, -0.0222047, | |
| 35 | - 0.0165769, 0.0412389, -0.00796234, -0.00544252, -0.0125328, -0.0431626, -0.00170195, -0.0120648, | |
| 36 | - -0.0211015, 0.00974593, 0.0316203, 0.0240425, -0.00954887, 0.0135305, 0.0313708, -0.0139964, | |
| 37 | - 0.00818618, -0.0291873, -0.0385677, -0.0388603, -0.00953679, -0.0185117, 0.00438256, -0.0280945, | |
| 38 | - 0.00657028, -0.0137535, 0.0160152, 0.0283693, 0.0329595, -0.00655665, 0.0025663, -0.00771347, | |
| 39 | - 0.0294882, 0.0260856, 0.00637648, -0.00866566, -0.040871, -0.0224035, -0.00895485, -0.00151325, | |
| 40 | - 0.00673054, -0.0275637, -0.0518765, -0.0346669, -0.0177936, 0.0449881, 0.0065214, 0.00766954, | |
| 41 | - 0.0429394, 0.0386208, 0.0464108, 0.00573303, -0.0410096, 0.00386441, 0.0278229, 0.0230318, | |
| 42 | - 0.0152115, -0.0100685, 0.0293164, 0.0540824, 0.0292131, 0.0355769, 0.000325612, -0.0256946, | |
| 43 | - -0.0172053, -0.00233631, 0.00716747, 0.0294623, -0.00225413, -0.0271301, -0.037571, -0.00656058, | |
| 44 | - -0.00636178, -0.0178503, -0.0179586, 0.0090866, 0.0361297, 0.00409523, -0.0119827, -0.0166724, | |
| 45 | - 0.00418527, -0.00409336, 0.00976438, 0.0118843, 0.0649968, 0.00491458, -0.0490295, 0.00522135, | |
| 46 | - -0.0017874, 0.00497965, -0.0123665, 0.0632608, 0.0561797, 0.0983509, 0.126985, 0.0707482 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p18(hatfit_yaw00_lev2_p18); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p18_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p19.mh deleted
| 1 | -// hat_yaw00_lev2_p19.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p19_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p19_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p19(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.240635; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0168096, -0.0442579, -0.070338, -0.0473302, -0.0222136, 0.0957758, 0.0164518, 0.00523625, | |
| 28 | - 0.00195702, -0.0127086, -0.00720966, -0.00891624, -0.0226743, 0.0302098, -0.00206097, 0.00197536, | |
| 29 | - 0.0119359, -0.010845, 0.0263878, 0.0103592, 0.0269128, 0.0031775, 0.00825071, 0.0185765, | |
| 30 | - -0.00863547, -0.0109844, -0.0088456, -0.026454, -0.0136792, 0.02238, 0.0159833, 0.0229814, | |
| 31 | - 0.00676278, 0.0356278, 0.0243659, -0.0483941, -0.00029279, -0.0285899, 0.0724552, 0.0293844, | |
| 32 | - -0.0628865, 0.0278929, 0.0492395, -0.00819929, -0.00417028, -0.0135682, -0.00638027, -0.00104148, | |
| 33 | - -0.0277807, 0.0166524, 0.0453805, 0.00800668, 0.0257926, -0.0182616, -0.0193732, -0.0185252, | |
| 34 | - -0.0363109, -0.00320665, 0.0598099, 0.0404136, -0.000212925, -0.0243272, -0.00412736, -0.0254325, | |
| 35 | - 0.00665958, -0.0315541, 0.0232733, 0.0193451, 0.0184404, 0.00400625, 0.0300885, -0.00994864, | |
| 36 | - -0.0271101, -0.0865407, 0.064576, 0.0308198, -0.0193159, -0.00973269, -0.0206604, -0.0100628, | |
| 37 | - 0.0268986, 0.0501878, -0.0267205, -0.0220307, -0.0236678, 0.0160175, -0.0324663, -0.00533803, | |
| 38 | - 0.0409558, -0.00325867, -0.0142667, -0.0142876, -0.0127697, 0.0148601, 0.0163897, 0.00407631, | |
| 39 | - 0.0428517, 0.0201913, -0.0215948, -0.00872995, -0.00192159, 0.008682, 0.0154782, -0.00524282, | |
| 40 | - 0.00842598, -0.00765053, 0.00464852, 6.63136e-05, 0.014949, 0.00761466, 0.0266099, -0.00830669, | |
| 41 | - 0.0452914, -0.0164204, -0.031957, 0.0121778, 0.028522, 0.0417206, 0.0588211, -0.0239453, | |
| 42 | - -0.00447031, -0.00836715, -0.036449, 0.0202073, 0.0334947, 0.0145783, -0.0586885, 0.0168487, | |
| 43 | - -0.00579858, 0.0101248, 0.0214281, 0.00176611, 0.000148868, 0.0413324, 0.0124326, 0.0215377, | |
| 44 | - 0.0165895, 0.00406493, 0.0232231, 0.0357304, -0.00316806, -0.00542247, 0.0273935, 0.0283702, | |
| 45 | - 0.0246317, -0.0173005, 0.0102101, 0.00916052, -0.00898166, -0.0394295, -0.00401933, -0.0383193, | |
| 46 | - 0.0141222, 0.0139724, -0.0176987, -0.0316665, -0.00812724, 0.00615176, 0.0640168, 0.00201298 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p19(hatfit_yaw00_lev2_p19); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p19_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p20.mh deleted
| 1 | -// hat_yaw00_lev2_p20.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p20_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p20_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p20(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.57973; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00205481, -0.0137214, -0.00309148, -0.0185552, -0.0044485, -0.00405411, 0.0980302, 0.0258474, | |
| 28 | - 0.0441372, 0.0271223, -0.022722, -0.0374453, -0.00967222, 0.00451008, 0.0400823, 0.0441306, | |
| 29 | - 0.0282369, 0.0376717, 0.00993434, -0.00164766, -0.0277478, -0.0452401, 0.0094723, 0.0245945, | |
| 30 | - -0.00383547, 0.0326884, 0.0353405, 0.0255885, 0.0267886, 0.0080378, 0.0145145, 0.0248141, | |
| 31 | - 0.0470777, -0.0160207, 0.0149831, 0.0101602, 0.0657714, -0.0467214, 0.102737, 0.0984535, | |
| 32 | - 0.0310132, -0.0311305, 0.095894, 0.0438843, 0.00138908, -0.0255201, 0.00320738, -0.00878598, | |
| 33 | - -0.00080174, -0.0433443, 0.00994268, 0.0442605, 0.0359996, 0.0168742, 0.0266655, -0.015031, | |
| 34 | - -0.0108812, -0.0152446, 0.0306542, -0.0408367, -0.0200448, -0.0219055, -0.00829048, -0.0299107, | |
| 35 | - 0.00286763, 0.0235611, 0.0619527, -0.00629094, -0.0349205, -0.0349401, -0.0219735, -0.0223126, | |
| 36 | - -0.0190521, 0.0522663, 0.0175953, -0.0569897, -0.0104982, 0.0112655, -0.0351287, -0.0102906, | |
| 37 | - -0.020444, -0.0218077, -0.0230517, -0.0435241, -0.00586253, 0.0243467, 0.023879, -0.031373, | |
| 38 | - 0.00837013, -0.0207039, 0.00489612, 0.0227467, 0.00429101, 0.0393884, 0.0267815, -0.0161819, | |
| 39 | - 0.00150121, -0.0100761, -0.0098574, 0.058646, 0.0332048, 0.0457629, 0.0414061, -0.000192158, | |
| 40 | - 0.0113764, -0.0175181, -0.00533787, 0.0196774, 0.0189207, 0.00725609, 0.0267366, 0.0193298, | |
| 41 | - -0.0244301, -0.0107281, -0.0358781, -0.0160337, 0.00206874, -0.0594505, -0.0192336, 0.00931433, | |
| 42 | - 0.0467891, -0.0349222, 0.0139858, 0.0436247, -0.00253807, 0.003628, 0.0264592, -0.0351408, | |
| 43 | - 0.0164997, 0.0299346, -0.0112387, -0.049508, -0.00414905, -0.0249483, 0.0164856, -0.0237207, | |
| 44 | - 0.0292897, 0.0463837, 0.00937479, 0.00963005, 0.0212507, 0.00877913, 0.0395294, 0.0149616, | |
| 45 | - 0.00562129, 0.0367735, 0.0154453, 0.0195445, 0.0171127, 0.0147879, 0.0285341, 0.0203778, | |
| 46 | - -0.0326154, 0.0306668, -0.00174604, 0.0345561, 0.0300234, 0.0564806, -0.0346435, 0.0125497 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p20(hatfit_yaw00_lev2_p20); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p20_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p21.mh deleted
| 1 | -// hat_yaw00_lev2_p21.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p21_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p21_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p21(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.137371; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00236509, -0.00904201, 0.0482622, 0.0424488, 0.0565872, -0.0327647, 0.0570792, 0.0605706, | |
| 28 | - -0.0128233, -0.0312516, 0.0244441, 0.0247274, 0.0639721, 0.00583817, 0.051489, 0.0328103, | |
| 29 | - -0.0583378, -0.0380139, 0.0164458, 0.0317571, 0.0424508, 0.0116324, 0.0200214, 0.0590078, | |
| 30 | - -0.0306806, -0.0405981, -0.00652414, 0.00700168, 0.0290531, 0.0100532, -0.0120271, 0.0226684, | |
| 31 | - -0.0112358, 0.00504471, -0.0403399, -0.0153419, -0.0315861, 0.0165162, 0.00592848, 0.0118801, | |
| 32 | - 0.0344096, 0.0426078, 0.0536365, -0.0266674, -0.0599532, -0.0454601, -0.0507451, -0.0308664, | |
| 33 | - 0.00734138, 0.0751499, 0.00975933, 0.0111379, -0.00815451, 0.00552466, -0.0422937, -0.0288442, | |
| 34 | - 0.0361002, 0.0313253, -0.0258745, 0.000885331, -0.0193726, 0.00598507, -0.0090692, -0.00433989, | |
| 35 | - 0.0222115, -0.00361573, -0.0331707, -0.030468, -0.0244275, -0.00293196, 0.0322258, 0.0321031, | |
| 36 | - -0.0104847, -0.0303236, 0.00775746, -0.00491881, -0.00907141, 0.003709, -0.00123734, -0.0289989, | |
| 37 | - -0.0653049, -0.0366091, -0.0253084, -0.0427656, -0.0227685, -0.0113534, 0.0215344, 0.000436021, | |
| 38 | - 0.00641436, 0.011706, -0.0162955, -0.0391898, -0.0397683, -0.0374501, 0.0154038, 0.0331744, | |
| 39 | - 0.0310901, 0.0396808, -0.0369438, -0.0320113, -0.0365431, -0.0231747, 0.00364888, 0.0506336, | |
| 40 | - 0.00216586, 0.00920747, 4.29333e-06, -0.0160827, -0.0171278, -0.00370237, -0.0198794, 0.0251668, | |
| 41 | - -0.0425848, 0.0218599, 0.0425504, 0.0306612, -0.0116232, -0.030963, -0.0149334, -0.0128814, | |
| 42 | - 0.0366718, 0.0230035, -0.0129825, 0.0180202, 0.0178947, 0.0340951, 0.020461, 0.0255292, | |
| 43 | - -0.0281736, 0.00630762, 0.0147464, 0.0573448, 0.0240933, 0.0175706, -0.0213692, -0.022618, | |
| 44 | - 0.0105691, -0.0263521, -0.00420126, 0.0318987, 0.037116, 0.0379115, -0.00468657, 0.0204243, | |
| 45 | - 0.062086, -0.0372716, -0.0137724, -0.00837101, 0.0258512, 0.00812403, -0.0121935, 0.0185915, | |
| 46 | - 0.085514, -0.0301003, 0.0350227, 0.0149268, -0.00248905, 0.000797402, -0.0177684, -0.00654257 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p21(hatfit_yaw00_lev2_p21); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p21_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p22.mh deleted
| 1 | -// hat_yaw00_lev2_p22.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p22_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p22_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p22(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0117697; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0178546, -0.00507232, -0.00537885, -0.0530472, -0.0562883, 0.0296127, -0.0548014, -0.000823639, | |
| 28 | - 0.015926, 0.00988827, 0.00843378, -0.0217375, -0.0385913, 0.0506703, -0.00520324, -0.0104024, | |
| 29 | - -0.000330601, 0.00924059, -0.0198405, -0.0429418, -0.0654977, 0.0470837, 0.0526988, -0.0131279, | |
| 30 | - 0.018024, 0.0390424, 0.0101875, 0.0238801, -0.00712584, 0.0535957, 0.0522608, 0.0102155, | |
| 31 | - -0.0226839, 0.0148612, 0.0226066, 0.0162535, -0.0285434, 0.0257833, 0.0471718, -0.0458596, | |
| 32 | - 0.000277075, 0.00620342, -0.0221676, -0.00461481, 0.0636075, 0.00634243, 0.00543572, 0.0105987, | |
| 33 | - 0.00897372, -0.0190757, -0.0626532, -0.0109301, 0.0265744, 0.00603106, 0.00160259, 0.0368236, | |
| 34 | - -0.00140971, -0.0150079, 0.0203465, 0.0625984, 0.0503313, -0.00942197, -0.0263503, 0.00727295, | |
| 35 | - -0.0242728, -0.0137839, 0.0411412, 0.0404335, 0.0170111, -0.0161308, -0.0472095, -0.00676737, | |
| 36 | - -0.0562529, -0.0229003, 0.0162299, -0.00866833, -0.00391738, -0.0337265, -0.0379058, -0.0230986, | |
| 37 | - -0.0253698, 0.00212937, -0.00591203, 0.0584039, -0.0129678, 0.00929018, -0.0232662, -0.0520017, | |
| 38 | - -0.0194294, -0.053814, -0.0157562, -0.00375296, 0.00727014, 0.0407859, 0.0240675, -0.0271583, | |
| 39 | - -0.0294064, -0.0145298, 0.0048997, 0.0142413, -0.0138544, 0.00606824, 0.0031445, -0.0401113, | |
| 40 | - -0.0231949, -0.024332, -0.0455487, -0.0347302, -0.0593698, 0.0135033, 0.0127122, -0.0139138, | |
| 41 | - 0.0174126, 0.010852, -0.00842191, -0.0195408, -0.0233637, -0.0315422, 0.0133297, 0.0701624, | |
| 42 | - 0.0198514, 0.0102554, 0.00782285, -0.0285294, 0.104508, -0.00569995, -0.0339732, 5.90907e-05, | |
| 43 | - 0.0168465, 0.00239644, -0.0307843, -0.0371566, -0.0234185, 0.00555857, 0.00332544, 0.0340692, | |
| 44 | - 0.0329612, 0.0234823, -0.000965576, 0.00522464, -0.00789185, -0.0021173, -0.00775234, 0.0164451, | |
| 45 | - 0.0117572, 0.0227539, 0.00524717, 0.00727862, 0.0275104, 0.0121523, -0.020892, 0.00706355, | |
| 46 | - -0.0286189, 0.0186815, -0.0136882, 0.051597, 0.0459619, 0.0245787, 0.0183904, -0.0107941 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p22(hatfit_yaw00_lev2_p22); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p22_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p23.mh deleted
| 1 | -// hat_yaw00_lev2_p23.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p23_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p23_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p23(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.242677; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.000810244, -0.0477374, 0.0151243, 0.0792231, 0.043766, 0.000172928, -0.075201, 0.00877918, | |
| 28 | - 0.015561, -0.0270447, -0.0130295, 0.0234744, 0.0498321, 0.0208237, -0.0278933, -0.0238794, | |
| 29 | - 0.00150402, -0.0242494, -0.0122306, 0.0299458, 0.0606751, 0.0493692, -0.0425213, -0.0218249, | |
| 30 | - -0.0176783, -0.027917, -0.0168181, 0.012025, 0.0191672, 0.0318289, -0.00528081, -0.0383298, | |
| 31 | - 0.0343618, -0.0327522, -0.0511107, -0.0318691, -0.00791867, 0.0300615, 0.0169818, -0.00332896, | |
| 32 | - 0.0518194, 0.0364182, -0.0303691, -0.0891738, -0.108781, -0.0286836, 0.128743, -0.0317241, | |
| 33 | - 0.0213597, 0.0567028, 0.04782, 0.02951, -0.0305566, -0.0470166, 0.0357719, -0.02154, | |
| 34 | - -0.0043653, 0.0199172, 0.0119268, -0.0062304, -0.0498879, -0.0364475, 0.0605531, -0.0401511, | |
| 35 | - -0.0210481, 0.0142989, 0.0170633, 0.0183518, -0.00906584, -0.00979833, 0.020948, -0.0205823, | |
| 36 | - -0.019643, -0.0211283, -0.0295402, 0.00603548, -0.0146838, 0.0189525, 0.131104, 0.065143, | |
| 37 | - -0.0461765, -0.0538791, -0.0125012, 0.0887613, 0.0478228, 0.1007, -0.0118974, -0.0282087, | |
| 38 | - -0.0355892, -0.0213169, 0.00692103, 0.0126706, 0.00220347, 0.00400608, -0.0346168, -0.0361555, | |
| 39 | - -0.0238473, -0.0127767, -0.00240078, 0.00380214, 0.013514, 0.00170848, -0.0348666, -0.0270525, | |
| 40 | - 0.0167837, 0.00526975, -0.0129707, -0.0673188, -0.0227539, -0.0285314, 0.0154404, 0.0236957, | |
| 41 | - -0.015565, -0.00533645, 0.017867, -0.014366, 0.000218929, -0.00643451, -0.0288213, -0.0261644, | |
| 42 | - -0.00861372, -0.0167076, -0.0179646, -0.0232297, -0.0938334, -0.0352466, -0.0660536, -0.0109894, | |
| 43 | - 0.00404062, 0.0396702, -0.00151376, -0.00703396, -0.029871, -0.0304434, 0.0106963, 0.0171258, | |
| 44 | - 0.00310458, 0.00955822, 0.00599693, -0.0508966, -0.0324266, -0.0448106, 0.0169098, 0.0349014, | |
| 45 | - -0.0102038, -0.00315048, -0.00164872, -0.0324597, 0.00105539, -0.014407, 0.0222697, 0.00200826, | |
| 46 | - -0.00475663, -0.0406545, 0.046732, -0.00708498, 0.01835, -9.08009e-05, 0.00659241, 0.0128114 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p23(hatfit_yaw00_lev2_p23); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p23_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p24.mh deleted
| 1 | -// hat_yaw00_lev2_p24.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p24_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p24_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p24(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.290285; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00391734, -0.0373713, 0.0296847, 0.0856366, 0.0680252, -0.0141347, -0.056779, -0.0639785, | |
| 28 | - -0.0345783, -0.0245752, -0.00601101, 0.0248511, 0.0549668, -0.0103632, 0.0176319, -0.0324854, | |
| 29 | - 0.0277483, -0.0459327, -0.0292241, -0.0201631, 0.018909, 0.0133223, 0.0299505, -0.0124793, | |
| 30 | - 0.0329833, 0.0094125, -0.0165424, -0.0104312, 0.00643773, -0.00469624, -0.0291954, 0.027616, | |
| 31 | - -0.0116333, -0.0426014, -0.00213712, -0.0557142, -0.00217717, -0.0468454, -0.0729048, -0.0447836, | |
| 32 | - -0.0144842, 0.0405147, 0.0584253, 0.0787079, -0.00218177, 0.00945018, 0.0511602, -0.043676, | |
| 33 | - -0.0145351, -0.00977988, 0.00578833, -0.0117745, -0.0274247, 0.0305891, 0.0285472, 0.0443184, | |
| 34 | - -0.050581, -0.0244408, -0.0281909, 0.0058221, 0.00330261, 0.0454032, 0.0898193, 0.0662471, | |
| 35 | - -0.0216286, -0.013524, 0.00069891, 0.0404074, 0.0169764, 0.0274654, 0.0459739, 0.0206503, | |
| 36 | - 0.0152971, 0.0228002, -0.0187678, 0.0247393, 0.0265094, 0.0373614, -0.0228019, -0.00311044, | |
| 37 | - 0.024944, 0.0275463, 0.0259327, -0.0799705, -0.082091, -0.0391279, 0.0124728, 0.033311, | |
| 38 | - 0.0487404, 0.0302635, 0.0271769, -0.0397876, -0.0402077, -0.0282224, -0.0541014, -0.00161753, | |
| 39 | - 0.0762442, 0.0214009, 0.04125, 0.00345349, -0.0299646, 0.00257046, -0.0469857, 0.0344531, | |
| 40 | - 0.0353149, 0.00880637, 0.0149039, -0.00547696, -0.022949, 0.0183402, 0.0309907, 0.0685378, | |
| 41 | - 0.0257068, 0.00948362, 0.022245, 0.00982482, -0.0307185, 0.0381942, 0.013981, 0.0019222, | |
| 42 | - -0.0234243, -0.0100864, 0.0290335, -0.0571687, 0.0195604, -0.0328423, 0.0471029, 0.0198729, | |
| 43 | - -0.00538831, -0.025955, 0.0340384, 0.0245018, 0.0335489, -0.00632678, 0.0119202, 0.00663611, | |
| 44 | - -0.029499, -0.0505394, 0.0100067, 0.0302057, 0.0131081, -0.00547969, 0.0186686, -0.00161012, | |
| 45 | - -0.00888793, -0.0391302, 0.00500464, 0.0354366, 0.0211353, 0.0240429, 0.00906457, -0.024416, | |
| 46 | - -0.000141046, 0.0398088, -0.0288674, 0.00956516, 0.0214225, 0.0303871, -0.0272088, 0.020084 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p24(hatfit_yaw00_lev2_p24); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p24_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p25.mh deleted
| 1 | -// hat_yaw00_lev2_p25.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p25_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p25_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p25(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.48192; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.080069, 0.0254212, 0.0698047, 0.0172652, -0.0437604, 0.0533673, 0.0479497, 0.0707692, | |
| 28 | - 0.028919, 0.0218598, -2.02511e-05, 0.0177421, 0.0252949, 0.0957902, 0.0679331, 0.0477211, | |
| 29 | - 0.015103, -0.0350397, -0.0226795, -0.0309532, 0.0196631, 0.0314508, -0.0098721, 0.026174, | |
| 30 | - 0.00875322, -0.0102275, 0.00161853, -0.0244689, -0.00217672, -0.0258021, -0.0712362, -0.0247072, | |
| 31 | - 0.0169485, -0.00647493, 0.00909959, -0.00290298, -0.0018975, -0.00785463, 0.0170031, -0.00405343, | |
| 32 | - -0.0453393, -0.0316815, 0.00553392, 0.0467984, 0.013018, 0.00286137, 0.0641622, -0.0108293, | |
| 33 | - 0.0106426, 0.0659868, 0.0619154, 0.0683916, 0.00400672, -0.0316998, -0.0439017, -0.0531982, | |
| 34 | - 0.0227195, 0.0171857, 0.0149441, 0.0469003, 0.0509676, 0.0393706, 0.0125297, -0.0131728, | |
| 35 | - 0.00232523, -0.043456, -0.0545071, -0.0356114, 0.0232419, 0.00208771, -0.0142744, -0.0270206, | |
| 36 | - 0.00372195, -0.00702677, 0.00791299, -0.0125764, 0.016542, 0.000498141, 0.0112614, -0.00637377, | |
| 37 | - -0.0150705, -0.0661879, 0.000954137, 0.00578005, 0.0330873, 0.0207243, 0.0608699, 0.0118893, | |
| 38 | - 0.00744177, 0.0285924, -0.0143176, -0.0313716, 0.00486059, -0.0034366, -0.00624046, 0.0333263, | |
| 39 | - 0.00123777, 0.0434691, 0.0071437, -0.00841325, -0.00695282, -0.0243996, -0.0220286, -0.0228198, | |
| 40 | - 0.00216731, -0.0135737, -0.0088714, -0.0068874, 0.021012, -0.0209814, 0.00917872, 0.0201832, | |
| 41 | - 0.03023, -0.0125052, -0.00717798, 0.0265657, 0.0205816, 0.00318955, -0.00975955, 0.00153578, | |
| 42 | - 0.0342051, 0.0493117, -0.0221902, 0.0290784, -0.00464809, 0.060173, 0.170815, 0.107283, | |
| 43 | - -0.0163555, -0.0098902, -0.0120301, -0.0361608, -0.0128753, -0.0265617, -0.0919782, -0.0455791, | |
| 44 | - 0.0263706, 0.0432768, -0.00306199, 0.00291669, 0.0149201, -0.019987, -0.0236052, 0.0239656, | |
| 45 | - 0.0316036, 0.010793, 0.0203367, 0.0120483, 0.00752219, -0.0246316, 0.00150752, -0.0318513, | |
| 46 | - 0.00499792, -0.00242502, 0.03601, 0.000732988, 0.0184117, -0.0522315, 0.00194238, 0.0259723 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p25(hatfit_yaw00_lev2_p25); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p25_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p26.mh deleted
| 1 | -// hat_yaw00_lev2_p26.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p26_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p26_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p26(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.433871; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0129694, -0.0362405, 0.0456953, 0.00806892, 0.0332427, 0.0166249, 0.0858091, -0.021537, | |
| 28 | - 0.0121069, -0.00958319, 0.00183791, -0.0445408, -0.00691424, 0.0149946, 0.0484259, 0.0455105, | |
| 29 | - 0.042137, -0.000148501, 0.0187582, 0.000764644, 0.00677489, 0.00827639, -0.0203425, 0.0730549, | |
| 30 | - 0.0487964, -0.0258577, -0.0323376, 0.0132528, 0.0104709, 0.0293409, 0.0351007, 0.0678395, | |
| 31 | - 0.0204265, -0.0113785, -0.0333476, -0.0144913, -0.0179195, 0.0584139, -0.0229801, -0.0179397, | |
| 32 | - 0.0227342, 0.0295118, 0.0340656, -0.100074, -0.0846886, -0.0443842, 0.0208676, -0.00939233, | |
| 33 | - 0.000832701, 0.0194225, 0.0593964, 0.0382799, -0.010556, -0.0222984, -0.00961312, -0.0178815, | |
| 34 | - 0.00109992, 0.00598413, 0.0445235, 0.03007, -0.0509595, -0.0385867, 0.00564818, -0.0411887, | |
| 35 | - -0.0344969, -0.0066254, 0.061847, 0.0286021, -0.0345655, 0.00151497, -0.0380565, -0.0705052, | |
| 36 | - 0.00740955, 0.020345, -0.00978735, 0.00859556, -0.0107584, 0.0208075, 0.0526561, 0.0167182, | |
| 37 | - -0.00683639, -0.00606006, -0.0112797, 0.010233, 0.0705434, 0.00259656, 0.0712719, 0.0468567, | |
| 38 | - 0.00622382, -0.0110342, -0.026088, 0.0169622, 0.036032, 0.00953248, 0.00938651, 0.0240754, | |
| 39 | - 0.00729027, -0.0263141, -0.0345428, -0.00845764, 0.0462167, 0.0211959, 0.0531272, 0.0379018, | |
| 40 | - 0.0424938, 0.0160658, -0.00649713, 0.021857, 0.0325163, -0.0139418, 0.00759465, 0.0524858, | |
| 41 | - -0.0168994, 0.0164893, 0.022728, 0.0323317, 0.0331378, 0.00548303, -0.0425947, -0.0101325, | |
| 42 | - -0.0124091, -0.00910286, -0.00862779, -0.049988, 0.0218122, -0.0166035, 0.0570387, -0.0150303, | |
| 43 | - -0.0109328, 0.0141641, 0.0296191, 0.00220599, 0.00667076, 0.00647957, 0.00102784, -0.02686, | |
| 44 | - -0.0170128, 0.019061, 0.00824237, 0.0392189, 0.00182692, 0.03255, 0.0341041, 0.0186872, | |
| 45 | - 0.000108326, -0.00739809, -0.0118376, 0.00302759, 0.00874007, 0.0298719, 0.0378712, 0.0260831, | |
| 46 | - 0.0143321, 0.0357566, -0.0302584, -0.0210763, -0.00892332, -0.0329427, -0.0798826, -0.0461567 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p26(hatfit_yaw00_lev2_p26); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p26_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p27.mh deleted
| 1 | -// hat_yaw00_lev2_p27.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p27_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p27_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p27(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.306931; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0262349, -0.0455742, -0.0345448, 0.0296043, -0.0368644, 0.105961, 0.0917271, -0.0349775, | |
| 28 | - -0.0118083, 0.00226836, 0.0315588, 0.0651592, 0.0192105, 4.45677e-05, 0.0111032, -0.0301818, | |
| 29 | - -0.0235868, -0.026485, -0.00434409, 0.0180196, 0.0351823, 0.0192955, 0.0241057, -0.0337034, | |
| 30 | - 0.00146458, -0.019946, -0.00849322, -0.0249317, 0.00794208, 0.00548202, 0.0600154, 0.0171288, | |
| 31 | - 0.00478391, 0.0128435, 0.0206005, -0.0152299, -0.00785918, -0.000263394, 0.0517713, 0.0416178, | |
| 32 | - -0.0400955, -0.0371783, 0.0589854, 0.0327506, -0.0189932, -0.0248052, -0.0847246, -0.0425839, | |
| 33 | - -0.0294927, 0.00193715, 0.0270183, -0.0242868, -0.02323, -0.0221412, -0.0299839, -0.0253512, | |
| 34 | - 0.0019324, 0.032574, 0.011557, -0.0437154, -0.0286583, -0.028798, 0.0130759, -0.00196222, | |
| 35 | - 0.00783066, 0.0246079, 0.0314151, -0.0433835, -0.0152253, -0.00376657, 0.0137829, -0.0141508, | |
| 36 | - -0.0185663, -0.0270969, 0.0763604, 0.032464, -0.00457786, -0.00714493, -0.00839772, -0.0471893, | |
| 37 | - -0.0304596, 0.0113046, -0.0575614, -0.04895, -0.0555437, -0.0118463, -0.0287419, -0.0226617, | |
| 38 | - 0.0476703, 0.0541762, -0.0129649, -0.0181623, -0.00457971, 0.0050365, 0.048555, 0.0856549, | |
| 39 | - 0.00916771, 0.0128563, 0.00436323, -0.00929648, 0.00355898, -0.0264574, 0.0298014, 0.048906, | |
| 40 | - 0.00256579, -0.0139028, 0.0214163, 0.0158788, 0.0410612, -0.0213137, 0.0133411, 0.0239583, | |
| 41 | - 0.0212723, -0.014747, -0.0303819, -0.00101849, 0.0202947, -0.00473982, 0.000768866, 0.0634918, | |
| 42 | - 0.0272171, 0.0606848, -0.0083977, 0.0323225, 0.00269824, 0.0622742, -0.0492059, 0.0108266, | |
| 43 | - -0.0245984, -0.00360764, 0.0335002, 0.0621516, 0.0580589, 0.0152602, 0.062728, 0.00257798, | |
| 44 | - 0.00265603, -0.0211292, -0.00126619, 0.0229256, 0.0381987, -0.00541837, 0.02072, -0.0247069, | |
| 45 | - -0.00978707, 0.00263283, -0.00619977, -0.0417827, 0.00227379, -0.0141621, 0.0218684, -0.0106956, | |
| 46 | - -0.0028489, 0.0407164, 0.00786468, 0.00379042, 0.0117465, -0.002769, 0.00417461, 0.00823767 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p27(hatfit_yaw00_lev2_p27); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p27_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p28.mh deleted
| 1 | -// hat_yaw00_lev2_p28.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p28_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p28_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p28(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.911282; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0238533, 0.0397944, -0.00203305, -0.0376938, -0.0576054, 0.0102932, -0.00350282, -0.0347154, | |
| 28 | - 0.0114035, 0.0375278, 0.0576787, -0.011191, -0.00113305, -0.00862682, 0.015185, -0.00437239, | |
| 29 | - 0.0307686, 0.0196598, 0.0440094, -0.0379801, -0.0141113, -0.0120627, 0.0393276, 0.0134787, | |
| 30 | - 0.0370115, 0.000457543, 0.0603269, -0.00987555, 0.0105079, -0.00996932, 0.019966, 0.0060897, | |
| 31 | - 0.0304525, -0.0284774, 0.0406466, 0.0226233, -0.00374561, -0.00344988, -0.0165723, 0.00456927, | |
| 32 | - 4.77179e-05, -0.0215519, -0.0611072, -0.0461596, -0.0359187, 0.00475347, 0.0589447, 0.0603199, | |
| 33 | - 0.015611, 0.0302667, 0.012469, -0.0101909, 0.0232281, -0.058931, 0.0315346, 0.0487677, | |
| 34 | - -0.0218948, 0.0241924, 0.0431596, 0.00191124, 0.0400794, -0.0415914, 0.00944237, 0.000643755, | |
| 35 | - -0.032809, 0.013452, 0.0403323, 0.0361078, 0.0355794, -0.0115256, -0.037264, -0.031884, | |
| 36 | - -0.042228, -0.0211665, -0.0310247, -0.0319164, 0.00456799, 0.0271444, 0.0618117, 0.0108998, | |
| 37 | - -0.0234185, 0.0129911, 0.00094152, 0.0555492, 0.0407842, 0.0751483, -0.00163825, -0.0359983, | |
| 38 | - -0.062111, -0.018929, 0.0249147, 0.00943173, 0.0418229, -0.00747328, 0.0690318, -0.0227955, | |
| 39 | - -0.0198671, -0.00218184, 0.0446939, 0.00229586, 0.053604, -0.0153666, 0.0320683, 0.0248043, | |
| 40 | - 0.00287477, 0.00778391, 0.0331717, 0.00229524, 0.00562737, 0.0154625, 0.0164591, 0.0400992, | |
| 41 | - 0.0425685, 0.000193887, 0.00597018, -0.0136202, -0.00538856, 0.0131999, 0.0261254, 0.123714, | |
| 42 | - 0.0643788, 0.0452873, 0.0716094, 0.159596, 0.0741898, 0.056755, 0.0376108, 0.0507256, | |
| 43 | - 0.0697902, -0.0516756, 0.0169421, 0.0447843, 0.0417189, 0.00326605, 0.00592841, -0.0132248, | |
| 44 | - 0.0556151, 0.0180181, -0.0209075, -0.0826685, -0.0280024, 0.025601, -0.00580471, -0.0237519, | |
| 45 | - 0.00913779, 0.0706989, 0.0126799, 0.00300497, -0.00981312, -0.0168915, -3.9095e-05, -0.0625823, | |
| 46 | - -0.00544378, 0.0403442, 0.0135646, 0.0797236, 0.0384641, 0.0289419, 0.0494675, -0.00505185 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p28(hatfit_yaw00_lev2_p28); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p28_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p29.mh deleted
| 1 | -// hat_yaw00_lev2_p29.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p29_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p29_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p29(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -1.05057; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0182463, -0.0164278, 0.0793519, 0.0203683, 0.0103424, -0.00468872, 0.00376642, 0.00789167, | |
| 28 | - 0.0365452, -0.0296432, 0.0316379, 0.0281642, 0.0264598, 0.00896892, 0.0389974, 0.00696295, | |
| 29 | - 0.0210673, -0.0165715, 0.0249197, 0.0415189, 0.0234516, 0.0039805, 0.0282824, 0.019377, | |
| 30 | - 0.0136788, 0.0078962, 0.0400487, 0.0247874, 0.0484899, -0.00169232, 0.0157129, 0.00810864, | |
| 31 | - 0.00254052, 0.004636, 0.0127591, 0.023789, 0.00420449, -0.0383569, -0.0112375, 0.0181937, | |
| 32 | - 0.0123328, -0.00178604, -0.0273803, -0.0125259, -0.00871021, 0.00392074, 0.0347972, -0.00844315, | |
| 33 | - 0.0058953, 0.0156757, 0.029977, 0.014578, 0.00275342, 0.000159312, -0.00132859, -0.0674545, | |
| 34 | - -0.0131045, -0.0125819, 0.0371212, 0.0165592, 0.0301665, 0.0350271, 0.0262243, -0.0768821, | |
| 35 | - -0.0251874, -0.00765544, 0.0265035, 0.022286, 0.0165599, 0.0398895, 0.0171191, -0.00820294, | |
| 36 | - -0.0258373, -0.0408784, -0.0487514, -0.0316219, 0.0193729, 0.05273, 0.0415007, 0.0334458, | |
| 37 | - 0.00916367, 0.00382008, 0.0153757, 0.00359487, -0.0514642, 0.0857362, 0.0547107, 0.00137235, | |
| 38 | - 0.0347672, 0.00346709, 0.00981953, 0.0124956, -0.00603081, -0.0447948, 0.0584001, -0.0200425, | |
| 39 | - 0.0510406, 0.031761, 0.0119073, -0.0177227, -0.041249, -0.0484298, 0.0517662, 0.0266991, | |
| 40 | - 0.0669104, 0.0763834, 0.0368872, 0.0240411, 0.0134583, -0.0205295, 0.0445935, 0.0713025, | |
| 41 | - 0.0204831, 0.0253047, -0.0104218, -0.0282662, -0.0465509, 0.013753, -0.0597406, 0.0126048, | |
| 42 | - 0.0241487, 0.0263117, 0.034671, 0.116738, 0.0671411, 0.00670641, 0.042299, 0.0235448, | |
| 43 | - 0.0144205, -0.0647902, 0.0507454, 0.00526156, 0.0375987, 0.00463127, -0.0314179, -0.0293136, | |
| 44 | - 0.0496903, 0.0400285, -0.0293638, -0.0647404, 0.0175175, 0.0611509, 0.0215046, 0.0172993, | |
| 45 | - -0.0101004, 0.0569459, -0.00413199, 0.0193916, 0.0152643, 0.00874664, -0.0093991, -0.0254695, | |
| 46 | - -0.00236696, 0.0810356, 0.085522, 0.09974, 0.0918543, 0.0265118, 0.081347, 0.0256086 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p29(hatfit_yaw00_lev2_p29); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p29_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p30.mh deleted
| 1 | -// hat_yaw00_lev2_p30.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p30_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p30_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p30(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.158421; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00843022, 0.013809, -0.00794464, -0.0280121, -0.0255196, -0.0195118, 0.075042, 0.0257987, | |
| 28 | - 0.02871, 0.014171, -0.0372592, -0.0380695, -0.0431202, 0.0171225, 0.022328, 0.055504, | |
| 29 | - 0.0265488, -0.0289131, -0.0281819, -0.0412153, -0.0759227, -0.0295684, 0.0107261, 0.0315409, | |
| 30 | - 0.0272802, -0.0116362, 0.0206321, 0.0109335, -0.0183937, -0.0122625, -0.0481045, 0.0309332, | |
| 31 | - 0.0608065, 0.024013, 0.0347018, -0.00428828, -0.0368289, -0.0443961, -0.136547, 0.0201979, | |
| 32 | - 0.0855011, 0.0571143, -0.0375799, 0.016459, 0.047898, 0.0619319, -0.00773834, 0.0441075, | |
| 33 | - 0.0146869, 0.0451598, 0.0725738, 0.132561, 0.101115, 0.0209962, 0.0323263, -0.0114213, | |
| 34 | - 0.0252005, 0.0741543, -0.0264473, 0.0168047, 0.00380724, 0.025259, 0.0513686, 0.0286347, | |
| 35 | - -0.0300812, 0.0154615, 0.0249453, 0.0434057, 0.0262186, 0.00797694, 0.0215338, -0.0195746, | |
| 36 | - 0.0452787, -0.00701455, -0.0229841, 0.0159123, -0.00454588, -0.0185701, -0.0208287, -0.097003, | |
| 37 | - -0.031168, 0.0169527, -0.0343204, -0.0604752, -0.0506117, -0.00868898, 0.0581987, 0.0346967, | |
| 38 | - -0.0299566, -0.0487133, 0.0231685, -0.0172943, -0.0444626, -0.0258802, -0.0260437, 0.00632427, | |
| 39 | - -0.0239597, -0.00391656, 0.0107738, -0.00493213, -0.000692711, 0.0458643, -0.0185572, 0.00836634, | |
| 40 | - -0.0305402, 0.0256927, 0.00675199, 0.0139364, 0.0439735, 0.0283794, -0.0130652, 0.00275794, | |
| 41 | - 0.0312156, 0.0296386, -0.0355726, -0.0134245, -0.020942, 0.00984381, -0.00773278, -0.023931, | |
| 42 | - -0.0300758, -0.0669045, -0.0276446, -0.00646776, -0.00236777, 0.0540602, -0.016052, -0.0336337, | |
| 43 | - -0.0154917, 0.00563903, 0.0243744, -0.00992392, 0.0268612, 0.00221559, -0.0196216, -0.0194976, | |
| 44 | - -0.0281026, 0.0153356, 0.0276602, 0.00143168, 0.0411615, -0.0150804, -0.00796113, -0.00828842, | |
| 45 | - -0.0284587, 0.0130893, 0.0282914, 0.0170294, -0.0129933, -0.0233002, 0.00116514, -0.0143735, | |
| 46 | - -0.025027, 0.0174324, -0.0541421, -0.0264543, -0.0165433, 0.00211273, 0.0148214, -0.0422046 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p30(hatfit_yaw00_lev2_p30); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p30_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p31.mh deleted
| 1 | -// hat_yaw00_lev2_p31.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p31_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p31_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p31(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.528655; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.066406, -0.0431597, 0.0637768, 0.0370243, -0.00068307, -0.0259349, 0.0159448, -0.136056, | |
| 28 | - -0.0293552, -0.0403311, 0.0230454, 0.0283, 0.0388175, 0.046244, 0.04128, -0.00817411, | |
| 29 | - -0.0405367, -0.0406695, 0.0112241, 0.0182357, 0.0367736, 0.0285879, -0.00759859, -0.00266288, | |
| 30 | - -0.00139768, -0.0344043, 0.00392997, 0.0241541, 0.0412715, 0.0280483, 0.0292519, 0.0165686, | |
| 31 | - -0.00435702, -0.0265016, -0.0453606, -0.00250928, 0.0196911, 0.00655709, -0.0367992, 0.0509089, | |
| 32 | - 0.031559, 0.00575523, -0.0247191, -0.0486219, -0.0750928, -0.00041327, 0.0747566, 0.0146888, | |
| 33 | - 0.0646145, 0.054396, -0.0192251, -0.0412112, -0.0324459, -0.0705477, 0.0119363, 0.0347726, | |
| 34 | - 0.106872, 0.102241, 0.0271929, 0.00171756, -0.0470992, 0.00978825, 0.0508835, 0.0792254, | |
| 35 | - 0.0360194, 0.0367165, -0.0314265, -0.044109, -0.0814634, -0.0126653, 0.0191743, 0.0371767, | |
| 36 | - -0.0164398, 0.0210203, 0.0384518, 0.0141576, -0.0197071, -0.0172753, -0.101494, -0.0619908, | |
| 37 | - 0.0851666, -0.0212017, 0.0488603, 0.0448861, 0.118305, 0.0508748, -0.0450723, 0.0224068, | |
| 38 | - 0.0187996, 0.0203916, -0.0541929, -0.055438, -0.0193445, 0.0425345, -0.00569827, -0.0287024, | |
| 39 | - -0.0268724, 0.0050541, 0.0470904, 0.103708, 0.10632, 0.0373919, -0.00797826, -0.0303334, | |
| 40 | - 0.0272002, 0.0300674, 0.0210971, 0.0667653, 0.0624621, 0.0579313, 0.0607208, 0.0280428, | |
| 41 | - 0.00218957, 0.0585137, -0.00491464, 0.0042163, -0.00801497, 0.00611642, 0.00430601, -0.000424544, | |
| 42 | - -0.0332441, 0.000448628, 0.107588, -0.0215919, -0.0459838, -0.0180594, -0.00837773, 0.0129875, | |
| 43 | - -0.0322999, 0.0200498, -0.0108524, -0.0415339, 0.00357464, 0.0119421, 0.00847187, 0.0184128, | |
| 44 | - -0.0147528, -0.0172094, 0.00718621, -0.0272791, -0.0360428, 0.000881667, 0.018738, 0.0129722, | |
| 45 | - -0.033975, -0.0226858, 0.0149901, -0.00787227, 0.0079924, -0.0160559, -0.0223671, 0.0172656, | |
| 46 | - -0.0396059, 0.0749142, -0.00781715, -0.0241655, 0.0206719, 0.0288847, 0.00349044, 0.000974065 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p31(hatfit_yaw00_lev2_p31); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p31_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p32.mh deleted
| 1 | -// hat_yaw00_lev2_p32.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p32_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p32_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p32(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.609531; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0172974, -0.0195856, 0.0167722, 0.00276741, -0.00863195, -0.00587176, -0.00695058, 0.00103168, | |
| 28 | - 0.0252518, -0.00719318, 0.0691906, 0.0363376, 0.0383578, 0.00307675, -0.000676522, -0.024943, | |
| 29 | - -0.0442041, -0.0318909, 0.034783, 0.0447597, 0.0655272, 0.0380396, -0.00974726, -0.0836417, | |
| 30 | - -0.0233229, -0.039634, 0.0247777, 0.0296812, 0.0518156, 0.0525699, 0.0183891, -0.0139419, | |
| 31 | - -0.020914, -0.0524356, -0.0490225, 0.00449505, 0.0358374, 0.0320777, 0.0296459, 0.0310532, | |
| 32 | - -0.0330381, -0.00897001, -0.00230202, -0.0116356, -0.0561876, 0.0508519, 0.0528285, -0.0220447, | |
| 33 | - -0.0139597, 0.00648959, -0.0200131, -0.0142853, -0.0548651, -0.0256694, 0.0602749, -0.0456561, | |
| 34 | - 0.0398712, 0.0362381, 0.0279318, -0.028746, -0.0830828, -0.0523895, 0.0622793, 0.0371123, | |
| 35 | - 0.0490164, 0.0442704, 0.00661728, -0.00335947, -0.0317967, -0.0174821, 0.0718556, 0.0818157, | |
| 36 | - 0.0211283, 0.02002, -0.0133365, -0.026983, -0.0673874, 0.0154517, -0.063193, -0.00218304, | |
| 37 | - 0.0374297, 0.0487677, 0.0544543, 0.0878194, 0.0336702, 0.0359337, 0.0358279, -0.0204046, | |
| 38 | - 0.0455341, -0.0529557, 0.00531201, 0.0209168, 0.0554839, 0.00579068, -0.0201319, -0.0282061, | |
| 39 | - 0.0528097, 0.00506556, -0.057539, -0.0366376, 0.0122283, 0.040994, -0.021031, 0.0168281, | |
| 40 | - 0.00323699, 0.0498915, -0.00517948, 0.0202621, 0.0198603, -0.00465672, -0.0212471, -0.0241135, | |
| 41 | - 0.0386897, 0.0834197, 0.0564583, 0.0766421, 0.0567623, 0.0541306, 0.038094, 0.006473, | |
| 42 | - 0.00720124, 0.00299913, 0.00695718, 0.0279686, 0.00285145, -0.0329046, -0.0212397, 0.0685372, | |
| 43 | - 0.0195813, -0.0237838, 0.0724148, 0.00519205, 0.0182673, 0.00552493, 0.00626116, 0.0171959, | |
| 44 | - -0.00884863, 0.0247297, 0.0399036, -0.0589063, 0.00735654, 0.014987, 0.00327186, -0.0123504, | |
| 45 | - -0.0107126, -0.00717319, -0.0262902, -0.0281028, 0.00582021, 0.0159987, 0.0436614, 0.0026328, | |
| 46 | - -0.0659616, 0.0210302, 0.0281372, 0.0251827, 0.0175415, -0.00426784, -0.0135234, 0.0161755 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p32(hatfit_yaw00_lev2_p32); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p32_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p33.mh deleted
| 1 | -// hat_yaw00_lev2_p33.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p33_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p33_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p33(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.134494; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00347821, -0.012647, -0.0365701, -0.0502767, -0.0744315, 0.043386, -0.0109632, 0.0408712, | |
| 28 | - 0.0179905, 0.012047, 0.00764653, 0.0153773, -0.00873694, -0.0365147, -0.0151809, 0.00267504, | |
| 29 | - -0.0168584, -0.0186926, 0.0209671, -0.00799703, -0.00927319, -0.0278799, -0.00988936, -0.0523256, | |
| 30 | - -0.0294883, -0.00538619, 0.068079, 0.0330258, 0.0310367, -0.0115363, 0.0173, -0.0956444, | |
| 31 | - -0.057032, -0.064803, -0.0476392, -0.00186673, 0.0208305, 0.0656317, 0.076984, -0.00418163, | |
| 32 | - -0.0342102, -0.0295482, -0.0482665, -0.00800121, 0.00782046, 0.0959585, 0.00216746, -0.032154, | |
| 33 | - 0.00264983, 0.00756613, 0.0352023, -0.0055577, -0.0268146, 0.0481587, 0.0554458, 0.0308655, | |
| 34 | - 0.00604261, 0.0099717, 0.0418676, 0.0370696, -0.0259611, 0.00845801, 0.0177592, -0.053832, | |
| 35 | - 0.0574967, -0.00604871, -0.0470008, -0.03597, -0.0512817, -0.0258823, 0.0508364, 0.0315381, | |
| 36 | - 0.0494617, 0.0662095, 0.0300199, -0.00536518, -0.0187981, -0.0615925, 0.0101557, 0.0309746, | |
| 37 | - 0.00546111, 0.0467793, 0.0561231, 0.0115831, 0.044103, 0.0122641, -0.0163395, 0.0139846, | |
| 38 | - -0.00558476, -0.00304077, -0.0153255, 0.0488837, 0.0226645, 0.00507803, -0.00177007, 2.87077e-05, | |
| 39 | - 0.0540572, -0.0334947, 0.0243881, 0.0453923, 0.0752189, -0.00790317, -0.0371975, -0.022949, | |
| 40 | - 0.013664, -0.0464787, -0.0117823, -0.0402601, 0.0423795, 0.0570048, -0.0240886, -0.0248997, | |
| 41 | - 0.00782879, 0.0796069, -0.0435097, 0.00644649, 0.0344214, 0.050919, 0.00223326, -0.0633793, | |
| 42 | - -0.0164302, 0.0151376, 0.0285752, 0.0378886, -0.0433041, -0.0629131, -0.0664811, -0.01045, | |
| 43 | - 0.00204687, 0.00533082, -0.0442703, -0.0276485, -0.0263146, 0.00585577, 0.041874, 0.0404161, | |
| 44 | - 0.0136317, -0.00439693, 0.0465754, 0.0266685, -0.0134835, -0.0163303, 0.0257163, 0.0497645, | |
| 45 | - -0.0267151, -0.00359233, 0.0465391, -0.052706, -0.0343048, -0.054638, -0.0428177, -0.0114796, | |
| 46 | - -0.0324168, 0.0278659, 0.0114471, -0.0448499, -0.00375096, 0.0193088, 0.00295261, 0.0724012 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p33(hatfit_yaw00_lev2_p33); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p33_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p34.mh deleted
| 1 | -// hat_yaw00_lev2_p34.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p34_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p34_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p34(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0298145; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00712763, -0.0168461, -0.0649287, -0.0964368, -0.0396287, 0.0355124, -0.0932723, -0.0232354, | |
| 28 | - 0.0015701, 0.000841849, -0.0528588, -0.0779626, -0.0767684, 0.0536808, 0.021654, 0.0115116, | |
| 29 | - -0.0244025, 0.0129733, 0.00882587, -0.0296528, -0.0752668, 0.0202583, 0.0284596, 0.0038893, | |
| 30 | - 0.0131413, 0.0202238, 0.0632173, 0.00876749, -0.00538983, 0.00914925, 0.0317333, -0.0110394, | |
| 31 | - 0.0197249, -0.0156403, -0.0123602, -0.00436375, -0.0205289, -0.0380516, 0.0528582, -0.0722589, | |
| 32 | - 0.00167284, -0.0296978, -0.0278581, 0.0860811, 0.109771, -0.0337156, -0.0290938, -0.000718443, | |
| 33 | - -0.0306613, 0.0175718, 0.0508415, 0.0882596, 0.0906046, 0.0451894, 0.0249118, 0.0101467, | |
| 34 | - 0.0197867, 0.0163201, 0.0461364, 0.0497436, 0.0735869, 0.0261005, 0.0272832, 0.00319717, | |
| 35 | - 0.0133939, -0.033167, 0.0138665, 0.076355, 0.0436984, -0.0193582, 0.00494415, 0.00794336, | |
| 36 | - 0.0402147, -0.0356436, -0.0325444, -0.0406939, 0.0445568, 0.0529566, -0.0480436, -0.0361198, | |
| 37 | - 0.0239785, -0.022601, 0.004583, 0.0357781, -0.024916, -0.0673301, 0.0300021, 0.0233541, | |
| 38 | - 0.00131507, 0.020674, -0.0172261, -0.0378908, -0.0281607, -0.0362968, -0.0120887, 0.00251283, | |
| 39 | - -0.0151418, 0.0139788, 0.00226799, -0.0405325, -0.0372183, -0.0239591, 0.000689374, 0.00728419, | |
| 40 | - 0.0109032, 0.00117639, 0.0110613, 0.0284659, -0.00405134, 0.0224151, 0.0497437, 0.024467, | |
| 41 | - -0.0197926, 0.0191099, 0.0560234, -0.015999, 0.00349098, -0.0136769, -0.00855267, 0.0378745, | |
| 42 | - -0.0402489, 0.0187419, 0.00346364, 0.00200766, -0.051981, 0.0314351, -0.0370516, -0.031647, | |
| 43 | - 0.00269862, -0.0117079, -0.0113778, 0.0323024, 0.000887866, 0.0206333, 0.00573009, 0.0182514, | |
| 44 | - 0.0140522, -0.00215495, 0.00969224, 0.0445658, -0.0164545, 0.00403198, -0.0327273, 0.00355842, | |
| 45 | - 0.00186056, -0.0365137, 0.001591, -0.0147659, -0.0152249, -0.028393, -0.0295118, 0.00309647, | |
| 46 | - 0.0177405, -0.022215, 0.0110218, -0.0373177, -0.0264965, 0.0153762, -0.0577899, -0.0217735 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p34(hatfit_yaw00_lev2_p34); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p34_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p35.mh deleted
| 1 | -// hat_yaw00_lev2_p35.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p35_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p35_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p35(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0569861; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0452166, -0.00120985, -0.0642733, -0.0433011, -0.0143067, 0.187839, -0.00428658, -0.00650242, | |
| 28 | - 0.0394361, 0.0211488, 0.0687109, 0.000483339, -0.0199071, 0.0220808, 0.0780823, 0.0556368, | |
| 29 | - 0.0586077, -0.0237231, 0.030264, 0.0372592, 0.0211708, -0.00451533, -0.0238338, -0.0808726, | |
| 30 | - 0.0375287, -0.0425377, -0.0537355, -0.0160995, 0.0191792, 0.0143375, 0.0323217, -0.0160405, | |
| 31 | - 0.0641634, 0.041519, -0.0194647, 0.00845982, -0.00460267, -0.00117591, 0.00773437, 0.00707627, | |
| 32 | - 0.0137806, 0.0537537, 0.116498, 0.0836869, 0.042555, -0.128439, -0.0448244, -0.0201245, | |
| 33 | - -0.0354514, -0.0320875, -0.0596862, 0.0322179, 0.0248905, 0.00867726, 0.0026904, 0.00215038, | |
| 34 | - 0.0176725, -0.0278685, 0.0647107, 0.0700868, 0.0723984, 0.013583, 0.0189065, 0.0296625, | |
| 35 | - -0.0125392, -0.0363014, 0.0524765, -0.0592515, -0.00260219, -0.00356819, -0.0465201, 0.00398317, | |
| 36 | - -0.0148738, 0.0892113, -0.00931875, -0.0290633, 0.0459755, 0.0466378, 0.0537626, 0.0155148, | |
| 37 | - 0.00157531, -0.0144777, -0.0566745, -0.0333648, -0.0635901, -0.00229455, -0.0108516, 0.0337369, | |
| 38 | - 0.0213568, 0.0212246, 0.0134308, -0.0349036, -0.0518544, 0.00736802, 0.00410732, -0.00219179, | |
| 39 | - 0.00875987, -0.00275223, 0.00445113, -0.0208322, -0.0406893, -0.0105535, 0.0171398, 0.0333355, | |
| 40 | - 0.0272341, 0.016625, -0.0150876, -0.0448088, -0.0305251, -0.00475766, 0.0282755, 0.0229124, | |
| 41 | - -0.0562676, -0.00235707, 0.00318367, -0.0375074, -0.036737, -0.0121753, -0.0456456, 0.0088149, | |
| 42 | - -0.0129207, -0.00481494, 0.0121743, 0.0636755, -0.00218512, -0.0264368, -0.0426944, -0.0331295, | |
| 43 | - -0.000268162, -0.0303325, -0.0100597, 0.0201173, -0.0187584, -0.0106597, -0.0162527, 0.00213507, | |
| 44 | - 0.000782108, -0.0446817, 0.0291512, -0.00622929, -0.032462, -0.00722358, -0.015956, -0.017508, | |
| 45 | - -0.00442869, -0.0616177, 0.00842057, -0.0221374, 0.00273545, 0.0370507, -0.0110599, -0.00349913, | |
| 46 | - -0.0150104, -0.00249232, 0.0607886, 0.00642015, 0.0137252, -0.00537359, -0.0407976, -0.0264226 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p35(hatfit_yaw00_lev2_p35); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p35_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p36.mh deleted
| 1 | -// hat_yaw00_lev2_p36.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p36_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p36_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p36(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.15802; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0486285, 0.0186809, 0.0610722, 0.0591576, 0.0388397, 0.0574882, 0.0641434, 0.0121667, | |
| 28 | - 0.0637028, -0.0778575, 0.0320216, 0.00871883, 0.0568133, -0.0225462, -0.015418, -0.0783217, | |
| 29 | - 0.0842919, -0.0221539, -0.0830029, -0.0634517, -0.0171046, 0.0330657, -0.00201285, 0.0145844, | |
| 30 | - 0.0509864, 0.0483077, -0.019694, -0.00253477, 0.00980955, -0.0071178, -0.00909895, 0.0133682, | |
| 31 | - 0.0367686, 0.0816382, 0.0405787, 0.0708277, 0.0300118, 0.0263414, 0.0264027, 0.0197782, | |
| 32 | - 0.0128342, 0.013998, 0.0557143, 0.0705258, 0.0274475, -0.0401644, -0.0111443, 0.0419802, | |
| 33 | - -0.0182621, -0.0129423, 0.0528886, 0.0155429, 0.0246531, -0.000775137, 0.00772486, 0.0353004, | |
| 34 | - -0.0283473, 0.0586058, 0.0423699, -0.0620206, 0.0120028, 0.0105429, 0.0076168, 0.00933035, | |
| 35 | - -0.0370865, 0.0248185, -0.0452911, -0.0178737, -0.00556646, 0.0268091, 0.0552079, 0.0282525, | |
| 36 | - -0.0621828, 0.0145903, 0.0643291, 0.0572874, 0.0105461, -0.0216231, -0.0403918, -0.0157246, | |
| 37 | - 0.0215985, -0.0416195, -0.0175289, -0.0418673, -0.0733202, 0.019949, -0.00658043, 0.0100759, | |
| 38 | - 0.0164112, -0.00890375, 0.00470579, -0.0475732, -0.0369, 0.00252177, 0.0184815, -0.00362862, | |
| 39 | - 0.0292086, -0.0130186, -0.0116424, -0.0283327, -0.0278432, 0.0182052, 0.0289034, 0.0470675, | |
| 40 | - -0.00995198, -0.0356322, -0.000162729, -0.0194088, -0.00831224, -0.00612526, -0.0350988, -0.0230069, | |
| 41 | - -0.0117491, -0.000818398, 0.015496, -0.0512162, -0.0297679, -0.00224479, -0.0714257, -0.0113509, | |
| 42 | - -0.043043, -0.0334773, 0.0407909, 0.0321586, -0.00719895, -0.0271855, -0.0296371, -0.0375253, | |
| 43 | - -0.000821446, -0.0586061, 0.0237793, -0.0243459, -0.00034366, 0.00762769, -0.00338772, 0.0103057, | |
| 44 | - -0.0559739, -0.0361567, 0.0295625, -0.0245679, 0.0341336, 0.0163618, -0.0120698, -0.034086, | |
| 45 | - -0.00365451, 0.00950689, 0.021756, -0.000354534, 0.0156633, 0.0315098, -0.00492233, 0.0151073, | |
| 46 | - -0.0510463, 0.0232019, 0.0325111, 0.0112793, 0.0388108, -0.0584284, -0.00696607, 0.000317936 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p36(hatfit_yaw00_lev2_p36); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p36_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p37.mh deleted
| 1 | -// hat_yaw00_lev2_p37.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p37_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p37_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p37(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.357641; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.090426, -0.0479457, -0.0400332, -0.0212107, 0.0130497, 0.0347203, 0.0603362, -0.00201685, | |
| 28 | - 0.0617162, 0.0154297, -0.0587526, -0.0498464, -0.0406109, -0.0444513, -0.0101726, 0.00113316, | |
| 29 | - 0.0643447, 0.0712631, 0.0518715, 0.0514074, 0.0424869, 0.0176295, -0.000344309, 0.0428262, | |
| 30 | - 0.0942759, 0.0405735, -0.0464468, -0.0186385, -0.0142453, -0.00193271, 0.0862762, 0.081217, | |
| 31 | - -0.016825, 0.0197965, 0.0147129, 0.0161728, -0.0757111, -0.0559225, -0.115652, -0.0622848, | |
| 32 | - -0.00501507, 0.0123832, 0.15875, 0.0352441, 0.0686156, -0.00259391, -0.00970851, 0.0319497, | |
| 33 | - 0.0172795, 0.0454753, -0.0590746, -0.0806317, 0.00137259, 0.049291, 0.0217576, 0.0280549, | |
| 34 | - -0.0351055, 0.0234457, 0.0331394, 0.0432127, 0.0247829, 0.0144538, 0.0285027, 0.00046848, | |
| 35 | - -0.0448116, 0.0182161, 0.0592176, 0.0918027, 0.0649448, 0.0105857, -0.0196588, 0.00406895, | |
| 36 | - 0.0034925, 0.0990291, -0.0319524, -0.00638724, 0.00562423, 0.0447108, 0.0227806, 0.014012, | |
| 37 | - -0.0143819, -0.0158124, -0.0378926, -0.0673686, -0.0649373, 0.00224931, 0.0333127, 0.0316347, | |
| 38 | - -0.0234361, 0.00150827, -0.0153644, -0.0250532, -0.00597671, -0.0067867, 0.018995, 0.0223197, | |
| 39 | - -0.0146966, -0.0435748, -0.00637642, -0.0419609, -0.0532878, -0.0176804, -0.0263347, -0.0276614, | |
| 40 | - 0.0162287, -0.00532958, -0.015642, -0.0538278, -0.025124, -0.0130719, -0.0193754, 0.0287796, | |
| 41 | - -0.0413712, 0.0480701, 0.0441385, 0.00548393, 0.00292707, 0.0269691, -0.0504128, -0.00968982, | |
| 42 | - -0.0149377, -0.0761418, 0.0646164, -0.013872, 0.0254016, 0.0211067, -0.0213354, -0.0101183, | |
| 43 | - -0.00769239, -0.018979, 0.0195936, 0.00275689, 0.0226773, 0.0528095, 0.00701476, -0.000215039, | |
| 44 | - -0.0385599, 0.0166449, 0.0279211, 0.0131107, 0.0463374, 0.0352633, -0.0267223, -0.00659304, | |
| 45 | - -0.0239268, 0.00596462, 0.064236, 0.0534211, 0.0618139, -0.00417547, 0.0169228, 0.00955138, | |
| 46 | - -0.0356719, -0.0140551, -0.0375888, -0.00973585, -0.00167822, -0.0297079, -0.0161585, -0.0314359 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p37(hatfit_yaw00_lev2_p37); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p37_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p38.mh deleted
| 1 | -// hat_yaw00_lev2_p38.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p38_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p38_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p38(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.376783; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0381625, -0.0216802, -0.0155914, -0.0404376, -0.0631582, 0.0381639, 0.0377976, -0.0516102, | |
| 28 | - -0.028152, -0.0202302, 0.0302485, 0.00262319, -0.0207045, -0.0417396, 0.0787168, -0.0787154, | |
| 29 | - -0.0329266, -0.0189142, 0.000370531, -0.00575274, -0.0277813, -0.0345295, 0.0621677, -0.0119504, | |
| 30 | - 0.0166243, 0.0148557, 0.0187655, 0.0119691, 0.0209956, 0.000136722, 0.0679876, 0.0596953, | |
| 31 | - -0.0173308, -0.0304385, -0.0195675, -0.00678459, -0.058364, 0.00845924, -0.0914828, -0.0269946, | |
| 32 | - 0.0442164, 0.0218957, 0.0834356, 0.0923645, 0.0542928, 0.0437193, 0.00909546, 0.00658516, | |
| 33 | - 0.0595327, -0.0285361, -0.0120236, 0.0127215, 0.0471597, 0.00693775, -0.0502759, -0.00219912, | |
| 34 | - 0.0692, 0.0115397, -0.0597431, -0.0345065, 0.00897436, 0.0644876, -0.00529858, 0.0172422, | |
| 35 | - 0.0592641, 0.0368146, -0.0170227, 0.000427752, -0.0220798, -0.002191, -0.0154746, -0.0168699, | |
| 36 | - 0.0352867, 0.111853, 0.0565004, 0.0728899, 0.0717551, 0.033416, 0.048564, 0.00220777, | |
| 37 | - 0.031206, 0.0294133, -0.00374811, 0.0601965, 0.0488322, -0.0252048, 0.0418437, 0.0539204, | |
| 38 | - -0.00425075, -0.0373638, 0.0889858, -0.00515388, -0.00512685, -0.0250974, -0.00357214, 0.00699725, | |
| 39 | - -0.038465, 0.0384146, 0.0125729, -0.0497535, 0.0188856, 0.00873619, 0.0314734, 0.0134863, | |
| 40 | - -0.0273422, 0.032113, -0.0321483, 0.0119197, 0.0338809, 0.0323335, 0.0534044, 0.0411907, | |
| 41 | - -0.0332367, 0.0126317, 0.0531453, 0.0720893, 0.00242768, 0.00830297, -0.00492567, 0.0257998, | |
| 42 | - 0.0186504, -0.0333308, 0.0421134, 0.00815198, -0.0375097, 0.0125134, -0.0599385, 0.000119946, | |
| 43 | - 0.00751917, -0.019638, 0.00632028, -0.0359062, -0.0111683, 0.00175841, -0.00667292, 0.00282321, | |
| 44 | - -0.0037453, -0.0103999, 0.00707973, -0.0368289, -0.00472334, 0.00666663, -0.017547, 0.000420025, | |
| 45 | - -0.0198019, -0.038683, 0.00103139, -0.0286226, -0.00983428, 0.00971842, -0.0108167, -0.0309264, | |
| 46 | - -0.019254, 0.00464451, 0.0170737, -0.0466007, -0.0101921, -0.019542, -0.0446412, -0.0198669 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p38(hatfit_yaw00_lev2_p38); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p38_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p39.mh deleted
| 1 | -// hat_yaw00_lev2_p39.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p39_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p39_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p39(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.175478; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0340044, 0.0102974, -0.0326885, -0.027898, -0.0574698, 0.0218861, -0.0295587, -0.0136835, | |
| 28 | - -0.0670967, -0.00859483, 0.01472, -0.0127685, -0.00715043, -0.0560974, 0.095579, -0.0138027, | |
| 29 | - -0.0477498, -0.0188489, 0.0206146, -0.0341245, -0.0114705, -0.0814169, 0.067814, 0.0128964, | |
| 30 | - -0.0372988, -0.00688147, 0.0535055, 0.0309127, 0.0136957, -0.00924958, -0.0222743, 0.000739304, | |
| 31 | - 0.00947217, -0.0633822, -0.0394817, -0.0256672, -0.0301259, 0.0126494, 0.033581, 0.0792859, | |
| 32 | - 0.0625707, 0.0213443, 0.0645021, 0.132729, 0.103496, 0.0360967, 0.0149085, 0.0283455, | |
| 33 | - 0.0447562, -0.0191749, -0.0247524, 0.0118958, 0.0418581, 0.0228802, -0.0348868, -0.00160803, | |
| 34 | - 0.0499076, 0.000436949, -0.0455082, -0.0523261, 0.0281439, 0.0563502, -0.0373772, 0.01161, | |
| 35 | - 0.0649382, 0.0375478, -0.000152216, -0.0242474, -0.0302719, -0.024227, -0.0163539, -0.0237781, | |
| 36 | - 0.0413481, 0.0639565, 0.0449211, 0.0730719, 0.0627154, 0.0195653, 0.0534155, 0.0242415, | |
| 37 | - -0.000842906, 0.0446278, 0.00706155, 0.107019, 0.0513803, 0.0188349, 0.0145981, 0.0541501, | |
| 38 | - 0.0323207, -0.0788871, 0.0691921, 0.0198263, 0.00516369, -0.00499741, 0.0431621, 0.0124451, | |
| 39 | - -0.0272489, 0.0178388, 0.0144972, -0.0310218, -0.0193413, -0.0027794, 0.0101328, -0.0183224, | |
| 40 | - -0.0375776, 0.0308271, -0.000599625, 0.00775446, 0.0111844, 0.00535355, 0.0351003, -0.00201906, | |
| 41 | - -0.0403671, -0.0297313, 0.000650426, 0.0552283, 0.00158567, 0.0127998, 0.0129658, -0.0540405, | |
| 42 | - 0.0126699, -0.0194195, -0.00137171, -0.0249486, -0.0977167, -0.0190306, -0.0617337, -0.0140263, | |
| 43 | - -0.0100231, -0.0157547, 0.014888, -0.0241838, -0.0298007, -0.00558167, -0.0200118, -0.00189711, | |
| 44 | - -0.00822873, -0.0244598, 0.0163851, -0.0267565, -0.00843671, 0.0101747, -0.0156994, 0.0148806, | |
| 45 | - 0.00397398, -0.0200779, -0.00718148, -0.0189266, 0.0237742, 0.0249438, -0.0174873, 0.00724446, | |
| 46 | - -0.0138303, 0.0292336, 0.0226407, -0.0766599, -0.0446403, -0.0119488, -0.0658979, 0.00344958 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p39(hatfit_yaw00_lev2_p39); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p39_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p40.mh deleted
| 1 | -// hat_yaw00_lev2_p40.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p40_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p40_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p40(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.578154; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0230053, -0.0210838, 0.00833996, -0.00132794, -0.0195168, -0.0318791, -0.127763, -0.0155701, | |
| 28 | - -0.034902, -0.0315064, -0.0238103, -0.0304517, -0.0559896, 0.0267209, -0.0384578, -0.0265872, | |
| 29 | - -0.0585699, -0.0104624, -0.0336322, -0.0122956, 0.0132704, 0.0493953, -0.0308533, -0.00357042, | |
| 30 | - -0.0150394, 0.0170744, 0.0514288, 0.0387841, 0.0129995, 0.0622468, 0.0250487, -0.0148398, | |
| 31 | - -0.0116489, -0.0478068, -0.0371379, -0.0249553, -0.0180283, -0.0432322, 0.132777, 0.0320973, | |
| 32 | - 0.0230915, 0.016988, 0.00972359, 0.010769, 0.0282244, -0.0455557, -0.0193062, -0.0163898, | |
| 33 | - -0.0221048, 0.0368945, 0.0199199, 0.0685538, 0.117503, 0.0400076, 0.0400602, 0.0219632, | |
| 34 | - 0.0804955, 0.113797, 0.0771816, 0.0595862, 0.0464587, 0.044355, 0.033685, 0.04135, | |
| 35 | - 0.0573583, 0.000241402, 0.00757319, 0.061972, 0.0494706, -0.00927967, 0.0377478, 0.0453895, | |
| 36 | - 0.0660352, -0.00707717, -0.00409466, -0.00659626, 0.0710256, 0.0611401, -0.0468957, -0.0240416, | |
| 37 | - 0.0347565, 0.0332099, 0.0189545, 0.0699647, 0.0311581, 0.00807129, -0.00869748, 0.0150902, | |
| 38 | - -0.00120095, 0.00668937, 0.0326635, -0.0161191, -0.0129208, 0.0251813, 0.0124696, 0.0217988, | |
| 39 | - -0.0263708, -0.010514, -0.00390802, -0.0325808, -0.0571086, -0.0154732, 0.0102109, 0.0214122, | |
| 40 | - -0.0357933, -0.0272357, -0.00538061, 0.0474521, 0.0227356, 0.0232602, 0.0168437, 0.00073643, | |
| 41 | - 0.0113116, -0.0475376, 0.0560595, 0.031259, 0.0121835, 0.0106892, 0.0648001, 0.0432554, | |
| 42 | - -0.024124, -0.000816847, -0.0314966, 0.0103787, -0.0787828, -0.0520581, -0.00567509, -0.0185509, | |
| 43 | - 0.0535842, 0.0555946, 0.0181, 0.0220096, -0.0165579, 0.00212479, 0.0108745, 0.0136421, | |
| 44 | - 0.00809864, 0.0153479, 0.0293642, 0.0041109, -0.00828299, -0.0165547, -0.00871561, 0.00771352, | |
| 45 | - 0.0348994, 0.00533858, 0.0126395, -0.00496751, -0.0284364, -0.00480445, -0.0365954, 0.0008347, | |
| 46 | - -0.0041323, -0.0130019, 0.00889659, -0.0643651, -0.0419563, -0.002939, -0.0148031, 0.000960831 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p40(hatfit_yaw00_lev2_p40); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p40_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p41.mh deleted
| 1 | -// hat_yaw00_lev2_p41.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p41_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p41_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p41(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.504123; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0296403, 0.0184192, -0.0822754, -0.0845612, -0.108267, 0.0246414, -0.0393737, 0.000256301, | |
| 28 | - 0.0228941, 0.041033, 0.0219511, -0.0137096, -0.0388542, -0.0138863, -0.00818661, 0.0105972, | |
| 29 | - 0.0145915, 0.0357209, -0.00152212, -0.0583622, -0.0404801, -0.0635977, 0.029528, 0.0399791, | |
| 30 | - -0.0220115, 0.0247502, 0.0609008, -0.00388183, -0.00349649, -0.0646161, 0.00873463, -0.03864, | |
| 31 | - -0.0574588, 0.0144267, 0.0276363, -0.00116585, -0.00827149, -0.0148357, 0.0379215, 0.0178955, | |
| 32 | - -0.0908591, -0.0282526, -0.0384145, 0.0148034, 0.0555861, 0.0348459, -0.0682362, -0.0137359, | |
| 33 | - -0.0161934, -0.000992711, 0.0417267, 0.0533682, 0.0606705, 0.0785771, 0.0177393, 0.0258979, | |
| 34 | - -0.0378051, -0.0430567, 0.0340479, 0.0873226, 0.0767643, 0.0501276, 0.0462917, -0.0225498, | |
| 35 | - -0.0253765, -0.0254106, -0.0434375, -0.0268121, 0.00946014, -0.0095343, 0.0410103, 0.0386735, | |
| 36 | - 0.0417865, -0.0111444, 0.038282, 0.0109508, 0.0165757, -0.0350916, 0.0181481, 0.0559019, | |
| 37 | - 0.0110023, 0.0756945, 0.0451606, 0.0317503, 0.0342808, 0.0563747, 0.00184054, 0.010916, | |
| 38 | - 0.0490982, 0.0742725, 0.0272439, 0.0667738, 0.0190779, -0.00363077, 0.0399377, 0.0587057, | |
| 39 | - 0.08214, -0.00631514, 0.015092, 0.0469049, 0.0700421, -0.000771437, -0.0188088, 0.00943442, | |
| 40 | - 0.0630941, -0.0083379, 0.000113802, -0.042742, 0.011614, 0.060704, -0.0111803, -0.0069888, | |
| 41 | - -0.0106874, 0.0722705, -0.0291486, 0.00721724, 0.00275513, 0.0355739, -0.0104596, -0.122197, | |
| 42 | - 0.0204395, 0.0355279, 0.0431984, 0.00359042, -0.0360651, -0.0240803, 0.00372068, 0.00855862, | |
| 43 | - -0.0373134, -0.035564, -0.0466182, -0.034249, -0.0504504, -0.0126724, -0.0210202, -0.0237463, | |
| 44 | - 0.0132138, -0.0377139, 0.0280111, 0.0393601, -0.0212865, 0.0149723, 0.0411332, 0.028714, | |
| 45 | - -0.0196819, -0.0324787, 0.0620909, -0.0094347, -0.0184877, -0.0330845, -0.013543, 0.00747859, | |
| 46 | - 0.0163584, 0.0246972, 0.0322218, -0.0315325, -0.00362678, 0.0186201, -0.00667478, 0.0466913 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p41(hatfit_yaw00_lev2_p41); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p41_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p42.mh deleted
| 1 | -// hat_yaw00_lev2_p42.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p42_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p42_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p42(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.487045; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0625564, 0.0377063, -0.0936294, -0.112431, -0.11527, -0.0167091, 0.0406052, 0.0738598, | |
| 28 | - 0.031717, 0.0592982, 0.0601575, -0.0166848, -0.00291908, -0.0829607, -0.00857274, 0.0205755, | |
| 29 | - 0.00948705, 0.0357341, 0.0519815, -0.0105257, -0.0086745, -0.0348401, -0.0191874, -0.00563161, | |
| 30 | - -0.00584097, 0.00939445, 0.0496421, 0.00617174, 0.0109272, -0.00699703, -0.019802, -0.036845, | |
| 31 | - 0.00622295, -0.0363641, -0.00320816, -0.00398417, -0.00117188, 0.0340202, 0.0232643, 0.0210433, | |
| 32 | - -0.076952, -0.0577683, 0.00690922, 0.0417571, 0.050944, 0.0913182, 0.0142636, -0.0422739, | |
| 33 | - -0.0723603, -0.0353338, 0.0062463, 0.027837, 0.0227093, -0.0154173, 0.0851114, 0.00579794, | |
| 34 | - -0.0556967, -0.016606, 0.00632741, -0.00221272, 0.0259411, -0.0336812, 0.0517649, 0.0257381, | |
| 35 | - -0.0381896, -0.000830177, 0.0243649, 0.0013848, 0.0115003, -0.0168612, 0.00369493, 0.0256691, | |
| 36 | - 0.0106233, -0.00775145, -0.00300705, -0.0247126, -0.0192061, 0.0160463, 0.0219635, 0.0912614, | |
| 37 | - 0.054399, 0.0505047, 0.0788935, 0.124535, 0.0689719, 0.0184976, 0.00473304, 0.0295179, | |
| 38 | - 0.05098, -0.0160143, -0.0138044, -0.00226117, 0.0481735, 0.0127097, -0.0128908, -0.000225028, | |
| 39 | - 0.0365491, 0.00311747, -0.0318899, -0.0402103, 0.00986184, 0.0267959, -0.0597112, 0.00930144, | |
| 40 | - 0.0337973, 0.0299957, 0.0120455, -0.00462641, -0.0216377, -0.0225958, 0.00223717, -0.0270024, | |
| 41 | - 0.0628005, 0.0489483, 0.0415761, 0.0761125, 0.0714916, 0.0226824, 0.0721983, 0.0584937, | |
| 42 | - 0.0218871, -0.00527917, -0.021159, 0.0474577, -0.0094378, 0.0238818, 0.00390066, 0.0178393, | |
| 43 | - 0.0356874, -0.0529759, 0.0605261, 0.0161625, 0.00235941, 0.00300719, 0.0191452, 0.0183478, | |
| 44 | - 0.00476389, 0.0355849, 0.0325118, -0.0273234, -0.0178925, 0.00676039, 0.00677796, -0.0404392, | |
| 45 | - -0.0159076, 0.00463432, -0.0117526, -0.00362902, 0.00451682, 0.0295932, 0.0400523, -0.00565271, | |
| 46 | - -0.0698196, 0.00656611, -0.00782271, 0.000942894, -0.0420094, -0.00445787, -0.0551658, -0.0701101 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p42(hatfit_yaw00_lev2_p42); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p42_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p43.mh deleted
| 1 | -// hat_yaw00_lev2_p43.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p43_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p43_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p43(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.00648366; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0152163, -0.00938193, -0.0190419, -0.0687831, -0.0468449, -0.0880119, 0.0812563, -0.00542163, | |
| 28 | - -0.0303208, 0.00806224, 0.0623734, 0.0413201, -0.00380485, -0.0133008, -0.00241608, -0.0323745, | |
| 29 | - -0.0738325, -0.0242139, 0.0190181, 0.0157716, 0.0080979, 0.00166531, -0.0480585, -0.0434921, | |
| 30 | - -0.0302065, -0.0234743, -0.0184186, 0.0244355, 0.0155824, 0.0468844, 0.0080336, 0.00117218, | |
| 31 | - -0.0331888, -0.0584217, -0.0338365, -0.026523, -0.0119799, 0.0596711, 0.0115523, -0.0122433, | |
| 32 | - -0.0458657, -0.0397486, 0.00973897, 0.0146185, 0.069101, -0.0167322, 0.0669437, 0.0339211, | |
| 33 | - 0.00604615, 0.00201924, -0.0142197, -0.0430294, -0.00720905, -0.0326489, -0.0359383, 0.0285836, | |
| 34 | - 0.0545388, 0.0379828, 0.0598856, 0.0112929, -0.0060677, -0.00368719, 0.0259153, 0.0502069, | |
| 35 | - 0.0226217, 0.0012846, 0.0148117, -0.0016945, -0.000385082, 0.00444569, 0.0713966, 0.090965, | |
| 36 | - 0.0507963, -0.00174389, -0.0463333, 0.00418675, 0.0053341, -0.0537939, -0.0550999, 0.0945129, | |
| 37 | - 0.113893, -0.0139617, 0.0316123, 0.0529792, 0.0495666, 0.0340494, -0.039953, 0.0260375, | |
| 38 | - 0.00641793, 0.0377733, -0.0625308, -0.0868844, -0.048856, 0.0186374, -0.0411507, -0.0667005, | |
| 39 | - 0.0029778, 0.0232979, 0.0265188, 0.0512988, 0.0191031, 0.00196293, -0.0345508, -0.0318195, | |
| 40 | - 0.00777352, 0.0336489, 0.0340635, 0.0523148, 0.03348, 0.0224716, 0.0471509, -0.0111932, | |
| 41 | - 0.0163388, 0.0360007, -0.0550825, -0.0319889, 0.00674877, 0.0246315, 0.0166669, -0.00832142, | |
| 42 | - -0.0104868, -0.0427722, 0.0921329, 0.0220887, -0.0355666, -0.0185576, -0.00916089, -0.0092353, | |
| 43 | - -0.0317364, 0.0305874, 0.00675156, -0.0249873, 0.01326, 0.0109879, -0.016378, 0.00128751, | |
| 44 | - -0.0210845, -0.0114771, -0.00718837, -0.00888316, -0.0110957, 0.0127997, 0.0179059, 0.0174434, | |
| 45 | - -0.0127198, -0.0120589, -0.0196548, -0.0179925, -0.071387, 0.00189062, -0.0285034, 0.0140863, | |
| 46 | - -0.0971454, 0.0467506, -0.00717021, -0.0347361, -0.0281356, -0.0441394, -0.0500878, -0.0092695 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p43(hatfit_yaw00_lev2_p43); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p43_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p44.mh deleted
| 1 | -// hat_yaw00_lev2_p44.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p44_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p44_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p44(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.133498; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0434608, -0.0375412, 0.0454066, -0.00232263, 0.00944101, -0.0499478, 0.0126621, -0.0423901, | |
| 28 | - -0.00525387, -0.0133133, 0.0215207, 0.0288921, 0.0142323, 0.049969, 0.0481931, 0.0500351, | |
| 29 | - -0.00359542, -0.0930273, 0.00287021, 0.00598216, 0.0164819, 0.0124433, 0.00604495, 0.0709833, | |
| 30 | - 0.0020777, -0.0585229, -0.0286585, 0.0102381, 0.0246242, -0.00483163, 0.0220621, 0.0599245, | |
| 31 | - -0.0185056, -0.0421779, -0.0461277, -0.0347843, -0.0399771, 0.0179453, -0.0988327, -0.0343631, | |
| 32 | - 0.062811, 0.0709959, -0.0625171, -0.0890556, -0.038321, 0.00148258, -0.0706364, 0.0280211, | |
| 33 | - 0.013062, 0.0328506, 0.0540438, 0.0737895, 0.0182533, 0.00714815, 0.00747047, -0.0631775, | |
| 34 | - 0.0937722, 0.11209, 0.00853257, -0.0115347, -0.0403247, 0.0116919, 0.0922686, 0.100438, | |
| 35 | - 0.0496898, 0.0776282, -0.00799543, 0.0177156, -0.0209815, -0.0426646, 0.012797, 0.00244885, | |
| 36 | - 0.00795191, 0.0361026, -0.00259492, -0.0143084, -0.0014389, -0.0315686, -0.0858858, -0.0289207, | |
| 37 | - -0.0384161, 0.0405562, 0.0318509, -0.00677956, 0.0019075, 0.0227394, 0.0385147, 0.0332749, | |
| 38 | - -0.0443305, -0.0409049, 0.0268993, 0.0395555, -0.00697073, -0.0169692, -0.0110896, 0.0226296, | |
| 39 | - -0.099113, -0.0380493, -0.0555956, -0.0272147, 0.00162701, 0.0157433, -0.00016503, -0.0427643, | |
| 40 | - -0.0706651, -0.0126277, -0.00925659, -0.0135335, 0.00727166, -0.00311888, -0.0019915, -0.0481127, | |
| 41 | - -0.0174759, 0.00736274, 0.0108935, -0.0304465, -0.00479456, 0.0137333, -0.0236878, -0.026351, | |
| 42 | - -0.0180594, -0.0492838, 0.00470431, -0.0337215, 0.0155772, 0.00649963, -0.0740774, -0.0380523, | |
| 43 | - 0.0186271, 0.0388299, -0.00633185, -0.0332862, -0.0272252, 0.00657739, -0.0168025, -0.024778, | |
| 44 | - -0.0133223, -0.000528839, 0.00341718, -0.00758616, -0.0135721, 0.0138585, -0.0262324, 0.0120914, | |
| 45 | - 0.00661195, -0.00240091, 0.0207088, 0.0293574, -0.0124487, 0.00932525, -0.0122027, 0.0285461, | |
| 46 | - 0.0236277, 0.000629146, 0.00127135, 0.0423906, -0.00154121, -0.014517, -0.00175293, 0.0134204 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p44(hatfit_yaw00_lev2_p44); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p44_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p45.mh deleted
| 1 | -// hat_yaw00_lev2_p45.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p45_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p45_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p45(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.167203; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0727442, -0.0166493, -0.0626483, -0.00407148, 0.0385231, 0.0138944, 0.0220685, 0.0317868, | |
| 28 | - 0.0202424, -0.00508257, -0.02991, -0.0642126, -0.0457136, -0.0205781, -0.0460721, -0.0144347, | |
| 29 | - 0.0185551, 0.021069, 0.0572957, 0.0567964, 0.0393136, 0.00655403, 0.00297779, -0.0212999, | |
| 30 | - 0.0588155, -0.0125789, 0.0302992, 0.0420561, 0.0321475, 0.0444928, 0.113518, 0.115613, | |
| 31 | - 0.0840319, 9.00529e-05, -0.0672098, -0.0382904, 0.00831286, -0.0415421, -0.0300061, 0.112934, | |
| 32 | - 0.0500438, -0.0398309, 0.121826, 0.0632192, 0.0417922, 0.0189858, 0.00649431, 0.00459315, | |
| 33 | - -0.0273207, 0.0733033, -0.023846, -0.0719232, -0.0331931, 0.00526774, -0.0276115, -0.0230609, | |
| 34 | - -0.0322007, 0.0294648, 0.024586, 0.0277014, -0.0083174, 0.00650928, 0.000355891, -0.0111656, | |
| 35 | - -0.0321933, 0.0129832, -0.00113023, 0.0126422, -0.028525, -0.0111074, 0.00155808, -0.0336636, | |
| 36 | - -0.0639764, 0.0777543, -0.0134676, -0.0233251, -0.0131801, -0.0252243, 0.00837433, -0.0979294, | |
| 37 | - -0.0316445, -0.0533707, 0.0260078, 0.0344793, -0.0253976, -0.0140301, 0.00174039, 0.00276017, | |
| 38 | - 0.00545666, -0.0200741, -0.0239352, -0.0327871, 0.0297689, 0.00861198, 0.040564, 0.052606, | |
| 39 | - 0.0074788, -0.0479343, 0.0154175, -0.0141605, -0.00841478, -0.00624186, -0.0179837, 0.00613419, | |
| 40 | - -0.0151695, -0.00554206, -0.0266159, -0.00971198, -0.0140612, 0.00957265, -0.00149456, 0.0407301, | |
| 41 | - -0.0514291, -0.00426822, -0.0378928, -0.025287, -0.000235668, -0.00516234, -0.043896, 0.0421735, | |
| 42 | - -0.0130924, -0.0251465, 0.0425118, -0.0765011, -0.041684, -0.0207319, -0.06635, -0.0265088, | |
| 43 | - -0.033695, -0.0298012, 0.00865036, -0.0296191, 0.00521558, 0.0239798, 0.00332807, -0.0132821, | |
| 44 | - -0.0237629, 0.0281534, -0.00584087, -0.0281866, -0.00921105, 0.00566867, -0.0154368, -0.0327216, | |
| 45 | - -0.0208287, 0.00086343, 0.0179541, -0.0235674, -0.0233201, -0.00703314, -0.022644, -0.0103356, | |
| 46 | - -0.0110677, -0.0168262, 0.00978007, 0.0523263, -0.0194004, -0.00861894, -0.0303185, -0.0325916 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p45(hatfit_yaw00_lev2_p45); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p45_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p46.mh deleted
| 1 | -// hat_yaw00_lev2_p46.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p46_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p46_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p46(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.134623; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0531168, 0.0334694, 0.043996, 0.12206, 0.0730851, 0.0708911, -0.00521965, 0.0159515, | |
| 28 | - 0.0281719, -0.0421384, -0.0138892, -0.0198386, 0.0505329, -0.0104663, 0.00154503, -0.0128061, | |
| 29 | - 0.058639, -0.00837575, -0.0821761, -0.0997137, -0.0181503, 0.0377087, -0.0401936, 0.00375633, | |
| 30 | - 0.00143321, 0.0237199, 0.00718317, -0.00464007, -0.0229915, -0.0257773, -0.0106924, -0.0683993, | |
| 31 | - 0.0987416, 0.0460078, 0.0523512, 0.0644147, 0.0502609, 0.0165771, 0.0867663, 0.123899, | |
| 32 | - 0.00447481, 0.0121519, 0.00354363, 0.0803775, 0.00817232, -0.0145719, 0.00701082, 0.0432215, | |
| 33 | - 0.0279507, -0.0634129, 0.0607196, 0.0344952, 0.0197178, 0.00448424, 0.00693527, 0.00980093, | |
| 34 | - -0.0263267, 0.0359766, 0.0495958, 0.00492949, -0.00529447, 0.00687388, 0.0106333, -0.00370484, | |
| 35 | - -0.0402679, 0.0157835, -0.00736962, -0.00841176, 0.00542731, 0.0202024, 0.010359, 0.0114009, | |
| 36 | - -0.114368, -0.00373064, 0.0193916, 0.0368617, -0.0185698, -0.00661785, -0.0196855, -0.0660228, | |
| 37 | - -0.0155701, -0.0423849, 0.0227829, -0.00564839, -0.0628149, -0.0119208, -0.0545034, -0.0238897, | |
| 38 | - -0.0304989, -0.0239419, 0.018287, 0.0139659, 0.0074725, 0.00120524, -0.0106813, -0.0109142, | |
| 39 | - -0.0190309, -0.0788974, -0.0350183, -0.040745, -0.00553431, 0.0194616, 0.0108564, 0.0408648, | |
| 40 | - 0.0127743, -0.0466269, -0.0114537, -0.0223878, 0.0214901, 0.0118409, 0.0131341, 0.0240932, | |
| 41 | - 0.0149353, 0.00707499, -0.0278634, -0.0513, -0.0344982, 0.00220224, -0.0332546, 0.008111, | |
| 42 | - -0.00234963, 0.0362378, 0.0399499, 0.0076758, -0.0431636, -0.0341594, -0.0400981, -0.0105245, | |
| 43 | - 0.0153956, -0.000767963, 0.0185314, -0.0453842, -0.0557711, -0.00781512, 0.00407695, 0.00583734, | |
| 44 | - -0.0275517, -0.0113003, 0.0115792, -0.0641317, -0.0148315, -0.0078452, -0.0106168, -0.0332407, | |
| 45 | - -0.0315385, -0.00204452, -0.00591023, -0.0533512, -0.00380281, 0.00919725, 0.0024589, -0.00864855, | |
| 46 | - -0.0314061, 0.0254036, 0.0529685, 0.00313081, -0.0361513, -0.0241116, -0.0383206, -0.0235494 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p46(hatfit_yaw00_lev2_p46); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p46_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p47.mh deleted
| 1 | -// hat_yaw00_lev2_p47.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p47_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p47_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p47(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.349958; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0938759, 0.00296821, -0.0729677, -0.0316095, -0.00706991, 0.0713807, -0.125104, -0.0615868, | |
| 28 | - 0.0707216, 0.055996, 0.066673, 0.063191, 0.0360445, 0.0752131, 0.0635663, 0.0533688, | |
| 29 | - 0.0104127, -0.0312641, 0.00659127, 0.0569067, 0.0593655, 0.0106091, 0.00629004, -0.0474023, | |
| 30 | - 0.0337274, -0.0232891, -0.0632985, -0.060388, 0.0187142, 0.0192868, 0.00269171, 0.0232338, | |
| 31 | - 0.0544664, -0.00795061, 0.00310823, -0.0143325, -0.0106303, -0.010281, 0.0267312, 0.00531744, | |
| 32 | - 0.0397312, 0.0957103, 0.117226, 0.0655497, 0.0423688, -0.0166754, 0.0271625, 0.0107862, | |
| 33 | - -0.0253908, 0.0119722, -0.031478, 0.0428568, 0.00490836, -0.0267872, 0.00626841, 0.0239749, | |
| 34 | - 0.0451296, -0.0252722, 0.0191709, 0.0668581, 0.0521968, 0.042853, 0.0250142, 0.0680039, | |
| 35 | - 0.0265303, -0.0209002, 0.0792489, -0.0097866, -0.00997529, 0.00598961, -0.0162379, -0.000541026, | |
| 36 | - -0.0667264, 0.0992408, 0.0101751, -0.0104197, 0.0343122, 0.0579504, 0.00881062, -0.0444161, | |
| 37 | - -0.0118875, -0.0064939, 0.0189168, 0.000886423, -0.0630399, -0.00776045, -0.0401691, 0.0212956, | |
| 38 | - -0.0124791, -0.0363352, -0.0313423, -0.0383338, -0.0471207, -0.00316822, -0.0288681, -0.00340652, | |
| 39 | - -0.0159142, -0.0354307, 0.0194541, 0.0374145, -0.00104714, 0.00322418, -0.00696972, -0.014788, | |
| 40 | - -0.0295837, -0.0265521, -0.0117168, 0.0133084, -0.0186389, -0.00254122, 0.00481712, 0.0100409, | |
| 41 | - 0.0211604, -0.0462735, -0.00647958, -0.0555301, -0.00469603, 0.0267769, 0.0434688, 0.0614441, | |
| 42 | - 0.0477303, 0.0342047, -0.0337731, -0.00408043, -0.0142271, -0.0233577, 0.00147113, -0.0202956, | |
| 43 | - 0.00291611, 0.0343229, 0.0658706, 0.042245, 0.00563476, -0.011158, -0.00236379, -0.00430019, | |
| 44 | - 0.024499, 0.0109992, 0.0275971, -0.0199714, -0.0525608, -0.0207767, -0.00988041, 0.0184047, | |
| 45 | - 0.0161338, -0.0137057, 0.0222027, -0.0660978, -0.0223864, 0.0155657, 0.00532412, 0.00796028, | |
| 46 | - -0.0192531, -0.00810867, 0.0503201, -0.0601432, -0.00343015, -0.000829491, -0.0402855, -0.0187734 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p47(hatfit_yaw00_lev2_p47); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p47_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p48.mh deleted
| 1 | -// hat_yaw00_lev2_p48.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p48_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p48_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p48(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.266244; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.00244126, -0.00695775, -0.00750911, 0.0373564, 0.0912859, -0.0323123, 0.0135883, -0.0108903, | |
| 28 | - -0.0138802, -0.0188198, -0.0310479, -0.00867961, 0.0052937, 0.02034, -0.00643894, -0.0194933, | |
| 29 | - 0.00309242, -0.0162415, 0.0107541, 0.0155267, -0.0138722, -0.0117513, 0.0212924, -0.00367859, | |
| 30 | - 0.0165307, 0.00492787, -0.00487953, 0.00917269, -0.00646058, -0.00447639, -0.0268833, -0.0118095, | |
| 31 | - -0.000936887, 0.0130276, 0.0132283, 0.0163816, -0.00492111, -0.0137712, -0.00156212, -0.0168748, | |
| 32 | - -0.00170122, 0.01619, -0.00337298, 0.0267796, 0.0277441, -0.01436, -0.021252, -0.00902059, | |
| 33 | - 0.000179468, -0.00228062, -0.00427859, 0.032054, -0.00956211, -0.00282608, 0.00909247, -0.0129984, | |
| 34 | - -0.00618627, -0.0247032, -0.000789677, -0.0353493, -0.0504948, 0.0341041, 0.00664619, 0.00987884, | |
| 35 | - 0.0321276, -0.0307376, -0.0337874, -0.0369077, -0.0136238, -0.0040396, 0.0365185, 0.0295871, | |
| 36 | - 0.0337312, 0.0194397, 0.0405361, 0.00148259, 0.000971457, -0.0311783, -0.0283214, -0.0576002, | |
| 37 | - 0.0379415, 0.0162879, 0.0238018, 0.0896146, 0.0338163, -0.0440928, -0.0198169, 0.0139492, | |
| 38 | - 0.0135434, -0.0196034, -0.0666693, -0.0221157, 0.0240976, -0.00951311, 0.00591992, 0.00916109, | |
| 39 | - 0.0469733, 0.0313011, 0.0146373, 0.030906, 0.000892364, -0.0286324, -0.00992309, 0.0304088, | |
| 40 | - -0.0208145, -0.0248092, -0.0366884, -0.0395867, -0.0286382, 0.0170484, -0.00629805, 0.0301099, | |
| 41 | - 0.0390146, 0.0614085, 0.0576423, 0.0200063, -0.0242775, -0.05258, -0.0131601, 0.0207403, | |
| 42 | - -0.00163866, -0.0121648, 0.0215263, 0.0394177, -0.0529247, 0.0340943, -0.00183509, 0.00380548, | |
| 43 | - 0.00476614, -0.0106921, -0.0110888, 0.0573969, 0.0170387, 0.0482549, 0.0231282, -0.0111661, | |
| 44 | - -0.0603029, -0.0115112, -0.0168214, -0.00270062, 0.00541293, 0.012113, 0.0468421, -0.0042761, | |
| 45 | - -0.00759411, 0.0354396, 0.0728358, 0.0893882, 0.0657231, 0.0364996, 0.0136322, -0.0390175, | |
| 46 | - 0.0584287, -0.0251267, -0.0315721, 0.0521113, 0.116648, 0.060466, 0.0375091, 0.0571198 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p48(hatfit_yaw00_lev2_p48); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p48_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p49.mh deleted
| 1 | -// hat_yaw00_lev2_p49.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p49_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p49_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p49(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.192501; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0835498, -0.0204216, -0.0675207, -0.0489665, -0.033897, -0.021236, -0.00268309, -0.0164719, | |
| 28 | - -0.0187461, 0.0227914, 0.0300364, 0.015184, -0.0202062, -0.0158775, -0.0168518, -0.0179463, | |
| 29 | - -0.038041, -0.0119964, 0.00579416, 0.0356555, 0.0566812, -0.0199519, -0.0280012, -0.0420213, | |
| 30 | - -0.0132371, -0.0144199, -0.0541125, -0.0105326, 0.0603322, 0.022851, 0.00906489, 0.00544175, | |
| 31 | - -0.0290449, -0.0236012, -0.00222911, 0.00202367, -0.0600652, -0.00660235, 0.00674581, -0.0434849, | |
| 32 | - -0.0202302, -0.0287063, -0.0283714, -0.0407221, -0.0072558, 0.00972238, 0.00968606, 0.0152914, | |
| 33 | - -0.0149908, 0.0289505, 0.0488872, 0.0189728, -0.00561173, -0.0135145, -0.0488983, -0.0182296, | |
| 34 | - 0.00738071, -0.00137348, 0.0304801, 0.00910722, -0.00820217, -0.00508927, -0.0146195, -0.00154415, | |
| 35 | - -0.00504071, -0.0246486, -0.0311558, 0.0192517, 0.0282089, -0.00265505, 0.0248406, -0.0107161, | |
| 36 | - 0.0285478, -0.0112178, -0.0346098, -0.0519415, -0.0952246, 0.00133508, 0.00722505, 0.0403746, | |
| 37 | - 0.0649075, 0.0123525, -0.0457291, -0.0256825, 0.0120643, -0.00891199, -0.0416236, -0.0463997, | |
| 38 | - -0.0164144, 0.0205189, 0.0227254, -0.0232941, -0.0217079, -0.0199973, -0.0149456, -0.0384636, | |
| 39 | - -0.00166413, 0.0212203, 0.00416943, 0.0416679, -0.00479935, -0.0405398, -0.0239473, 0.00734616, | |
| 40 | - 0.0178309, -0.00162916, -0.0119294, 0.0305882, 0.0530868, -0.0145587, 0.00292821, -0.00612065, | |
| 41 | - -0.0178099, -0.0325072, -0.0661953, 0.00742307, 0.0488632, 0.0027951, -0.0201514, -0.0186999, | |
| 42 | - 0.0404047, 0.00993155, 0.0343232, 0.0122804, 0.0379228, 0.0375848, 0.0775912, 0.0897432, | |
| 43 | - -0.0461039, 0.00967581, 0.0305412, 0.0137018, -0.0143922, -0.00987391, -0.0348911, -0.018628, | |
| 44 | - 0.0197026, -0.00799958, 0.00957767, 0.00337207, -0.0613752, 0.0195736, -0.0140907, 0.0353882, | |
| 45 | - 0.034985, 0.0218205, 0.0298671, 0.0567854, -0.00573089, 0.018223, 8.00595e-05, 0.00255585, | |
| 46 | - -0.0136921, -0.0121694, -0.0137683, 0.0372801, -0.0100846, 0.0482397, 0.057524, 0.0142762 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p49(hatfit_yaw00_lev2_p49); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p49_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p50.mh deleted
| 1 | -// hat_yaw00_lev2_p50.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p50_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p50_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p50(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.0477386; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0495539, 0.0211041, -0.0123644, -0.00237358, 0.0108027, -0.0275818, -0.0549775, -0.0233839, | |
| 28 | - -0.0836514, 0.0310929, -0.010384, -0.0336357, -0.0451937, -0.0144377, -0.0114682, -0.0333021, | |
| 29 | - 0.0882937, -0.00533626, -0.0302569, -0.0444939, -0.0423566, 0.0042213, 0.0342134, 0.0200237, | |
| 30 | - 0.0692929, 0.0399971, 0.0131628, -0.00253586, -0.0242977, -0.0384338, -0.0239605, -0.00330828, | |
| 31 | - -0.0419197, 0.00794452, -0.02165, 0.0106045, 0.0321402, -0.0296086, -0.0243697, -0.039781, | |
| 32 | - -0.042991, -0.0300578, 0.0575712, 0.0340556, 0.0579353, -0.0319422, -0.00851638, -0.0470556, | |
| 33 | - -0.00101905, -0.0480291, -0.0347489, -0.0109098, 0.00852354, 0.0360537, 0.0439627, 0.042935, | |
| 34 | - -0.0107764, -0.0386511, -0.0721515, -0.0327677, 0.00865226, 0.0152686, 0.0465945, 0.0362127, | |
| 35 | - 4.46165e-05, 0.0391035, 0.0494602, 0.0191409, 0.00970513, -0.0327974, -0.0348296, -0.0350654, | |
| 36 | - -0.0118673, -0.00809259, 0.0306083, 0.0223223, 0.0113989, 0.0111524, -0.0393564, -0.00130007, | |
| 37 | - -0.00938587, 0.0532157, 0.00277165, 0.0182028, -0.0584938, 0.0277438, 0.00704494, -0.00816859, | |
| 38 | - 0.0295228, 0.00526707, -0.0163852, -0.0128342, -0.0167003, -0.0067569, 0.0236241, -0.00624285, | |
| 39 | - 0.0457654, 0.0173623, -0.0646333, -0.00727445, 0.00955263, 0.0091617, -0.0389154, -0.0404082, | |
| 40 | - 0.036049, 0.0225123, 0.0275935, -0.0153545, -0.00186503, -0.0072327, -0.0506511, -0.0285569, | |
| 41 | - -0.00781563, 0.0385601, 0.00797834, 0.0318072, -0.00728755, -0.0361007, -0.0141264, -0.0288934, | |
| 42 | - 0.104485, 0.0503813, 0.0321288, -0.0221143, -0.0110662, 0.0157634, 0.0254731, 0.0313357, | |
| 43 | - -0.0274174, 0.0228067, 0.0466918, 0.0514846, 0.0267139, 0.0101061, -0.00114006, 0.0169987, | |
| 44 | - 0.0127578, -0.0134715, -0.013775, -0.0045049, 0.0264766, 0.0464675, 0.0606609, 0.0584783, | |
| 45 | - -0.0149799, 0.0290195, 0.0436679, 0.0239956, 0.0250228, -0.00806094, 0.0177236, 0.00230823, | |
| 46 | - -0.012279, -0.014165, 0.0218013, 0.00711751, -0.04036, 0.0250468, -0.0194546, 0.0282929 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p50(hatfit_yaw00_lev2_p50); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p50_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p51.mh deleted
| 1 | -// hat_yaw00_lev2_p51.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p51_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p51_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p51(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0764357; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0650944, 0.0193851, -0.0594972, -0.100121, -0.104022, -0.0135567, -0.0376246, 0.0163301, | |
| 28 | - -0.0129405, 0.0103163, 0.0383381, 0.0231603, -0.0437137, -0.0245345, 0.0999677, -0.0503141, | |
| 29 | - 0.0283688, 3.67082e-05, 0.0251029, 0.0506682, 0.0184266, -0.0705395, 0.0184774, 0.0297773, | |
| 30 | - -0.00595488, -0.0341949, -0.00113204, 0.00722669, 0.0464591, -0.0242277, -0.0192974, 0.00749769, | |
| 31 | - -0.0107425, -0.0521185, -0.04147, -0.0343186, -0.0526623, 0.0383393, 0.0396407, 0.0098424, | |
| 32 | - -0.00613143, -0.0146145, -0.037507, 0.052777, 0.108913, 0.0489861, 0.0294413, 0.00825218, | |
| 33 | - 0.00635863, 0.017598, 0.00982251, 0.00746601, 0.0341631, 0.0363752, 0.0151007, 0.00218081, | |
| 34 | - 0.0294743, 0.0752663, 0.0559439, 0.000286545, 0.0110606, 0.012381, 0.0289762, 0.0671849, | |
| 35 | - 0.0313379, 0.0311749, 0.0262417, 0.0283269, 0.0130074, -0.0453311, -0.0087264, 0.0826683, | |
| 36 | - -0.0305231, -0.0395294, -0.0730491, -0.0439395, -0.00667226, 0.0224563, 0.00542897, -0.00669543, | |
| 37 | - -0.00254243, -0.0285783, -0.0136673, 0.0294769, 0.0177926, -0.0204505, 0.00655116, -0.0212695, | |
| 38 | - -0.0351333, -0.026744, 0.0102726, 0.00539215, -0.0062701, -0.0134256, -0.0305623, -0.0311588, | |
| 39 | - -0.0275912, 0.00367917, -0.0134105, 0.00069081, 0.003861, 0.0132189, -0.0253056, -0.0409523, | |
| 40 | - 0.00296127, 0.00236138, -0.00174571, 0.00992103, -0.00668856, 0.00554392, -0.0147451, 0.00857709, | |
| 41 | - -0.0172276, -0.0069705, 0.00110024, 0.0114147, 0.00020103, 0.0260044, 0.0350674, -0.015979, | |
| 42 | - -0.0468747, -0.0412072, -0.020738, -0.0234711, -0.0415735, 0.0120218, -0.0126633, -0.02575, | |
| 43 | - -0.000798617, 0.0116575, -0.00498169, -0.0220634, -0.0188038, 0.00136545, 0.00679813, 0.0155936, | |
| 44 | - 0.0294948, -0.00340731, -0.00214841, -0.0186313, -0.019873, -0.0132203, -0.00228597, 0.0017341, | |
| 45 | - 0.0248672, 0.00242723, 0.00372801, 0.0125139, -0.00768655, -0.0294099, -0.00568277, -0.00574113, | |
| 46 | - -0.00529745, -0.010464, -0.00262238, -0.0218967, -0.00582704, 0.00480886, 0.00623102, 0.00438627 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p51(hatfit_yaw00_lev2_p51); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p51_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p52.mh deleted
| 1 | -// hat_yaw00_lev2_p52.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p52_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p52_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p52(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0675872; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.0422232, 0.00605944, -0.0402839, -0.0373185, -0.0290048, -0.0300657, -0.0521738, -0.0466676, | |
| 28 | - -0.010222, 0.0108525, 0.010731, 0.00984706, 0.0071276, -0.0020334, 0.00506905, -0.0378795, | |
| 29 | - 0.0256222, -0.00261496, -0.00874904, 0.0389066, 0.00516485, -0.0127199, 0.0187019, -0.000190753, | |
| 30 | - -0.00267674, -0.0253644, -0.00748812, 0.0673018, 0.0356246, -0.0255024, -0.00546691, -0.0188718, | |
| 31 | - -0.0131194, -0.0303938, -0.0786897, -0.0136168, -0.00421177, -0.0507213, -0.0482906, -0.0439651, | |
| 32 | - 0.0165339, -0.00723551, 0.0494401, 0.0500584, 0.0445881, 0.0448531, 0.00679038, 0.127445, | |
| 33 | - 0.00635129, -0.00477785, -0.0144259, 0.00167362, -0.00852137, 0.0127319, 0.0194569, 0.0380326, | |
| 34 | - -0.00862816, 0.00856149, 0.0171049, 0.0156228, -0.021514, 0.0473204, -0.00787639, 0.02784, | |
| 35 | - 0.00322575, 0.0140646, 0.00674093, -0.00690135, -0.0250757, 0.0660233, -0.0360162, -0.00921877, | |
| 36 | - 0.00959317, 0.0110007, 0.0146054, 0.018331, -0.0163642, 0.049363, 0.0730171, 0.0120552, | |
| 37 | - -0.0164216, 0.023567, 0.0119819, 0.0361643, 0.0255793, -0.0372276, 0.00954623, 0.0744301, | |
| 38 | - -0.0511832, -0.0570134, -0.0396644, -0.0404291, -0.0241616, -0.0218683, 0.0113479, 0.00422602, | |
| 39 | - -0.0198206, -0.0071985, -0.0374479, -0.0315704, -0.0633209, 0.0221232, -0.015953, -0.00428115, | |
| 40 | - 0.0153375, 0.0136208, -0.023364, -0.0307367, -0.0540647, 0.0534357, -0.0172693, -0.0192023, | |
| 41 | - -0.0168497, 0.04081, 0.0412586, 0.0312318, -0.00389699, -0.0169878, 0.044265, 0.00451415, | |
| 42 | - 0.0174412, 0.046257, 0.000171126, 0.00684629, 0.00116319, -0.0263814, 0.0101471, 0.0133016, | |
| 43 | - -0.0112506, -0.0140623, -0.0175112, -7.98279e-05, -0.00964185, -0.00319915, 0.00209215, -0.0136634, | |
| 44 | - -0.014852, -0.00364934, 0.00261632, -0.00717517, 0.0168242, -0.00207797, -0.014872, -0.0169025, | |
| 45 | - -0.00321814, -0.00673075, -0.00480385, 0.0226337, 0.0466613, 0.0354814, 0.0169009, -0.00421824, | |
| 46 | - -0.000706595, 0.0251857, 0.00525701, -0.0187527, 0.00833638, -0.0156336, -0.0185438, -0.00773955 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p52(hatfit_yaw00_lev2_p52); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p52_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p53.mh deleted
| 1 | -// hat_yaw00_lev2_p53.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p53_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p53_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p53(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = 0.0626878; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.018691, -0.0296059, -0.0703994, 0.00120945, -0.0494968, 0.0795052, -0.00971431, -0.0329191, | |
| 28 | - -0.0362483, -0.0085063, -0.0191623, -0.024323, -0.0312561, -0.0143246, -0.00839651, -0.0488237, | |
| 29 | - -0.0588511, -0.00926484, 0.0441297, 0.0445941, 0.017878, -0.046711, 0.0849654, -0.0249244, | |
| 30 | - -0.0423636, -0.0462836, 0.0275196, 0.0497014, 0.063428, 0.0314373, -0.00740839, -0.0418502, | |
| 31 | - 0.0557852, -0.0506972, -0.0623033, -0.0245665, 0.0507803, 0.0253386, -0.0329503, 0.0540937, | |
| 32 | - 0.0081901, -0.0173538, -0.0468151, -0.0113454, 0.0219419, 0.094097, -0.0336471, -0.0388668, | |
| 33 | - -0.00046048, 0.00541129, 0.0423549, 0.0338251, 0.0152872, 0.0485634, 0.0308025, 0.0141435, | |
| 34 | - 0.0688133, 0.0714458, 0.0222149, 0.00240129, -0.003577, 0.0127541, 0.0484851, 0.0474281, | |
| 35 | - 0.0625819, 0.0711041, -0.0137645, -0.00438153, -0.0217192, -0.0282293, 0.0145261, 0.0291524, | |
| 36 | - 0.000221867, 0.0219362, -0.00657695, -0.00351057, -0.019949, 0.0184259, -0.0142055, 0.00232768, | |
| 37 | - 0.0323774, 0.0241413, 0.0107102, 0.0214944, 0.000167494, 0.00677882, 0.0125334, 0.0430097, | |
| 38 | - 0.00430616, -0.0118973, 0.0184187, 0.0247654, 0.0199142, -0.0243278, -0.0211138, -0.00152234, | |
| 39 | - -0.0335908, -0.0136346, -0.00509563, -0.0118379, 0.00521896, -0.0137947, -0.029525, -0.033767, | |
| 40 | - -0.0409034, -0.0136538, -0.00955293, -0.0135913, 0.0034148, -0.00914535, -0.0143001, -0.0305599, | |
| 41 | - 0.00261832, 0.0124695, -0.0291263, -0.00591625, 0.00662083, 0.00995792, 0.0301587, -0.00637953, | |
| 42 | - -0.00596176, -0.023765, 0.00159443, -0.017357, 0.0219382, -0.00169842, 0.00159802, -0.0072873, | |
| 43 | - -0.00549211, -0.0196789, 0.00654718, -0.00794658, -0.0214648, -0.0236879, -0.0144501, -0.0129102, | |
| 44 | - 0.00940209, -0.013199, 0.00696873, -0.0156188, -0.0263607, -0.0121995, -0.0039541, 0.0131912, | |
| 45 | - 0.0121015, -0.00687284, -0.00235904, -0.0296469, -0.0215484, -0.0173748, -0.0020463, 0.0232373, | |
| 46 | - -0.0247, -0.00367961, -0.00750513, -0.0123954, -0.0110696, -0.0125895, 0.0128087, 0.0139221 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p53(hatfit_yaw00_lev2_p53); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p53_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p54.mh deleted
| 1 | -// hat_yaw00_lev2_p54.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p54_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p54_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p54(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.277291; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - -0.0446887, -0.00374708, 0.00385274, 0.0503045, 0.0217272, -0.0400245, 0.0183714, -0.0416097, | |
| 28 | - 0.0361514, 0.0264205, -0.0355195, -0.0535544, -0.0176517, 0.0109518, 0.0471306, 0.0530063, | |
| 29 | - 0.0408165, -0.00365712, 0.0186745, -0.0167308, -0.0192916, -0.0318051, 0.0164768, 0.0619793, | |
| 30 | - -0.000283606, 0.0150233, 0.0253617, 0.0234364, -0.00652511, -0.0238146, -0.0132057, -0.00482485, | |
| 31 | - -0.0557863, -0.0139786, 0.0177731, -0.0304113, -0.0156029, -0.0503534, -0.00948837, -0.00765604, | |
| 32 | - 0.00322491, 0.0139671, 0.0437126, 0.051357, -0.0120266, -0.0424331, 0.0545242, 0.0207623, | |
| 33 | - 0.0389337, -0.0450301, -0.0408157, -0.00188467, 0.0802237, 0.10159, 0.00144506, 0.00801055, | |
| 34 | - 0.0471722, 0.00134928, 0.0049963, 0.00331887, -0.023034, -0.0105944, 0.000381919, 0.0476973, | |
| 35 | - -0.01709, -0.00342293, 0.0247222, 0.0385434, 0.031444, -0.00491429, -0.0478791, -0.00725465, | |
| 36 | - -0.00313559, -0.026061, -0.00803455, -0.00766215, -0.00734289, -0.00485036, -0.0128516, 0.0467148, | |
| 37 | - 0.0217181, 0.0961528, 0.0442988, 0.0244961, -0.00209479, 0.070689, 0.0440197, -0.0210048, | |
| 38 | - -0.0333998, 0.00952642, -0.0375876, 0.00130615, 0.033453, 0.0267356, 0.0286615, -0.0131523, | |
| 39 | - 0.0185672, 0.00152239, -0.0076401, 0.0130947, 0.0407226, 0.0263838, -0.0137793, -0.0336713, | |
| 40 | - 0.0205575, 0.0190752, 0.00701367, 0.0192376, 0.000230231, 0.00256423, -0.00603685, 0.00141138, | |
| 41 | - -0.000274883, -0.0127365, -0.0275762, -0.00276515, -0.0121963, -0.00158619, -0.00822213, 0.021954, | |
| 42 | - 0.00219908, 0.0747051, -0.00507968, -0.0224858, -0.0288911, -0.009155, -0.0148191, 0.0314522, | |
| 43 | - -0.00385337, 0.0544586, -0.0213008, -0.0350865, -0.0216466, 0.0122098, 0.00669712, 0.00928643, | |
| 44 | - -0.0222463, -0.00865128, -0.0119568, -0.0130535, -0.028518, -0.0214098, -0.0315799, -0.0243013, | |
| 45 | - 0.0445565, 0.0313687, 0.0127979, 0.0226593, 0.002793, -0.00884828, 0.0147583, 0.0132262, | |
| 46 | - 0.0187937, -0.00249565, -0.00482565, -0.00873885, -0.00158184, 0.018112, 0.00190477, 0.0203196 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p54(hatfit_yaw00_lev2_p54); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p54_mh |
3rdparty/stasm/stasm/stasm/include/hat/hat_yaw00_lev2_p55.mh deleted
| 1 | -// hat_yaw00_lev2_p55.mh: | |
| 2 | - | |
| 3 | -#ifndef stasm_hat_yaw00_lev2_p55_mh | |
| 4 | -#define stasm_hat_yaw00_lev2_p55_mh | |
| 5 | - | |
| 6 | -namespace stasm { | |
| 7 | - | |
| 8 | -// tasm -V1 /b/stasm/train/conf/tasm_muct77.conf | |
| 9 | -// static const int EYEMOUTH_DIST = 100; | |
| 10 | -// static const int FACESCALE = 1 | |
| 11 | -// static const int PYRSCALE = 1 | |
| 12 | -// static const double SIGMOIDSCALE = 0 | |
| 13 | -// static const double PYR_RATIO = 2; | |
| 14 | -// static const int NEGTRAIN_SEED = 2013; | |
| 15 | -// static const int HAT_PATCH_WIDTH = 19; | |
| 16 | -// static const int HAT_PATCH_WIDTH_ADJ = -6; | |
| 17 | -// static const int GRIDHEIGHT = 4; | |
| 18 | -// static const int GRIDWIDTH = 5; | |
| 19 | -// static const int BINS_PER_HIST = 8; | |
| 20 | -// static const double WINDOW_SCALE = 0.5; | |
| 21 | - | |
| 22 | -static double hatfit_yaw00_lev2_p55(const double* const d) // d has 160 elements | |
| 23 | -{ | |
| 24 | - const double intercept = -0.250169; | |
| 25 | - const double coef[160] = | |
| 26 | - { | |
| 27 | - 0.00770038, -0.0117506, 0.062048, 0.0180783, 0.0240321, 0.0333108, 0.0369724, -0.0106229, | |
| 28 | - 0.0118312, 0.0499778, 0.061373, 0.0373043, 0.0472146, -0.00673929, 0.0755102, 0.0273608, | |
| 29 | - 0.0547031, -0.015602, -0.0683437, -0.0307405, 0.0675858, 0.0804987, 0.0421439, 0.0451601, | |
| 30 | - 0.0381199, -0.00587557, -0.017652, 0.00875733, -0.00608711, 0.0247261, -0.0605143, 0.0144518, | |
| 31 | - 0.107937, 0.00733392, -0.0109964, 0.0212265, -0.0131021, -0.055415, -0.0756234, 0.06983, | |
| 32 | - -0.0126466, 0.00585092, 0.020196, 0.030979, 0.00395235, 0.0345755, -0.0128192, -0.0237322, | |
| 33 | - 0.00551386, 0.05754, -0.0355483, -0.0133549, -0.034749, 0.024405, 0.0142873, -0.00536911, | |
| 34 | - -0.0123543, 0.0699165, -0.00607456, 0.0269026, -0.0222243, 0.0179932, -0.0170113, -0.0444965, | |
| 35 | - -0.043051, 0.0686616, 0.0156304, 0.0271785, -0.00155287, -0.0190537, 0.00520236, -0.0426718, | |
| 36 | - -0.0380035, 0.0159989, -0.0108328, 0.00100199, 0.0144364, 0.0342008, 0.0593881, -0.0223646, | |
| 37 | - 0.0102675, -0.0133535, -0.00346879, 0.01142, 0.001026, -0.00617268, -0.0179935, 0.0294985, | |
| 38 | - 0.00672279, 0.0123285, 0.0107054, -0.00973206, -0.00529085, -0.0241834, -0.01892, 0.0318575, | |
| 39 | - -0.0107454, -0.0399393, -0.00696133, -0.0353624, -0.000994443, -0.0316886, 0.0117592, 0.0338041, | |
| 40 | - 0.0196972, -0.0370209, -0.0057983, -0.0262384, -0.0001756, -0.0105558, 0.0138915, 0.0301981, | |
| 41 | - 0.046032, 0.0066506, 0.0175139, 0.0332507, 0.00442133, -0.0277928, 0.0017533, 0.0299767, | |
| 42 | - -0.00254022, -0.00614713, 0.0406137, 0.0403652, 0.0213262, -0.00909879, -0.0216363, -0.0136817, | |
| 43 | - -0.00606465, -0.0205355, -0.0101716, -0.020908, -0.020426, 0.00635634, -0.00863355, -0.0117216, | |
| 44 | - -0.0107347, 0.00235228, 0.00293927, 0.00761096, -0.00581517, 0.0156982, -0.00447562, -0.00811945, | |
| 45 | - -0.0236372, 0.0142137, -0.0213592, 0.0131076, -0.00325128, 0.00408089, -0.0124824, -0.0344511, | |
| 46 | - -0.0238587, -0.019063, -0.00917022, -0.0286919, 0.023084, 0.0092957, 0.0240128, 0.036306 | |
| 47 | - }; | |
| 48 | - return linmod(d, intercept, coef, 160); | |
| 49 | -} | |
| 50 | - | |
| 51 | -static const HatDescMod hat_yaw00_lev2_p55(hatfit_yaw00_lev2_p55); | |
| 52 | - | |
| 53 | -} // namespace stasm | |
| 54 | -#endif // stasm_hat_yaw00_lev2_p55_mh |