# Google Cloud Video Intelligence v1 API - Class PersonDetectionConfig (3.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.4.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig)

    public sealed class PersonDetectionConfig : IMessage<PersonDetectionConfig>, IEquatable<PersonDetectionConfig>, IDeepCloneable<PersonDetectionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class PersonDetectionConfig.

Config for PERSON_DETECTION.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PersonDetectionConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PersonDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PersonDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PersonDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VideoIntelligence.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1)

## Assembly

Google.Cloud.VideoIntelligence.V1.dll

## Constructors

### PersonDetectionConfig()

    public PersonDetectionConfig()

### PersonDetectionConfig(PersonDetectionConfig)

    public PersonDetectionConfig(PersonDetectionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.PersonDetectionConfig` |

## Properties

### IncludeAttributes

    public bool IncludeAttributes { get; set; }

Whether to enable person attributes detection, such as cloth color (black,
blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
etc.
Ignored if 'include_bounding_boxes' is set to false.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IncludeBoundingBoxes

    public bool IncludeBoundingBoxes { get; set; }

Whether bounding boxes are included in the person detection annotation
output.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IncludePoseLandmarks

    public bool IncludePoseLandmarks { get; set; }

Whether to enable pose landmarks detection. Ignored if
'include_bounding_boxes' is set to false.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |