Properties for the AR SDK Features#
This section provides the properties and their values for the features in the AR SDK.
Face Tracking Property Values#
The following tables list the values for the configuration, input, and output properties for face tracking.
Table 3‑1: Configuration Properties for Face Tracking
Property Name |
Value |
|---|---|
FeatureDescription |
String is free-form text that describes the feature. The string is set by the SDK and cannot be modified by the user. |
CUDAStream |
The CUDA stream, which is set by the user. |
ModelDir |
String that contains the path to the folder that contains the TensorRT package files. Set by the user. |
ModelCacheDir |
(Windows on Arm only, such as RTX Spark)
Optional string path to the model runtime
cache directory. Empty or unset selects
Set by the user before |
ModelCacheMode |
(Windows on Arm only, such as RTX Spark)
Optional unsigned integer that controls
the model runtime cache:
Set by the user before |
Temporal |
Unsigned integer to enable (1) or disable (0) the temporal optimization of face detection. If enabled, only one face is returned. For more information, refer to Face Detection and Tracking. Set by the user. |
Table 3‑2: Input Properties for Face Tracking
Property Name |
Value |
|---|---|
Image |
Interleaved (or chunky) 8-bit BGR input
image in a CUDA buffer of type To be allocated and set by the user. |
Table 3‑3: Output Properties for Face Tracking
Property Name |
Value |
|---|---|
BoundingBoxes |
To be allocated by the user. |
BoundingBoxesConfidence |
Optional: An array of single-precision (32-bit) floating-point numbers that contain the confidence values for each detected face box. To be allocated by the user. |
Landmark Tracking Property Values#
The following tables list the values for the configuration, input, and output properties for landmark tracking.
Table 3‑4: Configuration Properties for Landmark Tracking
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. |
CUDAStream |
The CUDA stream. Set by the user. |
ModelDir |
String that contains the path to the folder that contains the TensorRT package files. Set by the user. |
ModelCacheDir |
(Windows on Arm only, such as RTX Spark)
Optional string path to the model runtime
cache directory. Empty or unset selects
Set by the user before |
ModelCacheMode |
(Windows on Arm only, such as RTX Spark)
Optional unsigned integer that controls
the model runtime cache:
Set by the user before |
BatchSize |
The number of inferences to be run at one
time on the GPU.
The maximum value is 8.
Temporal optimization of landmark detection
is supported only for |
Landmarks_Size |
Unsigned integer, 68 or 126. Specifies the number of landmark points (x and y values) to be returned. Set by the user. |
LandmarksConfidence_Size |
Unsigned integer, 68 or 126. Specifies the number of landmark confidence values for the detected keypoints to be returned. Set by the user. |
Temporal |
Unsigned integer to enable (1) or disable (0) the temporal optimization of landmark detection. If enabled, only one input bounding box is supported as the input. For more information, refer to Face Detection and Tracking. Set by the user. |
Mode |
Optional: Unsigned integer. Set 0 to enable Performance mode (default) or 1 to enable Quality mode for landmark detection. Set by the user. |
Table 3‑5: Input Properties for Landmark Tracking
Property Name |
Value |
|---|---|
Image |
Interleaved (or chunky) 8-bit BGR input
image in a CUDA buffer of type To be allocated and set by the user. |
BoundingBoxes |
Optional: If not specified as an input property, face detection is automatically run on the input image. For more information, refer to Face Detection and Tracking. To be allocated by the user. |
Table 3‑6: Output Properties for Landmark Tracking
Property Name |
Value |
|---|---|
Landmarks |
To be allocated by the user. |
Pose |
Optional: The OpenGL standards coordinate convention is used: When you look up from a camera, the coordinates are x (camera right), y (camera up), and z (toward camera). To be allocated by the user. |
LandmarksConfidence |
Optional: An array of single-precision (32-bit) floating-point numbers, which must be large enough to hold the number of confidence values given by the product of the following:
To be allocated by the user. |
BoundingBoxes |
Optional: To be allocated by the user. |
Eye Contact Property Values#
The following tables list the values for the configuration, input, and output properties for gaze redirection.
Table 3‑7: Configuration Properties for Eye Contact
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. |
ModelDir |
String that contains the path to the folder that contains the TensorRT package files. Set by the user. |
ModelCacheDir |
(Windows on Arm only, such as RTX Spark)
Optional string path to the model runtime
cache directory. Empty or unset selects
Set by the user before |
ModelCacheMode |
(Windows on Arm only, such as RTX Spark)
Optional unsigned integer that controls
the model runtime cache:
Set by the user before |
BatchSize |
The number of inferences to be run at one time on the GPU. The maximum value is 1. |
Landmarks_Size |
Unsigned integer, either 68 or 126. Specifies the number of landmark points (x and y values) to be returned. Set by the user. |
LandmarksConfidence_Size |
Unsigned integer, either 68 or 126. Specifies the number of landmark confidence values for the detected keypoints to be returned. Set by the user. |
GazeRedirect |
Flag to enable or disable gaze redirection. When enabled, the gaze is estimated, and the redirected image is set as the output. When disabled, the gaze is estimated but redirection does not occur. |
Temporal |
Unsigned integer to enable (1) or disable (0) the temporal optimization of landmark detection. Set by the user. |
DetectClosure |
Flag to toggle the detection of eye closure and occlusion. The default value is On. |
EyeSizeSensitivity |
An unsigned integer in the range 2–5, inclusive, that is used to increase the sensitivity of the algorithm to the redirected eye size. A value of 2 uses a smaller eye region, and a value of 5 uses a larger eye size. |
UseCudaGraph |
Bool. Default is False. Flag to use CUDA Graphs for optimization. Recommended on Windows on Arm (for example, RTX Spark) for better steady-state performance. Set by the user. |
EnableLookAway |
Bool. Default is false. Flag that, when set to true, redirects the eyes to look away at a random time for a random period. The eyes follow the relative changes in estimated gaze during the lookaway period. Set by the user. |
LookAwayOffsetMax |
Unsigned int value in the range 0–10. Default is 5. If the value is set to x degrees, a randomly chosen offset angle in the range −*x* to x in degrees will be added to the lookaway angle during the random lookaway period. The lookaway angle is based on the relative motion of the eyes in the input image during the lookaway period. It is not used outside the lookaway period. Set by the user. |
LookAwayIntervalMin |
Unsigned int value in the range 1–600. Default is 100. Minimum limit for the number of frames at which
random look away occurs. This value is
applicable only when The value can be optionally set by the user. |
LookAwayIntervalRange |
Unsigned int value in the range 1–600. Default is 250. Interval range for picking the number of frames
at which random lookaway occurs. Adding this
range to The value can be optionally set by the user. |
GazePitchThresholdLow |
Float value in the range of 10.0–35.0 (degrees). Default is 20.0. This is a range control parameter. It defines the threshold for estimated gaze angle in the pitch direction within which gaze is always redirected towards the camera. Beyond this angle, the redirected gaze transitions away from the camera and towards the estimated gaze angle. This value is optionally set by the user. |
GazeYawThresholdLow |
Float value in the range of 10.0–35.0 (degrees). Default is 20.0. This is a range control parameter. It defines the threshold for estimated gaze angle in the yaw direction within which gaze is always redirected towards the camera. Beyond this angle, the redirected gaze transitions away from the camera and towards the estimated gaze angle. This value is optionally set by the user. |
HeadPitchThresholdLow |
Float value in the range of 10.0–35.0 (degrees). Default is 15.0. This is a range control parameter. It defines the threshold for estimated head pose angle in the pitch direction within which gaze is always redirected towards the camera. Beyond this angle, the redirected gaze transitions away from the camera and towards the estimated gaze angle. This value is optionally set by the user. |
HeadYawThresholdLow |
Float value in the range of 10.0–35.0 (degrees). Default is 25.0. This is a range control parameter. It defines the threshold for estimated head pose angle in the yaw direction within which gaze is always redirected towards the camera. Beyond this angle, the redirected gaze transitions away from the camera and towards the estimated gaze angle. This value is optionally set by the user. |
GazePitchThresholdHigh |
Float value in the range of 10.0–35.0 (degrees). Default is 30.0. This is a range control parameter. It defines
the threshold for estimated gaze angle in the
pitch direction beyond which no redirection
occurs and the angle of redirected gaze is equal
to the estimated gaze. The redirected gaze in
the pitch direction increasingly moves away from
the camera and towards the estimated gaze beyond
This value is optionally set by the user. |
GazeYawThresholdHigh |
Float value in the range of 10.0–35.0 (degrees). Default is 30.0. This is a range control parameter. It defines
the threshold for estimated gaze angle in the
yaw direction beyond which no redirection occurs
and the angle of redirected gaze is equal to the
estimated gaze. The redirected gaze in the yaw
direction increasingly moves away from the
camera and towards the estimated gaze beyond
This value is optionally set by the user. |
HeadPitchThresholdHigh |
Float value in the range of 10.0-35.0 (degrees). Default value 25.0. This is a range control parameter. It defines
the threshold for estimated head pose angle in
the pitch direction beyond which no redirection
occurs and the angle of redirected gaze is equal
to the estimated gaze. The redirected gaze in
the pitch direction increasingly moves away from
the camera and towards the estimated gaze beyond
This value is optionally set by the user. |
HeadYawThresholdHigh |
Float value in the range of 10.0-35.0 (degrees). Default value 30.0. This is a range control parameter. It defines
the threshold for estimated head pose angle in
the yaw direction beyond which no redirection
occurs and the angle of redirected gaze is equal
to the estimated gaze. The redirected gaze in
the yaw direction increasingly moves away from
the camera and towards the estimated gaze beyond
This value is optionally set by the user. |
MultiPerson |
Unsigned int value of 0 or 1. Default is 0. Set to 1 to redirect the gaze of every detected face, up to eight faces per video stream. Set to 0 to redirect the gaze of a single face. This value is optionally set by the user. |
Table 3‑8: Input Properties for Eye Contact
Property Name |
Value |
|---|---|
Image |
Interleaved (or chunky) 8-bit BGR input image in
a CUDA buffer of type To be allocated and set by the user. |
Width |
The width of the input image buffer that contains the face to which the face model will be fitted. Set by the user. |
Height |
The height of the input image buffer that contains the face to which the face model will be fitted. Set by the user. |
Landmarks |
Optional: An If landmarks are not provided to this feature, an input image must be provided. To be allocated by the user. |
Table 3‑9: Output Properties for Eye Contact
Property Name |
Value |
|---|---|
Landmarks |
To be allocated by the user. |
HeadPose |
Optional: The OpenGL standards coordinate convention is used: When you look up from a camera, the coordinates are x (camera right), y (camera up), and z (toward the camera). To be allocated by the user. |
LandmarksConfidence |
Optional: An array of single-precision (32-bit) floating-point numbers, which must be large enough to hold the number of confidence values given by the product of the following:
To be allocated by the user. |
BoundingBoxes |
Optional: To be allocated by the user. |
OutputGazeVector |
Float array, which must be large enough to hold the
two values (pitch and yaw) for the gaze angle in
radians per image. For batch sizes larger than 1, it
should hold To be allocated by the user. |
OutputHeadTranslation |
Optional: Float array, which must be large enough to
hold the head translations (x,y,z) per image. For
batch sizes larger than 1, it should hold
To be allocated by the user. |
GazeDirection |
Optional: Each element contains two To be allocated by the user. |
Body Detection Property Values#
The following tables list the configuration, input, and output property values for Body Detection.
Table 3‑10: Configuration Properties for Body Detection
Property Name |
Value |
|---|---|
FeatureDescription |
String is free-form text that describes the feature. The string is set by the SDK and cannot be modified by the user. |
CUDAStream |
The CUDA stream, which is set by the user. |
ModelDir |
String that contains the path to the folder that contains the TensorRT package files. Set by the user. |
ModelCacheDir |
(Windows on Arm only, such as RTX
Spark) Optional string path to the model
runtime cache directory. Empty or unset
selects Set by the user before |
ModelCacheMode |
(Windows on Arm only, such as RTX
Spark) Optional unsigned integer that
controls the model runtime cache:
Set by the user before |
Temporal |
Unsigned integer to enable (1) or disable (0) the temporal optimization of body detection. Set by the user. |
FullBodyOnly |
Unsigned integer to select the estimation mode:
Set by the user. |
Table 3‑11: Input Properties for Body Detection
Property Name |
Value |
|---|---|
Image |
Interleaved (or chunky) 8-bit BGR input
image in a CUDA buffer of type
To be allocated and set by the user. |
Table 3‑12: Output Properties for Body Detection
Property Name |
Value |
|---|---|
BoundingBoxes |
To be allocated by the user. |
BoundingBoxesConfidence |
Optional: An array of single-precision (32-bit) floating-point numbers that contain the confidence values for each detected body box. To be allocated by the user. |
Legacy 3D Body Pose Keypoint Tracking Property Values#
The following tables list the configuration, input, and output property values for the legacy 3D Body Pose Keypoint Tracking feature.
Table 3‑13: Configuration Properties for Legacy 3D Body Pose Keypoint Tracking
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. |
CUDAStream |
The CUDA stream. Set by the user. |
ModelDir |
String that contains the path to the folder that contains the TensorRT package files. Set by the user. |
BatchSize |
The number of inferences to be run at one time on the GPU. The maximum value is 1. |
Mode |
Unsigned integer that specifies the mode: High Performance (1) or High Quality (0). Default is 1. Set by the user. |
UseCudaGraph |
Boolean to enable (true) or disable (false) the use of CUDA Graphs for optimization. Set by the user. |
Temporal |
Unsigned integer to enable (1) or disable (0) the temporal optimization of Body Pose tracking. Set by the user. |
NumKeyPoints |
Unsigned integer that specifies the number of keypoints available, which is currently 34. |
ReferencePose |
Set by the user. |
FullBodyOnly |
Unsigned integer to select the pose estimation mode:
The default is 1. Set by the user. |
PostprocessJointAngle |
Boolean to enable (true) or disable (false)
the postprocessing steps for joint angles
corresponding to the joints predicted with
low confidence. To be used only when
We recommend that you set this to true when input is upper-body image or video. The default is true. Set by the user. |
TargetSeatedPoseForInterpolation |
For the joints that are predicted with low confidence, the output pose will be interpolated to the corresponding pose specified in this target pose. This array is used when the SDK detects that the person in the input frame is in a seated pose. Used only when |
TargetStandPoseForInterpolation |
For the joints that are predicted with low confidence, the output pose will be interpolated to the corresponding pose specified in this target pose. This array is used when the SDK detects that the person in the input frame is in a standing pose. Used only when |
TrackPeople |
Unsigned integer to enable (1) or disable (0) multi-person tracking in Body Pose. Set by the user. |
ShadowTrackingAge |
Unsigned integer that specifies the age (in number of frames) after which the multi-person tracker stops tracking the object in shadow mode. The default is 90. Set by the user. |
ProbationAge |
Unsigned integer that specifies the age (in number of frames) after which the multi-person tracker marks the object valid and assigns an ID for tracking. The default is 10. Set by the user. |
MaxTargetsTracked |
Unsigned integer that specifies the maximum number of targets to be tracked by the multi-person tracker. After the tracking is complete, the new targets are discarded. The default is 30. Set by the user. |
Table 3‑14: Input Properties for Legacy 3D Body Pose Keypoint Tracking
Property Name |
Value |
|---|---|
Image |
Interleaved (or chunky) 8-bit BGR input
image in a CUDA buffer of type
To be allocated and set by the user. |
FocalLength |
Float value that specifies the focal length of the camera to be used for 3D Body Pose. The default value is 800.79041. To be allocated and set by the user. |
BoundingBoxes |
Optional: If not specified as an input property, body detection is automatically run on the input image. To be allocated by the user. |
Table 3‑15: Output Properties for Legacy 3D Body Pose Keypoint Tracking
Property Name |
Value |
|---|---|
Keypoints |
To be allocated by the user. |
Keypoints3D |
To be allocated by the user. |
JointAngles |
Each value represents the local rotation
of one joint relative to
To be allocated by the user. |
KeyPointsConfidence |
An array of single-precision (32-bit)
floating-point numbers, which must be
large enough to hold the number of
confidence values given by the product of
To be allocated by the user. |
BoundingBoxes |
To be allocated by the user. |
TrackingBoundingBoxes |
To be allocated by the user. |
3D Body Pose Estimation Property Values#
The following tables list the configuration, input, and output properties for 3D Body Pose Estimation.
Configuration Properties for 3D Body Pose Estimation
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. |
CUDAStream |
CUDA stream used to run the feature. Set
before |
ModelDir |
Path to the folder that contains the
TensorRT package files. Set before
|
Mode |
Unsigned integer mode selector.
|
MaxBoxesPerFrame |
Read-only unsigned integer that reports the maximum number of tracked bodies that are accepted per frame. |
NumKeyPoints |
Read-only unsigned integer that reports
the number of public keypoints per body.
The current value is |
EnableContact |
Unsigned integer that enables contact
correction and contact-driven inverse
kinematics (IK) in 3D mode. |
Input Properties for 3D Body Pose Estimation
Property Name |
Value |
|---|---|
Image |
Interleaved or chunky 8-bit BGR input
image in a CUDA buffer of type
|
TrackingBoundingBoxes |
|
FocalLength |
Optional focal length in pixels. If
this property is unset or set to |
Flush |
Unsigned integer stream-drain control.
|
Output Properties for 3D Body Pose Estimation
Property Name |
Value |
|---|---|
Ready |
Read-only unsigned integer. |
StreamFlushed |
Read-only unsigned integer. |
NumBodies |
Read-only unsigned integer that reports the number of valid output bodies in the output frame that is ready. |
TrackingBoundingBoxes |
|
KeyPoints |
|
KeyPointsConfidence |
Single-precision confidence array.
Allocate at least |
KeyPoints3D |
|
RestPose |
|
RootPose |
|
JointRotations |
|
JointAngles |
Compatibility alias for
|
Facial Expression Estimation Property Values#
The following tables list the values for the configuration, input, and output properties for Facial Expression Estimation.
Table 3‑16: Configuration Properties for Facial Expression Estimation
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. This property is read-only. |
ModelDir |
String that contains the path to the face model and the TensorRT package files. Set by the user. |
ModelCacheDir |
(Windows on Arm only, such as
RTX Spark) Optional string path to the
model runtime cache directory. Empty or
unset selects Set by the user before |
ModelCacheMode |
(Windows on Arm only, such as
RTX Spark) Optional unsigned integer
that controls the model runtime cache:
Set by the user before |
CUDAStream |
Optional: The CUDA stream. Set by the user. |
Temporal |
Optional: Bitfield to control temporal filtering.
Default is 0x037 (all on except 0x100). Set by the user. |
Landmarks_Size |
Unsigned integer, 68 or 126. Required array size of detected facial landmark points. Length of array must be 126, to accommodate {x,y} location of each of the detected points. |
ExpressionCount |
Unsigned integer. The number of expressions in the face model. |
PoseMode |
Specifies how to compute pose. 0 = 3DOF (default), 1 = 6DOF explicit. 6DOF is required for 3D translation output. |
Mode |
Flag to toggle landmark mode. Set 0 to enable Performance model for landmark detection. Set 1 to enable Quality model for landmark detection for higher accuracy. Default is 1. |
EnableCheekPuff |
(Experimental) Enables cheek puff blendshapes. |
Table 3‑17: Input Properties for Facial Expression Estimation
Property Name |
Value |
|---|---|
Landmarks |
Optional: An If landmarks are not provided to this feature, an input image must be provided. To be allocated by the user. |
Image |
Optional: An interleaved (or chunky) 8-bit
BGR input image in a CUDA buffer of type
If an input image is not provided as input, the landmark points must be provided to this feature as input. To be allocated by the user. |
CameraIntrinsicParams |
Optional: Camera intrinsic parameters.
A three-element float array with elements
corresponding to focal length, cx, and cy,
respectively, of an ideal perspective
camera. Any barrel or fisheye distortion
should be removed or considered
negligible. Used only if |
Table 3‑18: Output Properties for Facial Expression Estimation
Property Name |
Value |
|---|---|
Landmarks |
Optional: An |
Pose |
Optional: To be allocated by the user. |
PoseTranslation |
Optional: To be allocated by the user. |
LandmarksConfidence |
Optional: An array of single-precision (32-bit)
floating-point numbers, which must be large enough
to hold the number of confidence values of size
To be allocated by the user. |
BoundingBoxes |
Optional: To be allocated by the user. |
BoundingBoxesConfidence |
Optional: An array of single-precision (32-bit)
floating-point numbers, which must be large enough
to hold the number of confidence values of size
To be allocated by the user. |
ExpressionCoefficients |
The array into which the expression coefficients will be placed, if desired. Query To be allocated by the user. The corresponding expression shapes are in the following order:
|
LipSync Property Values#
The following tables list the values for the configuration, input, and output properties for LipSync.
Table 3‑19: Configuration Properties for LipSync
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. This property is read-only. |
ModelDir |
String that contains the path to the face model and the TensorRT package files. Set by the user. |
Language |
Unsigned 32-bit value that selects which
language-specific LipSync TensorRT model
is loaded from
Set this parameter before calling
Set by the user. |
CUDAStream |
Optional: The CUDA stream. Set by the user. |
VideoFPS |
The video frame rate in frames per second. Set by the user. |
SampleRate |
The sample rate for the audio input. The feature supports 16-kHz audio only. This property is read-only. |
NumChannels |
The number of channels for the audio input. The feature supports mono channel audio only. This property is read-only. |
NumInitialFrames |
The number of initial audio frames
before the first image can be generated.
You need to provide The default value is 14. This property is read-only. |
Table 3‑20: Input Properties for LipSync
Property Name |
Value |
|---|---|
Image |
Chunky/packed CUDA buffer. Supported formats: BGR-U8, BGR-U16, BGRA-U16, RGBA-U16. The component type (U8 or U16) must match between the input and output images. Requirements:
|
AudioFrameBuffer |
Raw audio frame buffer in CPU ranging from –1.0 to 1.0, inclusive. When the LipSync feature is run, it assumes that the contents of the audio frame buffer are synchronized with the current input video frame. The length of the audio frame should approximately match the duration of the video frame. The caller can vary the length of each audio frame to maintain synchronization. Audio requirements:
|
LipSyncRegionData |
Optional: An When not set (nullptr), the feature operates in single full-frame region mode. Attention
|
HeadMovementSpeed |
Optional: Speed of head movement in the input video.
Default: 0. Set by the user. |
Table 3‑21: Output Properties for LipSync
Property Name |
Value |
|---|---|
Image |
Chunky/packed CUDA buffer. Supported formats: BGR-U8, BGR-U16, BGRA-U16, RGBA-U16. The component type must match the input image. |
Ready |
Flag that is set to a non-zero value when the first output video frame is generated. |
Activation |
An The The |
Active Speaker Detection Property Values#
The following tables list the values for the configuration, input, and output properties for Active Speaker Detection.
Table 3‑22: Configuration Properties for Active Speaker Detection
Property Name |
Value |
|---|---|
FeatureDescription |
String that describes the feature. This property is read-only. |
ModelDir |
String that contains the path to the TensorRT model files. Set by the user. |
CUDAStream |
Optional: The CUDA stream. Set by the user. |
VideoFPS |
Video frames per second. Must be in the range (0.0, 120.0]. Default: 30.0. |
NumAudioStreams |
Number of audio tracks to process. Must be in the range [1, 30]. Default: 1. |
SampleRate |
Audio sample rate in Hz. Must be in the range (0, 96000]. Default: 44100. |
SyncTolerance |
Minimum audio-visual sync score in the range (0, 1) to consider a face as speaking. Higher values require stronger sync evidence. Set by the user. |
MaxNumOutputIdentities |
Maximum number of output identities that can be tracked simultaneously. This property is read-only. Default: 30. |
MaxSyncFaces |
Maximum number of tracked faces to evaluate with sync discrimination on each firing.
Default: 0. |
Flags |
Flag bits for shot-change handling and active-audio filtering behavior. Set by the user. |
The following Flags are allowed:
NVARACTIVESPEAKERDETECTION_FLAG_SHOT_CHANGED: Indicates that the frame is a shot change.NVARACTIVESPEAKERDETECTION_FLAG_DETECT_SHOT_CHANGE: Enables automatic shot-change detection.NVARACTIVESPEAKERDETECTION_FLAG_FILTER_SILENT_TRACKS: Filters silent audio tracks out of the active audio list.NVARACTIVESPEAKERDETECTION_FLAG_ENABLE_VAD: Runs denoiser voice-activity detection on the supplied audio tracks and filters inactive tracks.NVARACTIVESPEAKERDETECTION_FLAG_ENABLE_VA_SMOOTHING_LOW: Enables low voice-activity smoothing.NVARACTIVESPEAKERDETECTION_FLAG_ENABLE_VA_SMOOTHING_HIGH: Enables high voice-activity smoothing.
NVARACTIVESPEAKERDETECTION_FLAG_ENABLE_VAD and NVARACTIVESPEAKERDETECTION_FLAG_FILTER_SILENT_TRACKS are mutually exclusive.
Use at most one voice-activity smoothing flag at a time.
When no active-audio filtering flag is set, ActiveAudioIDs is treated as authoritative, such as with diarization-driven input.
When denoiser VAD or silent-track filtering is enabled, ActiveAudioIDs is the candidate audio list that can be filtered by the SDK.
The NewShot input remains supported for backward compatibility. If both NewShot and Flags are set, NewShot takes precedence for shot-change behavior.
Table 3‑23: Input Properties for Active Speaker Detection
Property Name |
Value |
|---|---|
Image |
Input image in GPU memory with
Set by the user. |
AudioFrameData |
Input audio frame data containing audio samples for all tracks. Type: NvAR_AudioFrameData. The audio data should be synchronized with the input video frame and contain floating-point samples in the range [-1.0, 1.0]. Set by the user. |
ActiveAudioIDs |
Array of active audio track IDs. Type: NvAR_ActiveAudioIds. Without VAD or silent-track filtering, only listed tracks are processed. With filtering enabled, this is the candidate list that can be filtered by the SDK. Sample applications can derive this list from diarization JSON. Set by the user. |
NewShot |
Shot-change mode for the current stream:
Set by the user. |
Flush |
Flush mode for the current stream:
Set by the user. |
Table 3‑24: Output Properties for Active Speaker Detection
Property Name |
Value |
|---|---|
ActiveSpeakerTrackingData |
Output tracking data containing detected faces with speaker information. Type: NvAR_ActiveSpeakerTrackingData. Each tracked face includes the following:
To be allocated by the user. |
Ready |
Output ready status for the current:
The feature requires multiple frames to accumulate before producing valid output. |