Human detection result batch interface.
More...
#include <IHumanDetectionBatch.h>
Human detection result batch interface.
virtual Span<const Detection> fsdk::IHumanDetectionBatch::getDetections |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns detection Span.
- Parameters
-
[in] | index | index of the detections Span. |
- Returns
- Span of detections.
- See Also
- Span and Detection for details.
- Note
- all spans should be based on user owned continuous collections.
-
Result Span could be empty in two cases:
- If no humans were detected in the target image.
- If detection request didn't contain the DCT_BOX flag.
- See Also
- HumanDetectionType.
virtual Human fsdk::IHumanDetectionBatch::getHuman |
( |
const Image & |
image, |
|
|
size_t |
imageIndex, |
|
|
size_t |
detectionIndex |
|
) |
| const |
|
pure virtualnoexcept |
Returns detected Human.
- Parameters
-
[in] | image | source image. |
[in] | imageIndex | index of the image. |
[in] | detectionIndex | index of the detection. |
- Returns
- Detected Human.
- See Also
- Human and Image for details.
- Note
- image format must be R8G8B8,
- See Also
- Format.
- Note
- Result Human could be invalid if no humans were detected on the target image or parameters are invalid.
virtual Span<const HumanLandmarks17> fsdk::IHumanDetectionBatch::getLandmarks17 |
( |
size_t |
index = 0 | ) |
const |
|
pure virtualnoexcept |
Returns HumanLandmarks17 Span.
- Parameters
-
[in] | index | index of the HumanLandmarks17 Span. |
- Returns
- Span of HumanLandmarks17.
- Note
- all spans should be based on user owned continuous collections.
- See Also
- Span and HumanLandmarks17 for details.
- Note
- Result Span could be empty in two cases:
- If no humans were detected in the target image.
- If detection request didn't contain the DCT_POINTS flag.
- See Also
- HumanDetectionType.
virtual size_t fsdk::IHumanDetectionBatch::getSize |
( |
size_t |
imageIndex | ) |
const |
|
pure virtualnoexcept |
Returns size of the results for the target index.
- Parameters
-
[in] | imageIndex | index of the image. |
The documentation for this struct was generated from the following file: