> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ResQ.Protocols.DetectionType

### [ResQ.Protocols](./ResQ.Protocols.md "ResQ.Protocols")

## DetectionType Enum

Defines types of detections that can be identified by drone sensors and AI systems.

```csharp theme={null}
public enum DetectionType
```

### Fields

<a name="ResQ.Protocols.DetectionType.Unknown" />

`Unknown` 0

Unknown or unclassified detection.

<a name="ResQ.Protocols.DetectionType.Person" />

`Person` 1

Human person detected.

<a name="ResQ.Protocols.DetectionType.Vehicle" />

`Vehicle` 2

Vehicle (car, truck, boat, etc.) detected.

<a name="ResQ.Protocols.DetectionType.Fire" />

`Fire` 3

Fire or flames detected.

<a name="ResQ.Protocols.DetectionType.Flood" />

`Flood` 4

Flood water or flooding detected.

<a name="ResQ.Protocols.DetectionType.Debris" />

`Debris` 5

Debris or rubble detected.

<a name="ResQ.Protocols.DetectionType.StructuralDamage" />

`StructuralDamage` 6

Structural damage to buildings or infrastructure.

<a name="ResQ.Protocols.DetectionType.Survivor" />

`Survivor` 7

Survivor detected (person in need of rescue).

### Example

```csharp theme={null}
// Check detection type
if (detection.Type == DetectionType.Person)
{
    await DispatchRescueTeam(detection.Location);
}
else if (detection.Type == DetectionType.Fire)
{
    await AlertFireDepartment(detection.Location);
}
```

### Remarks

These detection types represent the various objects, phenomena, and situations
that the ResQ AI detection system can identify from drone sensor data including
visual, thermal, and multi-spectral imagery.
