Created
October 9, 2020 23:28
-
-
Save cyrusbehr/64679f00cfc4bf494676323d47facd07 to your computer and use it in GitHub Desktop.
Sample doxygen syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct FaceBoxAndLandmarks { | |
| /** The top left corner of the bounding box */ | |
| Point topLeft; | |
| /** The bottom right corner of the bounding box */ | |
| Point bottomRight; | |
| /** The facial landmark points: left eye, right eye, nose, left mouth corner, right mouth corner */ | |
| std::array<Point, 5> landmarks; | |
| }; | |
| /** | |
| * | |
| * Detect all the faces in an image and return the corresponding face bounding boxes and landmarks | |
| * | |
| * @param[in] imgPath path to the image which will be used for face detection. | |
| * @param[out] faceDetected indicates if one or more faces were detected in the image. | |
| * @param[out] fbAndLandmarksVec the resulting bounding boxes and landmarks for the detected faces. | |
| * @return error code, see ErrorCode | |
| */ | |
| ErrorCode getFaceBoxAndLandmarks(const std::string& imgPath, bool& faceDetected, std::vector<FaceBoxAndLandmarks>& fbAndLandmarksVec); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment