Skip to main content

ShelfManagement

This element will send alerts for restocking and planogram violations.

This module provides a pipeline element that will send alerts for restocking and planogram violations. This is a demonstration element and uses the first frame as a template for the restocking and planogram alerts.

Examples:

REST API:

WIP

Configuration File:

```yaml
source:
- address: videos/sd_london_station_sd.mp4
type: file
elements:
- name: infer
args:
model: bottle-detection
hw: gpu
score_threshold: 0.3
iou_threshold: 0.3
- name: shelf-management
```

ShelfManagement Objects

class ShelfManagement(Element)

This element sets alerts for restocking and planogram violations.

Attributes:

  • name str - The name of the element.

Examples:

```python
ele = ShelfManagement()
```

process

def process(meta: PipelineMetadata)

Sets alerts for restocking and planogram violations.

Arguments:

  • meta PipelineMetadata - The metadata to pass through.

Returns:

  • meta PipelineMetadata - The metadata.

Examples:

```python
ele = ShelfManagement()
meta = ele.process(meta)
```