3 #include <opencv2/opencv.hpp> 12 enum DetectedPoints{
FrontLeftEye,
FrontRightEye,
FrontMouth,
FrontLeftCheek,
FrontRightCheek,
SideEye,
SideNoseTip,
SideChin,
SideBack,
TextureLeftEye,
TextureRightEye,
TextureChin,
InvalidPoint};
36 void toFile(
const std::string& fn);
48 void pointToFile(std::ofstream& f,
const cv::Point3d& p);
Definition: FaceGeometry.hpp:12
void transform(DetectedPoints point, const cv::Mat &transform)
Definition: FaceGeometry.cpp:98
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:8
cv::Point3d mouth
Definition: FaceGeometry.hpp:42
cv::Point2d getDetectedPoint(DetectedPoints detectedPoint) const
Definition: FaceGeometry.cpp:60
cv::Point3d chin
Definition: FaceGeometry.hpp:42
cv::Point3d rightEye
Definition: FaceGeometry.hpp:42
void pointToFile(std::ofstream &f, const cv::Point3d &p)
Definition: FaceGeometry.cpp:51
cv::Point3d m_DetectedPoints[InvalidPoint]
the 2d points in homogeneous coordinates such that an affine transformation can be applied ...
Definition: FaceGeometry.hpp:41
Definition: FaceGeometry.hpp:12
cv::Point3d faceDimensions
3d position
Definition: FaceGeometry.hpp:42
void setDetectedPoint(DetectedPoints detectedPoint, const cv::Point2d &p)
Definition: FaceGeometry.cpp:81
cv::Point3d leftEye
Definition: FaceGeometry.hpp:42
Definition: FaceGeometry.hpp:12
void toFile(const std::string &fn)
Definition: FaceGeometry.cpp:33
Definition: FaceGeometry.hpp:12
cv::Rect sideSkinRegion
region of the skin in the side image
Definition: FaceGeometry.hpp:43
Definition: FaceGeometry.hpp:12
cv::Point3d nose
Definition: FaceGeometry.hpp:42
cv::Rect frontSkinRegion
region of the skin in the front image
Definition: FaceGeometry.hpp:44
void merge3d()
Definition: FaceGeometry.cpp:8
Definition: FaceGeometry.hpp:12
Definition: FaceGeometry.hpp:12
DetectedPoints
Definition: FaceGeometry.hpp:12
cv::Point getDetectedPointInt(DetectedPoints detectedPoint) const
Definition: FaceGeometry.cpp:67
cv::Point3d getDetectedPointHomogeneous(DetectedPoints detectedPoint) const
Definition: FaceGeometry.cpp:74
Definition: FaceGeometry.hpp:12