# enums

Python API: `luxonis_ml.data.utils.enums`

## Classes

| Name | Description |
| --- | --- |
|
[`BucketStorage`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Underlying object storage for a bucket. |
|
[`BucketType`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Whether bucket storage is internal to Luxonis. |
|
[`COCOFormat`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Supported COCO directory layouts. |
|
[`ImageType`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Image type for image media. |
|
[`MediaType`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Individual file type. |
|
[`ParserIssue`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Parser issue categories reported during best-effort parsing. |
|
[`ParserIssueMessage`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Structured message describing a skipped parser item. |
|
[`UpdateMode`](https://docs.luxonis.com/software-v3/ai-inference/model-source/training/luxonis-ml/luxonis-ml-api-reference/data/utils/enums.md)
| Dataset media update mode. |

### class `BucketStorage`

```python
class BucketStorage(Enum)
```

Underlying object storage for a bucket.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `AZURE_BLOB` | `str` | Azure Blob Storage. |
| `GCS` | `str` | Google Cloud Storage. |
| `LOCAL` | `str` | Local filesystem storage. |
| `S3` | `str` | Amazon S3-compatible storage. |

### class `BucketType`

```python
class BucketType(Enum)
```

Whether bucket storage is internal to Luxonis.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `EXTERNAL` | `str` | User-provided bucket. |
| `INTERNAL` | `str` | Bucket managed by Luxonis. |

### class `COCOFormat`

```python
class COCOFormat(str, Enum)
```

Supported COCO directory layouts.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `FIFTYONE` | `str` | COCO layout exported by FiftyOne. |
| `ROBOFLOW` | `str` | COCO layout exported by Roboflow. |

### class `ImageType`

```python
class ImageType(Enum)
```

Image type for image media.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `COLOR` | `str` | Color image, typically 3 channels. |
| `DISPARITY` | `str` | Disparity or depth image. |
| `MONO` | `str` | Monochrome image with 1 channel. |

### class `MediaType`

```python
class MediaType(Enum)
```

Individual file type.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `IMAGE` | `str` | Image media. |
| `POINTCLOUD` | `str` | Point-cloud media. |
| `VIDEO` | `str` | Video media. |

### class `ParserIssue`

```python
class ParserIssue(Enum)
```

Parser issue categories reported during best-effort parsing.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `COCO_ISCROWD` | `str` | COCO annotation is marked with `iscrowd=1`. |
| `MISSING_IMAGE` | `str` | Annotation references an image that does not exist. |
| `MISSING_IMAGE_STEM` | `str` | Annotation image stem cannot be matched to an image file. |
| `NON_NUMERIC_ANNOTATION` | `str` | Annotation contains non-numeric values. |

### class `ParserIssueMessage`

```python
class ParserIssueMessage
```

Structured message describing a skipped parser item.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `annotation_id` | `str | int | None` | Optional annotation identifier. |
| `image` | `PathType | None` | Optional image path involved in the issue. |
| `parser_issue` | `ParserIssue` | Issue category. |
| `reason` | `str` | Human-readable reason. |
| `source` | `PathType | None` | Optional source annotation path. |

### class `UpdateMode`

```python
class UpdateMode(Enum)
```

Dataset media update mode.

Attributes

| Name | Type | Description |
| --- | --- | --- |
| `ALL` | `str` | Update all files. |
| `MISSING` | `str` | Update only missing files. |
