| | |
| | | #define _PL_SENSETIMEFACETRACK_H_
|
| | |
|
| | | #include "PipeLine.h"
|
| | | #include <vector>
|
| | |
|
| | | struct FacePoint
|
| | | {
|
| | | int x;
|
| | | int y;
|
| | | |
| | | FacePoint() : x(0), y(0) { }
|
| | | };
|
| | |
|
| | | struct FaceRect
|
| | | {
|
| | | FacePoint leftTop;
|
| | | FacePoint rightBottom;
|
| | | |
| | | FaceRect() : leftTop(), rightBottom() { }
|
| | | };
|
| | |
|
| | | struct SensetimeFaceFeature
|
| | | {
|
| | | FaceRect rect;
|
| | | int id;
|
| | | float yaw;
|
| | | float pitch;
|
| | | float roll;
|
| | | float eyeDistance;
|
| | | std::vector<FacePoint> featurePoints;
|
| | | |
| | | SensetimeFaceFeature() : |
| | | rect(), id(0), yaw(0.0), pitch(0.0), roll(0.0), eyeDistance(0.0), featurePoints()
|
| | | {}
|
| | | };
|
| | |
|
| | | typedef std::vector<SensetimeFaceFeature> st_ff_vect_t;
|
| | |
|
| | | struct SensetimeFaceTrackConfig
|
| | | {
|