Face detection result batch interface.
More...
#include <IFaceDetectionBatch.h>
Face detection result batch interface.
virtual Span<const Detection> fsdk::IFaceDetectionBatch::getDetections |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns detection Span.
- Note
- Result Span could be empty in two cases:
- If no any faces were detected on the target image.
- If detection request didn't contain the DT_BOX flag.
- See Also
- fsdk::DetectionType
virtual Face fsdk::IFaceDetectionBatch::getFace |
( |
const fsdk::Image & |
img, |
|
|
size_t |
imageIndex, |
|
|
size_t |
detectionIndex |
|
) |
| const |
|
pure virtualnoexcept |
Returns detected face.
- Parameters
-
[in] | imageIndex | - index of the image |
[in] | detectionIndex | - index of the detection |
- Returns
- Detected face.
- Note
- Result Face could be invalid if no any faces were detected on the target image or parameters are invalid.
virtual Span<const Landmarks5> fsdk::IFaceDetectionBatch::getLandmarks5 |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns Landmarks5 Span.
- Note
- Result Span could be empty in two cases:
- If no any faces were detected on the target image.
- If detection request didn't contain the DT_LANDMARKS5 flag.
- See Also
- fsdk::DetectionType
virtual Span<const Landmarks68> fsdk::IFaceDetectionBatch::getLandmarks68 |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns Landmarks68 Span.
- Note
- Result Span could be empty in two cases:
- If no any faces were detected on the target image.
- If detection request didn't contain the DT_LANDMARKS68 flag.
- See Also
- fsdk::DetectionType
The documentation for this struct was generated from the following file: