MeiCam SDK For iOS  3.6.1
Instance Methods | Properties | List of all members
NvsHumanDetectionHandle Class Reference

#import <NvsHumanDetectionHandle.h>

Inheritance diagram for NvsHumanDetectionHandle:

Instance Methods

(void) - setDetectionIntegerParam:value:
 Set integer parameter value. More...
 
(void) - setDetectionFloatParam:value:
 Set float parameter value. More...
 
(void) - setDetectionBooleanParam:value:
 Set boolean parameter value. More...
 
(NvsHumanFeature *) - detect:pixelFormat:imageWidth:imageHeight:imageStride:orientation:config:
 Detect human features. More...
 

Properties

int64_t humanDetectHandle
 

Method Documentation

◆ 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
imageBufferBuffer where image is stored.
pixelFormatPixel format, please refer to [HUMAN_DETECTION_VIDEO_FRAME_PIXEL_FORMAT].
imageWidthImage width.
imageHeightImage height.
imageStrideImage stride in bytes.
orientationHead orientation, the angle the image needs to be rotated clockwise to make sure the head is upward.
configFeatures 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
paramParameter needs to be set, please refer to [HUMAN_DETECTION_BOOLEAN_PARAM].
valueValue set to the param.
Since
2.17.2

◆ setDetectionFloatParam:value:

- (void) setDetectionFloatParam: (int)  param
value: (float)  value 

Set float parameter value.

Parameters
paramParameter needs to be set, please refer to [HUMAN_DETECTION_FLOAT_PARAM].
valueValue set to the param.
Since
2.17.2

◆ setDetectionIntegerParam:value:

- (void) setDetectionIntegerParam: (int)  param
value: (int)  value 

Set integer parameter value.

Parameters
paramParameter needs to be set, please refer to [HUMAN_DETECTION_INTEGER_PARAM].
valueValue set to the param.
Since
2.17.2

Property Documentation

◆ humanDetectHandle

- (int64_t) humanDetectHandle
readwritenonatomicassign

The documentation for this class was generated from the following file: