HumanFace result batch interface.
More...
#include <IHumanFaceBatch.h>
HumanFace result batch interface.
Returns human and face associations Span. Each element of this Span is a pair of indexes from corresponding human and face detections Spans.
- Parameters
-
[in] | index | index of the element of batch. |
- Returns
- span of face detections coordinates in corresponding source images space.
- See Also
- HumanFaceAssociation for details.
- Note
- This span is based on internal memory and should not be freed by caller.
-
Span could be empty if no any associations were detected on the target image or index is incorrect. To check index use getSize() method.
virtual Span<const Detection> fsdk::IHumanFaceBatch::getFaceDetections |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns face detections Span.
- Parameters
-
[in] | index | index of the element of batch. |
- Returns
- span of face detections coordinates in corresponding source images space.
- See Also
- Span and Detection for details.
- Note
- This span is based on internal memory and should not be freed by caller.
-
Span could be empty if no any faces were detected on the target image or index is incorrect. To check index use getSize() method.
virtual Span<const Detection> fsdk::IHumanFaceBatch::getHumanDetections |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns human detections Span.
- Parameters
-
[in] | index | index of the element of batch. |
- Returns
- span of face detections coordinates in corresponding source images space.
- See Also
- Span and Detection for details.
- Note
- This span is based on internal memory and should not be freed by caller.
-
Span could be empty if no any humans were detected on the target image or index is incorrect. To check index use getSize() method.
virtual size_t fsdk::IHumanFaceBatch::getSize |
( |
| ) |
const |
|
pure virtualnoexcept |
Returns size.
- Returns
- size of the batch.
The documentation for this struct was generated from the following file: