Crowd estimator interface.
More...
#include <ICrowdEstimator.h>
Crowd estimator interface.
- Note
- This estimator is designed to work with an image or with a batch of images. Crowd estimator returns the number and center coordinates of people heads on the image.
- See also
- CrowdEstimation for output details.
◆ EstimationRequest
EstimationRequest lists all possible estimation types that ICrowdEstimator can estimate.
Enumerator |
---|
estimateHeadCount | Get number of peoples (heads)
|
estimateHeadCountAndCoords | Get number of people (heads) and head coordinates.
|
◆ estimate() [1/2]
Estimates the crowd on the target image.
- Parameters
-
[in] | image | source image. Format must be R8G8B8. |
[in] | rect | rectangle of interest in the image. |
[out] | estimation | estimation of crowd. |
[in] | request | EstimationRequest structure. |
- See also
- CrowdEstimation for details
- Returns
- Result with error code.
- See also
- CrowdEstimation, Image, Rect, Result and FSDKError for details.
◆ estimate() [2/2]
Estimates the the crowd on multiple images in a single estimate function call.
- Parameters
-
[in] | images | span of source images. Format must be R8G8B8. |
[in] | rects | input rectangles of interest (ROI) span. |
[out] | estimations | output CrowdEstimation span. |
[in] | request | EstimationRequest structure. |
- See also
- CrowdEstimation for details
- Returns
- Result with error code.
- See also
- Span, CrowdEstimation, Image, Rect, Result and FSDKError for details.
- Note
- images format must be R8G8B8,
- See also
- Format.
- Note
- all spans should be based on user owned continuous collections.
-
all spans should be equal size.
◆ getType()
◆ validate()
Validate input of multiple frames in a single function call.
- Parameters
-
[in] | images | span of source images. |
[in] | rects | span of rectangle coordinates of corresponding source images. |
[out] | errors | output span of errors for each image. |
[in] | request | EstimationRequest structure. |
- Returns
- Result with error code.
- See also
- Span, Image, Rect, Result and FSDKError for details.
- Note
- images format must be R8G8B8,
- See also
- Format.
- Note
- all spans should be based on user owned continuous collections.
-
all spans should be equal size.
The documentation for this struct was generated from the following file: