| 311 | #endif |
| 312 | |
| 313 | struct DetectorParameter // face and feature detector parameters |
| 314 | { |
| 315 | double x, y; // center of detector shape |
| 316 | double width, height; // width and height of detector shape |
| 317 | double lex, ley; // center of left eye (left and right are wrt the viewer) |
| 318 | double rex, rey; // center of right eye |
| 319 | double mouthx, mouthy; // center of mouth |
| 320 | double rot; // in-plane rotation |
| 321 | double yaw; // yaw |
| 322 | EYAW eyaw; // yaw as an enum |
| 323 | |
| 324 | DetectorParameter() // constructor sets all fields to INVALID |
| 325 | : x(INVALID), |
| 326 | y(INVALID), |
| 327 | width(INVALID), |
| 328 | height(INVALID), |
| 329 | lex(INVALID), |
| 330 | ley(INVALID), |
| 331 | rex(INVALID), |
| 332 | rey(INVALID), |
| 333 | mouthx(INVALID), |
| 334 | mouthy(INVALID), |
| 335 | rot(INVALID), |
| 336 | yaw(INVALID), |
| 337 | eyaw(EYAW(INVALID)) |
| 338 | { |
| 339 | }; |
| 340 | |
| 341 | }; |
| 342 | |
| 343 | //----------------------------------------------------------------------------- |
| 344 |
nothing calls this directly
no outgoing calls
no test coverage detected