diff --git a/openbr/plugins/landmarks.cpp b/openbr/plugins/landmarks.cpp index 716ecd8..ea820f6 100644 --- a/openbr/plugins/landmarks.cpp +++ b/openbr/plugins/landmarks.cpp @@ -437,6 +437,11 @@ class AnonymizeLandmarkTransform : public UntrainableMetadataTransform BR_REGISTER(Transform, AnonymizeLandmarkTransform) +/*! + * \ingroup transforms + * \brief Converts either the file::points() list or a QList metadata item to be the template's matrix + * \author Scott Klum \cite sklum + */ class PointsToMatrixTransform : public UntrainableTransform { Q_OBJECT @@ -459,6 +464,11 @@ class PointsToMatrixTransform : public UntrainableTransform BR_REGISTER(Transform, PointsToMatrixTransform) +/*! + * \ingroup transforms + * \brief Normalize points to be relative to a single point + * \author Scott Klum \cite sklum + */ class NormalizePointsTransform : public UntrainableTransform { Q_OBJECT @@ -474,8 +484,6 @@ class NormalizePointsTransform : public UntrainableTransform QPointF normPoint = points.at(index); QList normalizedPoints; - // We have nose and two eyes and I want a feature vector like: - // (nose.x-right_eye.x,nose.y-right_eye.y),(nose.x-left_eye.x,nose.y-left_eye.y),(0,0) because we're centering on the nose for (int i=0; i