Commit 7e8fca15e38efd580363f3520e2d8ee37b100dda
1 parent
6e3fbc5c
Cleanup
Showing
1 changed file
with
12 additions
and
2 deletions
openbr/plugins/classification/dlib.cpp
| @@ -16,6 +16,11 @@ using namespace dlib; | @@ -16,6 +16,11 @@ using namespace dlib; | ||
| 16 | namespace br | 16 | namespace br |
| 17 | { | 17 | { |
| 18 | 18 | ||
| 19 | +/*! | ||
| 20 | + * \ingroup transforms | ||
| 21 | + * \brief Wrapper to dlib's landmarker. | ||
| 22 | + * \author Scott Klum \cite sklum | ||
| 23 | + */ | ||
| 19 | class DLibShapeResourceMaker : public ResourceMaker<shape_predictor> | 24 | class DLibShapeResourceMaker : public ResourceMaker<shape_predictor> |
| 20 | { | 25 | { |
| 21 | 26 | ||
| @@ -66,7 +71,12 @@ private: | @@ -66,7 +71,12 @@ private: | ||
| 66 | 71 | ||
| 67 | BR_REGISTER(Transform, DLandmarkerTransform) | 72 | BR_REGISTER(Transform, DLandmarkerTransform) |
| 68 | 73 | ||
| 69 | -class DObjectDetectTransform : public Transform | 74 | +/*! |
| 75 | + * \ingroup transforms | ||
| 76 | + * \brief Wrapper to dlib's trainable object detector. | ||
| 77 | + * \author Scott Klum \cite sklum | ||
| 78 | + */ | ||
| 79 | +class DObjectDetectorTransform : public Transform | ||
| 70 | { | 80 | { |
| 71 | Q_OBJECT | 81 | Q_OBJECT |
| 72 | 82 | ||
| @@ -169,7 +179,7 @@ private: | @@ -169,7 +179,7 @@ private: | ||
| 169 | } | 179 | } |
| 170 | }; | 180 | }; |
| 171 | 181 | ||
| 172 | -BR_REGISTER(Transform, DObjectDetectTransform) | 182 | +BR_REGISTER(Transform, DObjectDetectorTransform) |
| 173 | 183 | ||
| 174 | } // namespace br | 184 | } // namespace br |
| 175 | 185 |