#import <NvsHumanDetectionHandle.h>
◆ detect:pixelFormat:imageWidth:imageHeight:imageStride:orientation:config:
- (NvsHumanFeature*) detect: |
|
(void *) |
imageBuffer |
pixelFormat: |
|
(int) |
pixelFormat |
imageWidth: |
|
(int) |
imageWidth |
imageHeight: |
|
(int) |
imageHeight |
imageStride: |
|
(int) |
imageStride |
orientation: |
|
(int) |
orientation |
config: |
|
(NvsDetectionConfig *) |
config |
|
|
| |
Detect human features.
- Parameters
-
imageBuffer | Buffer where image is stored. |
pixelFormat | Pixel format, please refer to [HUMAN_DETECTION_VIDEO_FRAME_PIXEL_FORMAT]. |
imageWidth | Image width. |
imageHeight | Image height. |
imageStride | Image stride in bytes. |
orientation | Head orientation, the angle the image needs to be rotated clockwise to make sure the head is upward. |
config | Features needs to be detected, please refer to [HUMAN_DETECTION_DETECTION_CONFIG]. |
- Returns
- Returns features detected.
- Since
- 2.17.2
◆ setDetectionBooleanParam:value:
- (void) setDetectionBooleanParam: |
|
(int) |
param |
value: |
|
(BOOL) |
value |
|
|
| |
Set boolean parameter value.
- Parameters
-
param | Parameter needs to be set, please refer to [HUMAN_DETECTION_BOOLEAN_PARAM]. |
value | Value set to the param. |
- Since
- 2.17.2
◆ setDetectionFloatParam:value:
- (void) setDetectionFloatParam: |
|
(int) |
param |
value: |
|
(float) |
value |
|
|
| |
Set float parameter value.
- Parameters
-
param | Parameter needs to be set, please refer to [HUMAN_DETECTION_FLOAT_PARAM]. |
value | Value set to the param. |
- Since
- 2.17.2
◆ setDetectionIntegerParam:value:
- (void) setDetectionIntegerParam: |
|
(int) |
param |
value: |
|
(int) |
value |
|
|
| |
Set integer parameter value.
- Parameters
-
param | Parameter needs to be set, please refer to [HUMAN_DETECTION_INTEGER_PARAM]. |
value | Value set to the param. |
- Since
- 2.17.2
◆ humanDetectHandle
- (int64_t) humanDetectHandle |
|
readwritenonatomicassign |
The documentation for this class was generated from the following file: